Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:58:47

0001 #ifndef _HCALCONSTANTSXMLWRITER_H
0002 #define _HCALCONSTANTSXMLWRITER_H
0003 #include <memory>
0004 #include <map>
0005 #include <vector>
0006 // Xerces-C
0007 #include <xercesc/util/XMLString.hpp>
0008 #include <xercesc/dom/DOMElement.hpp>
0009 #include <xercesc/dom/DOMText.hpp>
0010 #include <xercesc/dom/DOMImplementation.hpp>
0011 #include <xercesc/dom/DOMImplementationRegistry.hpp>
0012 #include <xercesc/dom/DOMDocument.hpp>
0013 #include <xercesc/util/XMLString.hpp>
0014 
0015 #include <fstream>
0016 #include <iostream>
0017 
0018 class HcalConstantsXMLWriter {
0019 public:
0020   HcalConstantsXMLWriter();
0021   virtual ~HcalConstantsXMLWriter();
0022   void writeXML(std::string&,
0023                 const std::vector<int>&,
0024                 const std::vector<int>&,
0025                 const std::vector<int>&,
0026                 const std::vector<int>&,
0027                 const std::vector<float>&);
0028 
0029   void newCellLine(xercesc::DOMElement*, int, int, int, int, float);
0030 
0031 private:
0032   std::string hcalfileOut_;
0033   xercesc::DOMDocument* mDoc;
0034 };
0035 
0036 #endif