1 #ifndef OMTF_XMLConfigReader_H
2 #define OMTF_XMLConfigReader_H
9 #include "xercesc/util/XercesDefs.hpp"
10 #include "xercesc/dom/DOM.hpp"
20 namespace XERCES_CPP_NAMESPACE{
23 class XercesDOMParser;
51 unsigned int iProcessor=0,
52 bool readEta =
false);
60 std::unique_ptr<GoldenPattern>
buildGP(xercesc::DOMElement* aGPElement,
63 unsigned int aGPNumber=999);
69 std::vector<std::shared_ptr<GoldenPattern>>
aGPs;
void readLUT(l1t::LUT *lut, const L1TMuonOverlapParams &aConfig, const std::string &type)
std::vector< std::vector< int > > readEvent(unsigned int iEvent=0, unsigned int iProcessor=0, bool readEta=false)
std::vector< std::shared_ptr< GoldenPattern > > readPatterns(const L1TMuonOverlapParams &aConfig)
void readConfig(const std::string fName)
std::vector< std::shared_ptr< GoldenPattern > > aGPs
Cache with GPs read.
unsigned int getPatternsVersion() const
void setPatternsFile(const std::string &fName)
void setConfigFile(const std::string &fName)
void setEventsFile(const std::string &fName)
std::unique_ptr< GoldenPattern > buildGP(xercesc::DOMElement *aGPElement, const L1TMuonOverlapParams &aConfig, unsigned int index=0, unsigned int aGPNumber=999)