CMS 3D CMS Logo

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 
20 public:
21 
23 
24  static int readXML (const std::string& filename,
27 
28  static int writeXML (const std::string& filename,
29  const EcalCondHeader& header,
30  const EcalWeightSet& record);
31 
32 private:
33 
34  static std::string dumpXML(const EcalCondHeader& header,
35  const EcalWeightSet& record);
36 
37  static void write10x10(xercesc::DOMElement* node,const EcalWeightSet& record);
38  static void write3x10(xercesc::DOMElement* node,const EcalWeightSet& record);
39 
40 };
41 
42 #endif // __EcalWeightSetXMLTranslator_h_
static int readXML(const std::string &filename, EcalCondHeader &header, EcalWeightSet &record)
JetCorrectorParameters::Record record
Definition: classes.h:7
static int writeXML(const std::string &filename, const EcalCondHeader &header, const EcalWeightSet &record)
static std::string dumpXML(const EcalCondHeader &header, const EcalWeightSet &record)
static void write3x10(xercesc::DOMElement *node, const EcalWeightSet &record)
static void write10x10(xercesc::DOMElement *node, const EcalWeightSet &record)