|
|
Go to the documentation of this file.
36 typedef std::map<short, short, std::less<short> >
LUT;
44 int load_ext(std::vector<L1TMuonBarrelParams::LUTParams::extLUT>&,
unsigned short int,
unsigned short int);
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";
std::map< short, short, std::less< short > > LUT
int load_ext(std::vector< L1TMuonBarrelParams::LUTParams::extLUT > &, unsigned short int, unsigned short int)
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
int load_phi(std::vector< LUT > &, unsigned short int, unsigned short int, std::string)
L1TMuonBarrelParamsESProducer(const edm::ParameterSet &)
int getPtLutThreshold(int, std::vector< int > &) const
void configureSystemFromFiles(const char *hwCfgFile, const char *topCfgFile, const char *key)
void configFromDB(l1t::TriggerSystem &trgSys)
L1TMuonBarrelParamsHelper m_params_helper
int load_pt(std::vector< LUT > &, std::vector< int > &, unsigned short int, std::string)
std::unique_ptr< L1TMuonBarrelParams > ReturnType
ReturnType produce(const L1TMuonBarrelParamsRcd &)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
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)
T getParameter(std::string const &) const
~L1TMuonBarrelParamsESProducer() override