CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
L1TMuonBarrelParamsAllPublic.h
Go to the documentation of this file.
1 #ifndef L1TMuonBarrelParamsAllPublic_h
2 #define L1TMuonBarrelParamsAllPublic_h
3 
4 #include <cassert>
5 
7 
9 public:
12 
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_.empty() ? 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  void set_PT_Assignment_nbits_Phi(int par1) { pnodes_[CONFIG].iparams_[PT_Assignment_nbits_Phi] = par1; };
46  void set_Extrapolation_nbits_Phi(int par1) { pnodes_[CONFIG].iparams_[Extrapolation_nbits_Phi] = par1; };
48  void set_BX_min(int par1) { pnodes_[CONFIG].iparams_[BX_min] = par1; };
49  void set_BX_max(int par1) { pnodes_[CONFIG].iparams_[BX_max] = par1; };
50  void set_Extrapolation_Filter(int par1) { pnodes_[CONFIG].iparams_[Extrapolation_Filter] = par1; };
51  void set_OutOfTime_Filter_Window(int par1) { pnodes_[CONFIG].iparams_[OutOfTime_Filter_Window] = par1; };
52  void set_OutOfTime_Filter(bool par1) { pnodes_[CONFIG].iparams_[OutOfTime_Filter] = par1; };
53  void set_Open_LUTs(bool par1) { pnodes_[CONFIG].iparams_[Open_LUTs] = par1; };
54  void set_EtaTrackFinder(bool par1) { pnodes_[CONFIG].iparams_[EtaTrackFinder] = par1; };
55  void set_Extrapolation_21(bool par1) { pnodes_[CONFIG].iparams_[Extrapolation_21] = par1; };
56  void set_DisableNewAlgo(bool par1) { pnodes_[CONFIG].iparams_[DisableNewAlgo] = par1; };
57 
64  int get_BX_min() const { return pnodes_[CONFIG].iparams_[BX_min]; };
65  int get_BX_max() const { return pnodes_[CONFIG].iparams_[BX_max]; };
66  int get_Extrapolation_Filter() const { return pnodes_[CONFIG].iparams_[Extrapolation_Filter]; };
68 
69  bool get_OutOfTime_Filter() const { return pnodes_[CONFIG].iparams_[OutOfTime_Filter]; };
70  bool get_Open_LUTs() const { return pnodes_[CONFIG].iparams_[Open_LUTs]; };
71  bool get_EtaTrackFinder() const { return pnodes_[CONFIG].iparams_[EtaTrackFinder]; };
72  bool get_Extrapolation_21() const { return pnodes_[CONFIG].iparams_[Extrapolation_21]; };
73  bool get_DisableNewAlgo() const { return pnodes_[CONFIG].iparams_[DisableNewAlgo]; };
74 
75  unsigned fwVersion() const { return fwVersion_; };
76  void setFwVersion(unsigned fwVersion) { fwVersion_ = fwVersion; };
77 };
78 
79 //const L1TMuonBarrelParamsAllPublic& cast_to_L1TMuonBarrelParamsAllPublic(const L1TMuonBarrelParams& a);
81 
82 #endif
void setpta_threshold(std::vector< int > ptathresh)
L1TMuonBarrelParamsAllPublic(const L1TMuonBarrelParams &a)
std::map< LUTID, LUTCONT > qpLUT
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)
assert(be >=bs)
std::vector< LUTParams::extLUT > ext_lut() const
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:119
std::vector< Node > pnodes_
std::map< short, L1MuDTEtaPattern, std::less< short > > etaLUT
Eta Pattern LUT.