CMS 3D CMS Logo

EcalFloatCondObjectContainerXMLTranslator.h
Go to the documentation of this file.
1 
10 #ifndef __EcalFloatCondObjectContainterXMLTranslator_h_
11 #define __EcalFloatCondObjectContainterXMLTranslator_h_
12 
15 #include <string>
16 #include <vector>
17 
19 public:
21 
22  static std::vector<float> barrelfromXML(const std::string& filename);
23 
24  static std::vector<float> endcapfromXML(const std::string& filename);
25 
26  static int writeXML(const std::string& filename,
27  const EcalCondHeader& header,
29 
30  // dump the two flat arrays (hashed-indexed as in EBDetId, EEDetId) to XML
31  static std::string dumpXML(const EcalCondHeader& header, const std::vector<float>& eb, const std::vector<float>& ee);
32 
33 private:
34  // dump the CMSSW object container to XML
36 };
37 
38 #endif // __EcalFloatCondObjectContainerXMLTranslator_h_
static int writeXML(const std::string &filename, const EcalCondHeader &header, const EcalFloatCondObjectContainer &record)
static std::vector< float > barrelfromXML(const std::string &filename)
static int readXML(const std::string &filename, EcalCondHeader &header, EcalFloatCondObjectContainer &record)
static std::vector< float > endcapfromXML(const std::string &filename)
static std::string dumpXML(const EcalCondHeader &header, const std::vector< float > &eb, const std::vector< float > &ee)