|
int | getPtLutThreshold (int, std::vector< int > &) const |
|
| L1TMuonBarrelParamsESProducer (const edm::ParameterSet &) |
|
int | load_ext (std::vector< L1TMuonBarrelParams::LUTParams::extLUT > &, unsigned short int, unsigned short int) |
|
int | load_phi (std::vector< LUT > &, unsigned short int, unsigned short int, std::string) |
|
int | load_pt (std::vector< LUT > &, std::vector< int > &, unsigned short int, std::string) |
|
ReturnType | produce (const L1TMuonBarrelParamsRcd &) |
|
| ~L1TMuonBarrelParamsESProducer () override |
|
| ESProducer () |
|
| ESProducer (const ESProducer &)=delete |
|
ESProxyIndex const * | getTokenIndices (unsigned int iIndex) const |
|
ESProducer const & | operator= (const ESProducer &)=delete |
|
template<typename Record > |
void | updateFromMayConsumes (unsigned int iIndex, const Record &iRecord) |
|
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) final |
|
| ~ESProducer ()(false) override |
|
| ESProxyFactoryProducer () |
|
| ESProxyFactoryProducer (const ESProxyFactoryProducer &)=delete |
|
const ESProxyFactoryProducer & | operator= (const ESProxyFactoryProducer &)=delete |
|
| ~ESProxyFactoryProducer () noexcept(false) override |
|
void | createKeyedProxies (EventSetupRecordKey const &key, unsigned int nConcurrentIOVs) |
|
| DataProxyProvider () |
|
| DataProxyProvider (const DataProxyProvider &)=delete |
|
const ComponentDescription & | description () const |
|
void | fillRecordsNotAllowingConcurrentIOVs (std::set< EventSetupRecordKey > &recordsNotAllowingConcurrentIOVs) const |
|
virtual void | initConcurrentIOVs (EventSetupRecordKey const &key, unsigned int nConcurrentIOVs) |
|
bool | isUsingRecord (const EventSetupRecordKey &key) const |
|
KeyedProxies & | keyedProxies (const EventSetupRecordKey &iRecordKey, unsigned int iovIndex=0) |
|
const DataProxyProvider & | operator= (const DataProxyProvider &)=delete |
|
void | setAppendToDataLabel (const edm::ParameterSet &) |
|
void | setDescription (const ComponentDescription &iDescription) |
|
std::set< EventSetupRecordKey > | usingRecords () const |
|
virtual | ~DataProxyProvider () noexcept(false) |
|
|
static void | prevalidate (ConfigurationDescriptions &) |
|
using | EventSetupRecordKey = eventsetup::EventSetupRecordKey |
|
using | KeyedProxiesVector = std::vector< std::pair< DataKey, std::shared_ptr< DataProxy >>> |
|
template<typename T > |
auto | setWhatProduced (T *iThis, const es::Label &iLabel={}) |
|
template<typename T > |
auto | setWhatProduced (T *iThis, const char *iLabel) |
|
template<typename T > |
auto | setWhatProduced (T *iThis, const std::string &iLabel) |
|
template<typename T , typename TDecorator > |
auto | setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel={}) |
|
template<typename T , typename TReturn , typename TRecord > |
auto | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const es::Label &iLabel={}) |
|
template<typename T , typename TReturn , typename TRecord , typename TArg > |
ESConsumesCollectorT< TRecord > | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel={}) |
|
template<class TFactory > |
void | registerFactory (std::unique_ptr< TFactory > iFactory, const std::string &iLabel=std::string()) |
|
virtual void | registerFactoryWithKey (const EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ProxyFactoryBase > iFactory, const std::string &iLabel=std::string()) |
|
KeyedProxiesVector | registerProxies (const EventSetupRecordKey &, unsigned int iovIndex) override |
|
template<class T > |
void | usingRecord () |
|
void | usingRecordWithKey (const EventSetupRecordKey &key) |
|
L1TMuonBarrelParamsESProducer::L1TMuonBarrelParamsESProducer |
( |
const edm::ParameterSet & |
iConfig | ) |
|
if configDB
Definition at line 67 of file L1TMuonBarrelParamsESProducer.cc.
References L1TMuonBarrelParamsHelper::configFromDB(), L1TMuonBarrelParamsHelper::configFromPy(), fakeBmtfParams_cff::configFromXML, l1t::TriggerSystem::configureSystemFromFiles(), gather_cfg::cout, edm::FileInPath::fullPath(), amcDumpToRaw_cfi::fwVersion, edm::ParameterSet::getParameter(), fakeGmtParams_cff::hwXmlFile, m_params_helper, edm::ESProducer::setWhatProduced(), AlCaHLTBitMon_QueryRunRegistry::string, fakeGmtParams_cff::topCfgXmlFile, and fakeGmtParams_cff::xmlCfgKey.
93 std::map<std::string, int> allInts;
94 std::map<std::string, bool> allBools;
95 std::map<std::string, std::vector<std::string> > allMasks;
97 allInts[
"PT_Assignment_nbits_Phi"] = iConfig.
getParameter<
int>(
"PT_Assignment_nbits_Phi");
98 allInts[
"PT_Assignment_nbits_PhiB"] = iConfig.
getParameter<
int>(
"PT_Assignment_nbits_PhiB");
99 allInts[
"PHI_Assignment_nbits_Phi"] = iConfig.
getParameter<
int>(
"PHI_Assignment_nbits_Phi");
100 allInts[
"PHI_Assignment_nbits_PhiB"] = iConfig.
getParameter<
int>(
"PHI_Assignment_nbits_PhiB");
101 allInts[
"Extrapolation_nbits_Phi"] = iConfig.
getParameter<
int>(
"Extrapolation_nbits_Phi");
102 allInts[
"Extrapolation_nbits_PhiB"] = iConfig.
getParameter<
int>(
"Extrapolation_nbits_PhiB");
103 allInts[
"BX_min"] = iConfig.
getParameter<
int>(
"BX_min");
104 allInts[
"BX_max"] = iConfig.
getParameter<
int>(
"BX_max");
105 allInts[
"Extrapolation_Filter"] = iConfig.
getParameter<
int>(
"Extrapolation_Filter");
106 allInts[
"OutOfTime_Filter_Window"] = iConfig.
getParameter<
int>(
"OutOfTime_Filter_Window");
107 allBools[
"OutOfTime_Filter"] = iConfig.
getParameter<
bool>(
"OutOfTime_Filter");
108 allBools[
"Open_LUTs"] = iConfig.
getParameter<
bool>(
"Open_LUTs");
109 allBools[
"EtaTrackFinder"] = iConfig.
getParameter<
bool>(
"EtaTrackFinder");
110 allBools[
"Extrapolation_21"] = iConfig.
getParameter<
bool>(
"Extrapolation_21");
111 allBools[
"configFromXML"] = iConfig.
getParameter<
bool>(
"configFromXML");
112 allBools[
"DisableNewAlgo"] = iConfig.
getParameter<
bool>(
"DisableNewAlgo");
114 allMasks[
"mask_phtf_st1"] = iConfig.
getParameter<std::vector<string> >(
"mask_phtf_st1");
115 allMasks[
"mask_phtf_st2"] = iConfig.
getParameter<std::vector<string> >(
"mask_phtf_st2");
116 allMasks[
"mask_phtf_st3"] = iConfig.
getParameter<std::vector<string> >(
"mask_phtf_st3");
117 allMasks[
"mask_phtf_st4"] = iConfig.
getParameter<std::vector<string> >(
"mask_phtf_st4");
119 allMasks[
"mask_ettf_st1"] = iConfig.
getParameter<std::vector<string> >(
"mask_ettf_st1");
120 allMasks[
"mask_ettf_st2"] = iConfig.
getParameter<std::vector<string> >(
"mask_ettf_st2");
121 allMasks[
"mask_ettf_st3"] = iConfig.
getParameter<std::vector<string> >(
"mask_ettf_st3");
234 cout <<
"Configuring BMTF Emulator from xml files.\n";
T getParameter(std::string const &) const
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
void configureSystemFromFiles(const char *hwCfgFile, const char *topCfgFile, const char *key)
L1TMuonBarrelParamsHelper m_params_helper
void configFromPy(std::map< std::string, int > &allInts, std::map< std::string, bool > &allBools, std::map< std::string, std::vector< std::string > > allMasks, unsigned int fwVersion, const std::string &AssLUTpath)
void configFromDB(l1t::TriggerSystem &trgSys)