22 if (!theConfig.
exists(
"configXMLFile"))
27 if (!theConfig.
exists(
"patternsXMLFiles"))
30 for (
const auto& it : theConfig.
getParameter<std::vector<edm::ParameterSet> >(
"patternsXMLFiles")) {
38 for (
const auto& it : fileNames) {
67 std::vector<l1t::LUT*> luts = {&chargeLUT, &etaLUT, &ptLUT, &meanDistPhiLUT, &pdfLUT};
68 std::vector<std::string>
types = {
"iCharge",
"iEta",
"iPt",
"meanDistPhi",
"pdf"};
83 return std::make_unique<L1TMuonOverlapParams>(
params);
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
void setMeanDistPhiLUT(const l1t::LUT &lut)
void setEtaLUT(const l1t::LUT &lut)
unsigned fwVersion() const
L1TMuonOverlapParams params
~L1TMuonOverlapParamsESProducer() override
bool exists(std::string const ¶meterName) const
checks if a parameter exists
void setChargeLUT(const l1t::LUT &lut)
ReturnType produceParams(const L1TMuonOverlapParamsRcd &)
bool readPatternsXML(XMLConfigReader &aReader)
void setPtLUT(const l1t::LUT &lut)
bool readConnectionsXML(const XMLConfigReader &aReader)
Read Connections from single XML file.
void readConfig(const std::string fName)
std::unique_ptr< L1TMuonOverlapParams > ReturnType
unsigned int getPatternsVersion() const
void setPatternsFile(const std::string &fName)
void setConfigFile(const std::string &fName)
L1TMuonOverlapParamsESProducer(const edm::ParameterSet &)
void readLUTs(std::vector< l1t::LUT * > luts, const L1TMuonOverlapParams &aConfig, const std::vector< std::string > &types)
T getParameter(std::string const &) const
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
std::string fullPath() const
void setFwVersion(unsigned fwVersion)
void setPdfLUT(const l1t::LUT &lut)