CMS 3D CMS Logo

L1TMuonBarrelParamsAllPublic.h
Go to the documentation of this file.
1 #ifndef L1TMuonBarrelParamsAllPublic_h
2 #define L1TMuonBarrelParamsAllPublic_h
3 
5 
6 
8 {
9  public:
12 
14  assert(sizeof(L1TMuonBarrelParamsAllPublic) == sizeof(L1TMuonBarrelParams));
15  //const void * pa = &a;
16  //const L1TMuonBarrelParamsAllPublic * py
17  *this= *static_cast<const L1TMuonBarrelParamsAllPublic *>(&a);
18  //this = py;
19  //delete (L1TMuonBarrelParams*)pa;
20  };
21 
22  std::string AssLUTPath() const { return pnodes_[CONFIG].sparams_.size() > 0 ? pnodes_[CONFIG].sparams_[0] : ""; };
23  void setAssLUTPath (std::string path) { pnodes_[CONFIG].sparams_.push_back(path); };
24 
25  void setpta_lut(std::vector<LUT> ptalut) { lutparams_.pta_lut_ = ptalut; };
26  std::vector<LUT> pta_lut() const {return lutparams_.pta_lut_; };
27  void setpta_threshold(std::vector<int> ptathresh) { lutparams_.pta_threshold_ = ptathresh; };
28  std::vector<int> pta_threshold() const { return lutparams_.pta_threshold_; };
29 
30  void setphi_lut(std::vector<LUT> philut) { lutparams_.phi_lut_ = philut; };
31  std::vector<LUT> phi_lut() const {return lutparams_.phi_lut_; };
32 
33  void setext_lut(std::vector<LUTParams::extLUT> extlut) { lutparams_.ext_lut_ = extlut; };
34  std::vector<LUTParams::extLUT> ext_lut() const {return lutparams_.ext_lut_; };
35 
36  void setqp_lut(qpLUT qplut) { lutparams_.qp_lut_ = qplut; };
37  qpLUT qp_lut() const {return lutparams_.qp_lut_; };
38 
40  etaLUT eta_lut() const {return lutparams_.eta_lut_; };
41 
42 
49  void set_BX_min(int par1) {pnodes_[CONFIG].iparams_[BX_min] = par1;};
50  void set_BX_max(int par1) {pnodes_[CONFIG].iparams_[BX_max] = par1;};
54  void set_Open_LUTs(bool par1) {pnodes_[CONFIG].iparams_[Open_LUTs] = par1;};
58 
59 
66  int get_BX_min() const {return pnodes_[CONFIG].iparams_[BX_min] ;};
67  int get_BX_max() const {return pnodes_[CONFIG].iparams_[BX_max];};
68  int get_Extrapolation_Filter() const {return pnodes_[CONFIG].iparams_[Extrapolation_Filter];};
70 
71 
72  bool get_OutOfTime_Filter() const {return pnodes_[CONFIG].iparams_[OutOfTime_Filter];};
73  bool get_Open_LUTs() const {return pnodes_[CONFIG].iparams_[Open_LUTs] ;};
74  bool get_EtaTrackFinder() const {return pnodes_[CONFIG].iparams_[EtaTrackFinder] ;};
75  bool get_Extrapolation_21() const {return pnodes_[CONFIG].iparams_[Extrapolation_21] ;};
76  bool get_DisableNewAlgo() const {return pnodes_[CONFIG].iparams_[DisableNewAlgo] ;};
77 
78  unsigned fwVersion() const { return fwVersion_; };
79  void setFwVersion(unsigned fwVersion) { fwVersion_ = fwVersion; };
80 };
81 
82 //const L1TMuonBarrelParamsAllPublic& cast_to_L1TMuonBarrelParamsAllPublic(const L1TMuonBarrelParams& a);
84 
85 
86 #endif
void setpta_threshold(std::vector< int > ptathresh)
L1TMuonBarrelParamsAllPublic(const L1TMuonBarrelParams &a)
std::vector< LUT > phi_lut() const
void setphi_lut(std::vector< LUT > philut)
std::vector< int > pta_threshold() const
void setext_lut(std::vector< LUTParams::extLUT > extlut)
std::vector< LUTParams::extLUT > ext_lut() const
std::map< LUTID, LUTCONT > qpLUT
void setpta_lut(std::vector< LUT > ptalut)
std::vector< LUT > pta_lut() const
const L1TMuonBarrelParams & cast_to_L1TMuonBarrelParams(const L1TMuonBarrelParamsAllPublic &a)
double a
Definition: hdecay.h:121
std::vector< Node > pnodes_
std::map< short, L1MuDTEtaPattern, std::less< short > > etaLUT
Eta Pattern LUT.