Go to the documentation of this file.
22 if (!theConfig.
exists(
"configXMLFile"))
27 if (!theConfig.
exists(
"patternsXMLFiles"))
30 for (
auto it : theConfig.
getParameter<std::vector<edm::ParameterSet> >(
"patternsXMLFiles")) {
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);
L1TMuonOverlapParams params
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
~L1TMuonOverlapParamsESProducer() override
unsigned fwVersion() const
void setChargeLUT(const l1t::LUT &lut)
void setPatternsFile(const std::string &fName)
void setPdfLUT(const l1t::LUT &lut)
std::unique_ptr< L1TMuonOverlapParams > ReturnType
void setFwVersion(unsigned fwVersion)
bool exists(std::string const ¶meterName) const
checks if a parameter exists
void setEtaLUT(const l1t::LUT &lut)
L1TMuonOverlapParamsESProducer(const edm::ParameterSet &)
void setPtLUT(const l1t::LUT &lut)
void readLUTs(std::vector< l1t::LUT * > luts, const L1TMuonOverlapParams &aConfig, const std::vector< std::string > &types)
bool readConnectionsXML(const XMLConfigReader &aReader)
Read Connections from single XML file.
void readConfig(const std::string fName)
void setConfigFile(const std::string &fName)
T getParameter(std::string const &) const
unsigned int getPatternsVersion() const
void setMeanDistPhiLUT(const l1t::LUT &lut)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
ReturnType produceParams(const L1TMuonOverlapParamsRcd &)
bool readPatternsXML(XMLConfigReader &aReader)
std::string fullPath() const