1 #ifndef OMTF_XMLConfigReader_H
2 #define OMTF_XMLConfigReader_H
8 #include "xercesc/util/XercesDefs.hpp"
9 #include "xercesc/dom/DOM.hpp"
19 namespace XERCES_CPP_NAMESPACE{
22 class XercesDOMParser;
49 unsigned int iProcessor=0,
50 bool readEta =
false);
59 unsigned int index=0);
62 xercesc::DOMDocument*
doc;
65 std::vector<GoldenPattern*>
aGPs;
GoldenPattern * buildGP(xercesc::DOMElement *aGPElement, unsigned int index=0)
xercesc::DOMDocument * doc
OMTFConfiguration * m_omtf_config
std::vector< std::vector< int > > readEvent(unsigned int iEvent=0, unsigned int iProcessor=0, bool readEta=false)
XMLConfigReader(OMTFConfiguration *omtf_config)
void readLUT(l1t::LUT *lut, const std::string &type)
void readConfig(const std::string fName)
void setPatternsFile(const std::string &fName)
xercesc::XercesDOMParser * parser
void setConfigFile(const std::string &fName)
void setEventsFile(const std::string &fName)
std::vector< GoldenPattern * > aGPs
Cache with GPs read.
std::vector< GoldenPattern * > readPatterns()