test
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 
11 #include <xercesc/dom/DOMNode.hpp>
12 #include <xercesc/dom/DOM.hpp>
13 #include <xercesc/dom/DOMCharacterData.hpp>
14 #include <xercesc/parsers/XercesDOMParser.hpp>
16 #include <xercesc/framework/LocalFileFormatTarget.hpp>
17 #include <xercesc/util/XMLUni.hpp>
18 #include <xercesc/util/XMLURL.hpp>
20 
21 
22 #include<iostream>
23 #include<string>
24 #include<vector>
25 #include<map>
26 
27 
29 
30 public:
33 
35 
36 virtual DetId parseCellEntry(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attribute)=0;
37 int getIntAttribute(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attribute, const std::string &attribute_name);
38 double getScalingFactor(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attribute);
39 double getFloatAttribute(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attribute, const std::string &attribute_name);
40 
41 private:
44 };
45 
46 #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:18
virtual DetId parseCellEntry(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attribute)=0
int getIntAttribute(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attribute, const std::string &attribute_name)