CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Attributes
L1TMuonBarrelParamsESProducer Class Reference
Inheritance diagram for L1TMuonBarrelParamsESProducer:
edm::ESProducer edm::ESProxyFactoryProducer edm::eventsetup::DataProxyProvider

Public Types

typedef std::shared_ptr< L1TMuonBarrelParamsReturnType
 
- Public Types inherited from edm::eventsetup::DataProxyProvider
typedef std::vector< std::pair< DataKey, edm::propagate_const< std::shared_ptr< DataProxy > > > > KeyedProxies
 
typedef std::vector< EventSetupRecordKeyKeys
 
typedef std::map< EventSetupRecordKey, KeyedProxiesRecordProxies
 

Public Member Functions

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 ()
 
- Public Member Functions inherited from edm::ESProducer
 ESProducer ()
 
 ~ESProducer ()(false) override
 
- Public Member Functions inherited from edm::ESProxyFactoryProducer
 ESProxyFactoryProducer ()
 
void newInterval (const eventsetup::EventSetupRecordKey &iRecordType, const ValidityInterval &iInterval) override
 overrides DataProxyProvider method More...
 
 ~ESProxyFactoryProducer () noexcept(false) override
 
- Public Member Functions inherited from edm::eventsetup::DataProxyProvider
 DataProxyProvider ()
 
const ComponentDescriptiondescription () const
 
bool isUsingRecord (const EventSetupRecordKey &) const
 
const KeyedProxieskeyedProxies (const EventSetupRecordKey &iRecordKey) const
 
void resetProxies (const EventSetupRecordKey &iRecordType)
 
void resetProxiesIfTransient (const EventSetupRecordKey &iRecordType)
 
void setAppendToDataLabel (const edm::ParameterSet &)
 
void setDescription (const ComponentDescription &iDescription)
 
std::set< EventSetupRecordKeyusingRecords () const
 
virtual ~DataProxyProvider () noexcept(false)
 

Private Attributes

L1TMuonBarrelParamsHelper m_params_helper
 

Additional Inherited Members

- Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider
static void prevalidate (ConfigurationDescriptions &)
 
- Protected Member Functions inherited from edm::ESProducer
template<typename T >
void setWhatProduced (T *iThis, const es::Label &iLabel=es::Label())
 
template<typename T >
void setWhatProduced (T *iThis, const char *iLabel)
 
template<typename T >
void setWhatProduced (T *iThis, const std::string &iLabel)
 
template<typename T , typename TDecorator >
void setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel=es::Label())
 
template<typename T , typename TReturn , typename TRecord >
void setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const es::Label &iLabel=es::Label())
 
template<typename T , typename TReturn , typename TRecord , typename TArg >
void setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel=es::Label())
 
- Protected Member Functions inherited from edm::ESProxyFactoryProducer
template<class TFactory >
void registerFactory (std::unique_ptr< TFactory > iFactory, const std::string &iLabel=std::string())
 
virtual void registerFactoryWithKey (const eventsetup::EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ProxyFactoryBase > iFactory, const std::string &iLabel=std::string())
 
void registerProxies (const eventsetup::EventSetupRecordKey &iRecord, KeyedProxies &aProxyList) override
 override DataProxyProvider method More...
 
- Protected Member Functions inherited from edm::eventsetup::DataProxyProvider
void eraseAll (const EventSetupRecordKey &iRecordKey)
 deletes all the Proxies in aStream More...
 
void invalidateProxies (const EventSetupRecordKey &iRecordKey)
 
template<class T >
void usingRecord ()
 
void usingRecordWithKey (const EventSetupRecordKey &)
 

Detailed Description

Definition at line 39 of file L1TMuonBarrelParamsESProducer.cc.

Member Typedef Documentation

Definition at line 48 of file L1TMuonBarrelParamsESProducer.cc.

Constructor & Destructor Documentation

L1TMuonBarrelParamsESProducer::L1TMuonBarrelParamsESProducer ( const edm::ParameterSet iConfig)

if configDB

Definition at line 67 of file L1TMuonBarrelParamsESProducer.cc.

References L1TMuonBarrelParamsHelper::configFromDB(), L1TMuonBarrelParamsHelper::configFromPy(), l1t::TriggerSystem::configureSystemFromFiles(), gather_cfg::cout, edm::FileInPath::fullPath(), hgcalDigitizer_cfi::fwVersion, edm::ParameterSet::getParameter(), m_params_helper, edm::ESProducer::setWhatProduced(), and AlCaHLTBitMon_QueryRunRegistry::string.

68 {
69  //the following line is needed to tell the framework what
70  // data is being produced
71  setWhatProduced(this);
72  // Firmware version
73  unsigned fwVersion = iConfig.getParameter<unsigned>("fwVersion");
74  std::string AssLUTpath = iConfig.getParameter<std::string>("AssLUTPath");
75  //m_params.setAssLUTPath(AssLUTpath);
76 
77  // int PT_Assignment_nbits_Phi = iConfig.getParameter<int>("PT_Assignment_nbits_Phi");
78  // int PT_Assignment_nbits_PhiB = iConfig.getParameter<int>("PT_Assignment_nbits_PhiB");
79  // int PHI_Assignment_nbits_Phi = iConfig.getParameter<int>("PHI_Assignment_nbits_Phi");
80  // int PHI_Assignment_nbits_PhiB = iConfig.getParameter<int>("PHI_Assignment_nbits_PhiB");
81  // int Extrapolation_nbits_Phi = iConfig.getParameter<int>("Extrapolation_nbits_Phi");
82  // int Extrapolation_nbits_PhiB = iConfig.getParameter<int>("Extrapolation_nbits_PhiB");
83  // int BX_min = iConfig.getParameter<int>("BX_min");
84  // int BX_max = iConfig.getParameter<int>("BX_max");
85  // int Extrapolation_Filter = iConfig.getParameter<int>("Extrapolation_Filter");
86  // int OutOfTime_Filter_Window = iConfig.getParameter<int>("OutOfTime_Filter_Window");
87  // bool OutOfTime_Filter = iConfig.getParameter<bool>("OutOfTime_Filter");
88  // bool Open_LUTs = iConfig.getParameter<bool>("Open_LUTs");
89  // bool EtaTrackFinder = iConfig.getParameter<bool>("EtaTrackFinder");
90  // bool Extrapolation_21 = iConfig.getParameter<bool>("Extrapolation_21");
91  bool configFromXML = iConfig.getParameter<bool>("configFromXML");
92  // bool DisableNewAlgo = iConfig.getParameter<bool>("DisableNewAlgo");
93 
94  std::map<std::string, int> allInts;
95  std::map<std::string, bool> allBools;
96  std::map<std::string, std::vector<std::string> > allMasks;
97 
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");
114 
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");
119 
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");
123 
124 /*
125  m_params.set_PT_Assignment_nbits_Phi(PT_Assignment_nbits_Phi);
126  m_params.set_PT_Assignment_nbits_PhiB(PT_Assignment_nbits_PhiB);
127  m_params.set_PHI_Assignment_nbits_Phi(PHI_Assignment_nbits_Phi);
128  m_params.set_PHI_Assignment_nbits_PhiB(PHI_Assignment_nbits_PhiB);
129  m_params.set_Extrapolation_nbits_Phi(Extrapolation_nbits_Phi);
130  m_params.set_Extrapolation_nbits_PhiB(Extrapolation_nbits_PhiB);
131  m_params.set_BX_min(BX_min);
132  m_params.set_BX_max(BX_max);
133  m_params.set_Extrapolation_Filter(Extrapolation_Filter);
134  m_params.set_OutOfTime_Filter_Window(OutOfTime_Filter_Window);
135  m_params.set_OutOfTime_Filter(OutOfTime_Filter);
136  m_params.set_Open_LUTs(Open_LUTs);
137  m_params.set_EtaTrackFinder(EtaTrackFinder);
138  m_params.set_Extrapolation_21(Extrapolation_21);
139  m_params.setFwVersion(fwVersion);
140  m_params.set_DisableNewAlgo(DisableNewAlgo);
141 
142 
144  std::vector<LUT> pta_lut(0); pta_lut.reserve(19);
145  std::vector<int> pta_threshold(6); pta_threshold.reserve(9);
146  if ( load_pt(pta_lut,pta_threshold, PT_Assignment_nbits_Phi, AssLUTpath) != 0 ) {
147  cout << "Can not open files to load pt-assignment look-up tables for L1TMuonBarrelTrackProducer!" << endl;
148  }
149  m_params.setpta_lut(pta_lut);
150  m_params.setpta_threshold(pta_threshold);
151 
153  std::vector<LUT> phi_lut(0); phi_lut.reserve(2);
154  if ( load_phi(phi_lut, PHI_Assignment_nbits_Phi, PHI_Assignment_nbits_PhiB, AssLUTpath) != 0 ) {
155  cout << "Can not open files to load phi-assignment look-up tables for L1TMuonBarrelTrackProducer!" << endl;
156  }
157  m_params.setphi_lut(phi_lut);
158 
159 
160 
161 
162  m_params.l1mudttfparams.reset();
163 
164  std::vector <std::string> mask_phtf_st1 = iConfig.getParameter< std::vector <string> >("mask_phtf_st1");
165  std::vector <std::string> mask_phtf_st2 = iConfig.getParameter< std::vector <string> >("mask_phtf_st2");
166  std::vector <std::string> mask_phtf_st3 = iConfig.getParameter< std::vector <string> >("mask_phtf_st3");
167  std::vector <std::string> mask_phtf_st4 = iConfig.getParameter< std::vector <string> >("mask_phtf_st4");
168 
169  std::vector <std::string> mask_ettf_st1 = iConfig.getParameter< std::vector <string> >("mask_ettf_st1");
170  std::vector <std::string> mask_ettf_st2 = iConfig.getParameter< std::vector <string> >("mask_ettf_st2");
171  std::vector <std::string> mask_ettf_st3 = iConfig.getParameter< std::vector <string> >("mask_ettf_st3");
172 
173  for( int wh=-3; wh<4; wh++ ) {
174  int sec = 0;
175  for(char& c : mask_phtf_st1[wh+3]) {
176  int mask = c - '0';
177  m_params.l1mudttfmasks.set_inrec_chdis_st1(wh,sec,mask);
178  sec++;
179  }
180  sec = 0;
181  for(char& c : mask_phtf_st2[wh+3]) {
182  int mask = c - '0';
183  m_params.l1mudttfmasks.set_inrec_chdis_st2(wh,sec,mask);
184  sec++;
185  }
186  sec = 0;
187  for(char& c : mask_phtf_st3[wh+3]) {
188  int mask = c - '0';
189  m_params.l1mudttfmasks.set_inrec_chdis_st3(wh,sec,mask);
190  sec++;
191  }
192  sec = 0;
193  for(char& c : mask_phtf_st4[wh+3]) {
194  int mask = c - '0';
195  m_params.l1mudttfmasks.set_inrec_chdis_st4(wh,sec,mask);
196  sec++;
197  }
198  sec = 0;
199  for(char& c : mask_ettf_st1[wh+3]) {
200  int mask = c - '0';
201  m_params.l1mudttfmasks.set_etsoc_chdis_st1(wh,sec,mask);
202  sec++;
203  }
204  sec = 0;
205  for(char& c : mask_ettf_st2[wh+3]) {
206  int mask = c - '0';
207  m_params.l1mudttfmasks.set_etsoc_chdis_st2(wh,sec,mask);
208  sec++;
209  }
210  sec = 0;
211  for(char& c : mask_ettf_st3[wh+3]) {
212  int mask = c - '0';
213  m_params.l1mudttfmasks.set_etsoc_chdis_st3(wh,sec,mask);
214  //Not used in BMTF - mask
215  m_params.l1mudttfmasks.set_inrec_chdis_csc(wh,sec,true);
216  sec++;
217  }
218 
219  }
220 
221 
223  std::vector<L1TMuonBarrelParams::LUTParams::extLUT> ext_lut(0); ext_lut.reserve(12);
224  if ( load_ext(ext_lut, PHI_Assignment_nbits_Phi, PHI_Assignment_nbits_PhiB) != 0 ) {
225  cout << "Can not open files to load extrapolation look-up tables for L1TMuonBarrelTrackProducer!" << endl;
226  }
227  m_params.setext_lut(ext_lut);
228 
229  //m_params.l1mudttfextlut.load();
230 
231  */
232 
233  m_params_helper.configFromPy(allInts, allBools, allMasks, fwVersion, AssLUTpath);
234  if(configFromXML){
235  cout<<"Configuring BMTF Emulator from xml files.\n";
236  edm::FileInPath hwXmlFile(iConfig.getParameter<std::string>("hwXmlFile"));
237  edm::FileInPath topCfgXmlFile(iConfig.getParameter<std::string>("topCfgXmlFile"));
238  std::string xmlCfgKey = iConfig.getParameter<std::string>("xmlCfgKey");
239 
240  l1t::TriggerSystem trgSys;
241  trgSys.configureSystemFromFiles(hwXmlFile.fullPath().c_str(),topCfgXmlFile.fullPath().c_str(),xmlCfgKey.c_str());
242 
243  /* std::map<std::string, std::string> procRole = trgSys.getProcRole();
244 
245  for(auto it_proc=procRole.begin(); it_proc!=procRole.end(); it_proc++ ){
246 
247  std::string procId = it_proc->first;
248 
249  std::map<std::string, l1t::Setting> settings = trgSys.getSettings(procId);
250  std::vector<l1t::TableRow> tRow = settings["regTable"].getTableRows();
251  for(auto it=tRow.begin(); it!=tRow.end(); it++)
252  {
253  if (it->getRowValue<std::string>("register_path").find("open_lut") != std::string::npos){
254  //std::cout << "Value is: " << it->getRowValue<bool>("register_value") << std::endl;
255  m_params.set_Open_LUTs(it->getRowValue<bool>("register_value"));
256  }
257  if (it->getRowValue<std::string>("register_path").find("sel_21") != std::string::npos){
258  //std::cout << "Value is: " << it->getRowValue<bool>("register_value") << std::endl;
259  m_params.set_Extrapolation_21(it->getRowValue<bool>("register_value"));
260  }
261 
262  if (it->getRowValue<std::string>("register_path").find("dis_newalgo") != std::string::npos){
263  //std::cout << "Value is: " << it->getRowValue<int>("register_value") << std::endl;
264  //int fwv = (it->getRowValue<int>("register_value")==1) ? 1 : 2;
265  //m_params.setFwVersion(fwv);
266  bool disnewalgo = (it->getRowValue<int>("register_value")==1);
267  m_params.set_DisableNewAlgo(disnewalgo);
268  }
269 
270  string masks[5] = {"mask_ctrl_N2", "mask_ctrl_N1", "mask_ctrl_0", "mask_ctrl_P1", "mask_ctrl_P2"};
271 
272  for(int m=0; m<5; m++){
273 
274  if (it->getRowValue<std::string>("register_path").find(masks[m]) != std::string::npos){
275  string mask_ctrl = it->getRowValue<string>("register_value");
276  const char *hexstring = mask_ctrl.c_str();
278  int mask = (int)strtol((hexstring+7), NULL, 16);
279  int mask_all = (int)strtol((hexstring), NULL, 16);
281  if(!( mask_all==0x111111 || mask_all==0x222222 || mask_all==0x333333 || mask_all==0x444444 ||
282  mask_all==0x555555 || mask_all==0x666666 || mask_all==0x777777) )
283  cerr<<"BMTF: Cannot re-emulate properly. Individual link masking cannot be handled."<<endl;
284 
285  if((mask&1)>0) {
286  for(int sec=0; sec<12; sec++){
287  if(masks[m]=="mask_ctrl_N2"){
288  m_params.l1mudttfmasks.set_inrec_chdis_st1(-3,sec,true);
289  m_params.l1mudttfmasks.set_etsoc_chdis_st1(-3,sec,true);
290  }
291  if(masks[m]=="mask_ctrl_N1"){
292  m_params.l1mudttfmasks.set_inrec_chdis_st1(-2,sec,true);
293  m_params.l1mudttfmasks.set_etsoc_chdis_st1(-2,sec,true);
294  }
295 
296  if(masks[m]=="mask_ctrl_0"){
297  m_params.l1mudttfmasks.set_inrec_chdis_st1(-1,sec,true);
298  m_params.l1mudttfmasks.set_inrec_chdis_st1(1,sec,true);
299  m_params.l1mudttfmasks.set_etsoc_chdis_st1(-1,sec,true);
300  m_params.l1mudttfmasks.set_etsoc_chdis_st1(1,sec,true);
301  }
302  if(masks[m]=="mask_ctrl_P1"){
303  m_params.l1mudttfmasks.set_inrec_chdis_st1(2,sec,true);
304  m_params.l1mudttfmasks.set_etsoc_chdis_st1(2,sec,true);
305  }
306  if(masks[m]=="mask_ctrl_P2"){
307  m_params.l1mudttfmasks.set_inrec_chdis_st1(3,sec,true);
308  m_params.l1mudttfmasks.set_etsoc_chdis_st1(3,sec,true);
309  }
310  }
311 
312  }
313 
314  if((mask&2)>0) {
315  for(int sec=0; sec<12; sec++){
316  if(masks[m]=="mask_ctrl_N2"){
317  m_params.l1mudttfmasks.set_inrec_chdis_st2(-3,sec,true);
318  m_params.l1mudttfmasks.set_etsoc_chdis_st2(-3,sec,true);
319  }
320  if(masks[m]=="mask_ctrl_N1"){
321  m_params.l1mudttfmasks.set_inrec_chdis_st2(-2,sec,true);
322  m_params.l1mudttfmasks.set_etsoc_chdis_st2(-2,sec,true);
323  }
324 
325  if(masks[m]=="mask_ctrl_0"){
326  m_params.l1mudttfmasks.set_inrec_chdis_st2(-1,sec,true);
327  m_params.l1mudttfmasks.set_inrec_chdis_st2(1,sec,true);
328  m_params.l1mudttfmasks.set_etsoc_chdis_st2(-1,sec,true);
329  m_params.l1mudttfmasks.set_etsoc_chdis_st2(1,sec,true);
330  }
331  if(masks[m]=="mask_ctrl_P1"){
332  m_params.l1mudttfmasks.set_inrec_chdis_st2(2,sec,true);
333  m_params.l1mudttfmasks.set_etsoc_chdis_st2(2,sec,true);
334  }
335  if(masks[m]=="mask_ctrl_P2"){
336  m_params.l1mudttfmasks.set_inrec_chdis_st2(3,sec,true);
337  m_params.l1mudttfmasks.set_etsoc_chdis_st2(3,sec,true);
338  }
339  }
340  }
341 
342  if((mask&4)>0) {
343  for(int sec=0; sec<12; sec++){
344  if(masks[m]=="mask_ctrl_N2"){
345  m_params.l1mudttfmasks.set_inrec_chdis_st3(-3,sec,true);
346  m_params.l1mudttfmasks.set_etsoc_chdis_st3(-3,sec,true);
347  }
348  if(masks[m]=="mask_ctrl_N1"){
349  m_params.l1mudttfmasks.set_inrec_chdis_st3(-2,sec,true);
350  m_params.l1mudttfmasks.set_etsoc_chdis_st3(-2,sec,true);
351  }
352 
353  if(masks[m]=="mask_ctrl_0"){
354  m_params.l1mudttfmasks.set_inrec_chdis_st3(-1,sec,true);
355  m_params.l1mudttfmasks.set_inrec_chdis_st3(1,sec,true);
356  m_params.l1mudttfmasks.set_etsoc_chdis_st3(-1,sec,true);
357  m_params.l1mudttfmasks.set_etsoc_chdis_st3(1,sec,true);
358  }
359  if(masks[m]=="mask_ctrl_P1"){
360  m_params.l1mudttfmasks.set_inrec_chdis_st3(2,sec,true);
361  m_params.l1mudttfmasks.set_etsoc_chdis_st3(2,sec,true);
362  }
363  if(masks[m]=="mask_ctrl_P2"){
364  m_params.l1mudttfmasks.set_inrec_chdis_st3(3,sec,true);
365  m_params.l1mudttfmasks.set_etsoc_chdis_st3(3,sec,true);
366  }
367  }
368  }
369 
370  if((mask&8)>0) {
371  for(int sec=0; sec<12; sec++){
372  if(masks[m]=="mask_ctrl_N2"){
373  m_params.l1mudttfmasks.set_inrec_chdis_st4(-3,sec,true);
374  }
375  if(masks[m]=="mask_ctrl_N1"){
376  m_params.l1mudttfmasks.set_inrec_chdis_st4(-2,sec,true);
377  }
378 
379  if(masks[m]=="mask_ctrl_0"){
380  m_params.l1mudttfmasks.set_inrec_chdis_st4(-1,sec,true);
381  m_params.l1mudttfmasks.set_inrec_chdis_st4(1,sec,true);
382  }
383  if(masks[m]=="mask_ctrl_P1"){
384  m_params.l1mudttfmasks.set_inrec_chdis_st4(2,sec,true);
385  }
386  if(masks[m]=="mask_ctrl_P2"){
387  m_params.l1mudttfmasks.set_inrec_chdis_st4(3,sec,true);
388  }
389  }
390  }
391  }///if register path
392  }///for masks
393  }///for it tRow
394  }///for it procRole */
396  }
397  //m_params = cast_to_L1TMuonBarrelParams((L1TMuonBarrelParams_PUBLIC)m_params_helper);
398 
399 
400 }
T getParameter(std::string const &) const
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
Definition: ESProducer.h:115
void configureSystemFromFiles(const char *hwCfgFile, const char *topCfgFile, const char *key)
Definition: TriggerSystem.cc:8
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)
L1TMuonBarrelParamsESProducer::~L1TMuonBarrelParamsESProducer ( )

Definition at line 403 of file L1TMuonBarrelParamsESProducer.cc.

404 {
405 
406 }

Member Function Documentation

int L1TMuonBarrelParamsESProducer::getPtLutThreshold ( int  ,
std::vector< int > &   
) const
int L1TMuonBarrelParamsESProducer::load_ext ( std::vector< L1TMuonBarrelParams::LUTParams::extLUT > &  ,
unsigned short  int,
unsigned short  int 
)
int L1TMuonBarrelParamsESProducer::load_phi ( std::vector< LUT > &  ,
unsigned short  int,
unsigned short  int,
std::string   
)
int L1TMuonBarrelParamsESProducer::load_pt ( std::vector< LUT > &  ,
std::vector< int > &  ,
unsigned short  int,
std::string   
)
L1TMuonBarrelParamsESProducer::ReturnType L1TMuonBarrelParamsESProducer::produce ( const L1TMuonBarrelParamsRcd iRecord)

Definition at line 700 of file L1TMuonBarrelParamsESProducer.cc.

References DEFINE_FWK_EVENTSETUP_MODULE, and m_params_helper.

701 {
702  using namespace edm::es;
703 
704  return std::make_shared<L1TMuonBarrelParams>(m_params_helper);
705 }

Member Data Documentation

L1TMuonBarrelParamsHelper L1TMuonBarrelParamsESProducer::m_params_helper
private

Definition at line 53 of file L1TMuonBarrelParamsESProducer.cc.

Referenced by L1TMuonBarrelParamsESProducer(), and produce().