Go to the documentation of this file. 1 #ifndef OMTF_XMLConfigReader_H
2 #define OMTF_XMLConfigReader_H
9 #include "xercesc/util/XercesDefs.hpp"
10 #include "xercesc/dom/DOM.hpp"
22 class XercesDOMParser;
41 void readLUTs(std::vector<l1t::LUT *> luts,
43 const std::vector<std::string> &
types);
49 std::vector<std::vector<int>>
readEvent(
unsigned int iEvent = 0,
unsigned int iProcessor = 0,
bool readEta =
false);
56 std::unique_ptr<GoldenPattern>
buildGP(xercesc::DOMElement *aGPElement,
58 unsigned int index = 0,
59 unsigned int aGPNumber = 999);
65 std::vector<std::shared_ptr<GoldenPattern>>
aGPs;
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 setPatternsFile(const std::string &fName)
void readLUTs(std::vector< l1t::LUT * > luts, const L1TMuonOverlapParams &aConfig, const std::vector< std::string > &types)
void readConfig(const std::string fName)
void setConfigFile(const std::string &fName)
unsigned int getPatternsVersion() const
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)
std::vector< std::shared_ptr< GoldenPattern > > aGPs
Cache with GPs read.