1 #ifndef MiscalibReaderFromXML_H
2 #define MiscalibReaderFromXML_H
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>
39 int getIntAttribute(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attribute,
const std::string &attribute_name);
41 double getFloatAttribute(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attribute,
const std::string &attribute_name);
virtual ~MiscalibReaderFromXML()
CaloMiscalibMap & caloMap_
bool parseXMLMiscalibFile(std::string configFile)
MiscalibReaderFromXML(CaloMiscalibMap &)
static int s_numberOfInstances
double getScalingFactor(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attribute)
double getFloatAttribute(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attribute, const std::string &attribute_name)
virtual DetId parseCellEntry(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attribute)=0
int getIntAttribute(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attribute, const std::string &attribute_name)