CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalWeightSetXMLTranslator.h
Go to the documentation of this file.
1 
10 #ifndef __EcalWeightSetXMLTranslator_h_
11 #define __EcalWeightSetXMLTranslator_h_
12 
13 
17 #include <xercesc/dom/DOMNode.hpp>
18 #include <xercesc/dom/DOMElement.hpp>
19 #include <string>
20 
21 
23 
24 public:
25 
27 
28  static int readXML (const std::string& filename,
29  EcalCondHeader& header,
31 
32  static int writeXML (const std::string& filename,
33  const EcalCondHeader& header,
34  const EcalWeightSet& record);
35 
36  static std::string dumpXML(const EcalCondHeader& header,
37  const EcalWeightSet& record);
38 
39 
40 private:
41 
42  static void write10x10(xercesc::DOMElement* node,const EcalWeightSet& record);
43  static void write3x10(xercesc::DOMElement* node,const EcalWeightSet& record);
44 
45 };
46 
47 
48 
49 #endif // __EcalWeightSetXMLTranslator_h_
50 
51 // Configure (x)emacs for this file ...
52 // Local Variables:
53 // mode:c++
54 // compile-command: "cd ..; scram b"
55 // End:
static int readXML(const std::string &filename, EcalCondHeader &header, EcalWeightSet &record)
JetCorrectorParameters::Record record
Definition: classes.h:7
tuple node
Definition: Node.py:50
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)