22 if (!theConfig.
exists(
"configXMLFile") )
return;
26 if ( !theConfig.
exists(
"patternsXMLFiles") )
return;
28 for(
auto it: theConfig.
getParameter<std::vector<edm::ParameterSet> >(
"patternsXMLFiles")){
43 for(
auto it: fileNames){
65 aReader->
readLUT(&chargeLUT,
"iCharge");
69 aReader->
readLUT(&etaLUT,
"iEta");
77 aReader->
readLUT(&meanDistPhiLUT,
"meanDistPhi");
81 aReader->
readLUT(&pdfLUT,
"pdf");
91 using namespace edm::es;
92 boost::shared_ptr<L1TMuonOverlapParams> aL1TMTFOverlapParams;
95 return aL1TMTFOverlapParams;
L1TMuonOverlapParams m_params
T getParameter(std::string const &) const
~L1TMuonOverlapParamsESProducer()
void setMeanDistPhiLUT(const l1t::LUT &lut)
void setEtaLUT(const l1t::LUT &lut)
bool exists(std::string const ¶meterName) const
checks if a parameter exists
void setChargeLUT(const l1t::LUT &lut)
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
void setPtLUT(const l1t::LUT &lut)
void configure(XMLConfigReader *aReader)
void readLUT(l1t::LUT *lut, const std::string &type)
void readConfig(const std::string fName)
ReturnType produce(const L1TMuonOverlapParamsRcd &)
void setPatternsFile(const std::string &fName)
void setConfigFile(const std::string &fName)
L1TMuonOverlapParamsESProducer(const edm::ParameterSet &)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
bool readConnectionsXML(XMLConfigReader *aReader)
Read Connections from single XML file.
boost::shared_ptr< L1TMuonOverlapParams > ReturnType
std::string fullPath() const
OMTFConfiguration * myOMTFConfig
void setPdfLUT(const l1t::LUT &lut)
bool readPatternsXML(XMLConfigReader *aReader)
Read Golden Patters from single XML file.