CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MiscalibReaderFromXML.h
Go to the documentation of this file.
1 #ifndef MiscalibReaderFromXML_H
2 #define MiscalibReaderFromXML_H
3 
13 #include <xercesc/dom/DOMNode.hpp>
14 #include <xercesc/dom/DOM.hpp>
15 #include <xercesc/dom/DOMCharacterData.hpp>
16 #include <xercesc/parsers/XercesDOMParser.hpp>
17 #include <xercesc/util/PlatformUtils.hpp>
18 #include <xercesc/framework/LocalFileFormatTarget.hpp>
19 #include <xercesc/util/XMLUni.hpp>
20 #include <xercesc/util/XMLURL.hpp>
22 
23 
24 #include<iostream>
25 #include<string>
26 #include<vector>
27 #include<map>
28 
29 
31 
32 public:
35 
37 
38 virtual DetId parseCellEntry(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attribute)=0;
39 int getIntAttribute(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attribute, const std::string &attribute_name);
40 double getScalingFactor(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attribute);
41 double getFloatAttribute(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attribute, const std::string &attribute_name);
42 
43 private:
46 };
47 
48 #endif
CaloMiscalibMap & caloMap_
bool parseXMLMiscalibFile(std::string configFile)
MiscalibReaderFromXML(CaloMiscalibMap &)
double getScalingFactor(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attribute)
double getFloatAttribute(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attribute, const std::string &attribute_name)
Definition: DetId.h:20
virtual DetId parseCellEntry(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attribute)=0
int getIntAttribute(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attribute, const std::string &attribute_name)