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);
47 unsigned int getPatternsVersion()
const;
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::unique_ptr< edm::ParameterSet > readConfig(std::string const &config, int argc, char *argv[])
same, but with arguments
std::vector< std::shared_ptr< GoldenPattern > > aGPs
Cache with GPs read.
void setPatternsFile(const std::string &fName)
void setConfigFile(const std::string &fName)
void setEventsFile(const std::string &fName)