CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
EcalWeightSetXMLTranslator.h
Go to the documentation of this file.
1 
10 #ifndef __EcalWeightSetXMLTranslator_h_
11 #define __EcalWeightSetXMLTranslator_h_
12 
15 #include <xercesc/dom/DOMElement.hpp>
16 #include <string>
17 
19 public:
21 
22  static int readXML(const std::string& filename, EcalCondHeader& header, EcalWeightSet& record);
23 
24  static int writeXML(const std::string& filename, const EcalCondHeader& header, const EcalWeightSet& record);
25 
26 private:
27  static std::string dumpXML(const EcalCondHeader& header, const EcalWeightSet& record);
28 
29  static void write10x10(xercesc::DOMElement* node, const EcalWeightSet& record);
30  static void write3x10(xercesc::DOMElement* node, const EcalWeightSet& record);
31 };
32 
33 #endif // __EcalWeightSetXMLTranslator_h_
static int readXML(const std::string &filename, EcalCondHeader &header, EcalWeightSet &record)
static int writeXML(const std::string &filename, const EcalCondHeader &header, const EcalWeightSet &record)
static std::string dumpXML(const EcalCondHeader &header, const EcalWeightSet &record)
tuple filename
Definition: lut2db_cfg.py:20
static void write3x10(xercesc::DOMElement *node, const EcalWeightSet &record)
static void write10x10(xercesc::DOMElement *node, const EcalWeightSet &record)