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 
22 static const char CVSId__EcalWeightSetXMLTranslator[] =
23 "$Id: EcalWeightSetXMLTranslator.h,v 1.1 2008/11/14 15:46:05 argiro Exp $";
24 
25 
26 
28 
29 public:
30 
32 
33  static int readXML (const std::string& filename,
34  EcalCondHeader& header,
36 
37  static int writeXML (const std::string& filename,
38  const EcalCondHeader& header,
39  const EcalWeightSet& record);
40 
41  static std::string dumpXML(const EcalCondHeader& header,
42  const EcalWeightSet& record);
43 
44 
45 private:
46 
47  static void write10x10(xercesc::DOMElement* node,const EcalWeightSet& record);
48  static void write3x10(xercesc::DOMElement* node,const EcalWeightSet& record);
49 
50 };
51 
52 
53 
54 #endif // __EcalWeightSetXMLTranslator_h_
55 
56 // Configure (x)emacs for this file ...
57 // Local Variables:
58 // mode:c++
59 // compile-command: "cd ..; scram b"
60 // End:
static int readXML(const std::string &filename, EcalCondHeader &header, EcalWeightSet &record)
static const char CVSId__EcalWeightSetXMLTranslator[]
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)