37 typedef std::map<short, short, std::less<short> >
LUT;
45 int load_ext(std::vector<L1TMuonBarrelParams::LUTParams::extLUT>&,
unsigned short int,
unsigned short int );
91 bool configFromXML = iConfig.
getParameter<
bool>(
"configFromXML");
94 std::map<std::string, int> allInts;
95 std::map<std::string, bool> allBools;
96 std::map<std::string, std::vector<std::string> > allMasks;
98 allInts[
"PT_Assignment_nbits_Phi"] = iConfig.
getParameter<
int>(
"PT_Assignment_nbits_Phi");
99 allInts[
"PT_Assignment_nbits_PhiB"] = iConfig.
getParameter<
int>(
"PT_Assignment_nbits_PhiB");
100 allInts[
"PHI_Assignment_nbits_Phi"] = iConfig.
getParameter<
int>(
"PHI_Assignment_nbits_Phi");
101 allInts[
"PHI_Assignment_nbits_PhiB"] = iConfig.
getParameter<
int>(
"PHI_Assignment_nbits_PhiB");
102 allInts[
"Extrapolation_nbits_Phi"] = iConfig.
getParameter<
int>(
"Extrapolation_nbits_Phi");
103 allInts[
"Extrapolation_nbits_PhiB"] = iConfig.
getParameter<
int>(
"Extrapolation_nbits_PhiB");
104 allInts[
"BX_min"] = iConfig.
getParameter<
int>(
"BX_min");
105 allInts[
"BX_max"] = iConfig.
getParameter<
int>(
"BX_max");
106 allInts[
"Extrapolation_Filter"] = iConfig.
getParameter<
int>(
"Extrapolation_Filter");
107 allInts[
"OutOfTime_Filter_Window"] = iConfig.
getParameter<
int>(
"OutOfTime_Filter_Window");
108 allBools[
"OutOfTime_Filter"] = iConfig.
getParameter<
bool>(
"OutOfTime_Filter");
109 allBools[
"Open_LUTs"] = iConfig.
getParameter<
bool>(
"Open_LUTs");
110 allBools[
"EtaTrackFinder"] = iConfig.
getParameter<
bool>(
"EtaTrackFinder");
111 allBools[
"Extrapolation_21"] = iConfig.
getParameter<
bool>(
"Extrapolation_21");
112 allBools[
"configFromXML"] = iConfig.
getParameter<
bool>(
"configFromXML");
113 allBools[
"DisableNewAlgo"] = iConfig.
getParameter<
bool>(
"DisableNewAlgo");
115 allMasks[
"mask_phtf_st1"] = iConfig.
getParameter< std::vector <string> >(
"mask_phtf_st1");
116 allMasks[
"mask_phtf_st2"] = iConfig.
getParameter< std::vector <string> >(
"mask_phtf_st2");
117 allMasks[
"mask_phtf_st3"] = iConfig.
getParameter< std::vector <string> >(
"mask_phtf_st3");
118 allMasks[
"mask_phtf_st4"] = iConfig.
getParameter< std::vector <string> >(
"mask_phtf_st4");
120 allMasks[
"mask_ettf_st1"] = iConfig.
getParameter< std::vector <string> >(
"mask_ettf_st1");
121 allMasks[
"mask_ettf_st2"] = iConfig.
getParameter< std::vector <string> >(
"mask_ettf_st2");
122 allMasks[
"mask_ettf_st3"] = iConfig.
getParameter< std::vector <string> >(
"mask_ettf_st3");
235 cout<<
"Configuring BMTF Emulator from xml files.\n";
T getParameter(std::string const &) const
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
int getPtLutThreshold(int, std::vector< int > &) const
int load_phi(std::vector< LUT > &, unsigned short int, unsigned short int, std::string)
void configureSystemFromFiles(const char *hwCfgFile, const char *topCfgFile, const char *key)
L1TMuonBarrelParamsESProducer(const edm::ParameterSet &)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
int load_pt(std::vector< LUT > &, std::vector< int > &, unsigned short int, std::string)
std::map< short, short, std::less< short > > LUT
L1TMuonBarrelParamsHelper m_params_helper
~L1TMuonBarrelParamsESProducer() override
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)
ReturnType produce(const L1TMuonBarrelParamsRcd &)
std::string fullPath() const
void configFromDB(l1t::TriggerSystem &trgSys)
std::unique_ptr< L1TMuonBarrelParams > ReturnType
int load_ext(std::vector< L1TMuonBarrelParams::LUTParams::extLUT > &, unsigned short int, unsigned short int)