22 if (!theConfig.
exists(
"configXMLFile") )
return;
26 if (!theConfig.
exists(
"patternsXMLFiles") )
return;
28 for(
auto it: theConfig.
getParameter<std::vector<edm::ParameterSet> >(
"patternsXMLFiles")){
36 for(
auto it: fileNames){
68 std::vector<l1t::LUT*> luts={ &chargeLUT, &etaLUT, &ptLUT, &meanDistPhiLUT, &pdfLUT};
69 std::vector<std::string>
types= {
"iCharge",
"iEta",
"iPt",
"meanDistPhi",
"pdf"};
87 return std::make_shared<L1TMuonOverlapParams>(
params);
T getParameter(std::string const &) const
~L1TMuonOverlapParamsESProducer()
void setMeanDistPhiLUT(const l1t::LUT &lut)
void setEtaLUT(const l1t::LUT &lut)
unsigned fwVersion() const
L1TMuonOverlapParams params
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 setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
void setPtLUT(const l1t::LUT &lut)
bool readConnectionsXML(const XMLConfigReader &aReader)
Read Connections from single XML file.
std::shared_ptr< L1TMuonOverlapParams > ReturnType
void readConfig(const std::string fName)
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)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
std::string fullPath() const
void setFwVersion(unsigned fwVersion)
void setPdfLUT(const l1t::LUT &lut)