CMS 3D CMS Logo

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 
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; };
53  void set_Open_LUTs(bool par1) { pnodes_[CONFIG].iparams_[Open_LUTs] = par1; };
54  void set_EtaTrackFinder(bool par1) { pnodes_[CONFIG].iparams_[EtaTrackFinder] = 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
L1TMuonBarrelParams::CONFIG
Definition: L1TMuonBarrelParams.h:43
L1TMuonBarrelParamsAllPublic::get_PHI_Assignment_nbits_PhiB
int get_PHI_Assignment_nbits_PhiB() const
Definition: L1TMuonBarrelParamsAllPublic.h:61
L1TMuonBarrelParams::Extrapolation_nbits_PhiB
Definition: L1TMuonBarrelParams.h:51
L1TMuonBarrelParamsAllPublic::set_OutOfTime_Filter_Window
void set_OutOfTime_Filter_Window(int par1)
Definition: L1TMuonBarrelParamsAllPublic.h:51
L1TMuonBarrelParamsAllPublic::get_PHI_Assignment_nbits_Phi
int get_PHI_Assignment_nbits_Phi() const
Definition: L1TMuonBarrelParamsAllPublic.h:60
L1TMuonBarrelParams::OutOfTime_Filter
Definition: L1TMuonBarrelParams.h:56
L1TMuonBarrelParams::lutparams_
LUTParams lutparams_
Definition: L1TMuonBarrelParams.h:110
L1TMuonBarrelParams::Extrapolation_Filter
Definition: L1TMuonBarrelParams.h:54
L1TMuonBarrelParams::Open_LUTs
Definition: L1TMuonBarrelParams.h:57
L1TMuonBarrelParamsAllPublic::qp_lut
qpLUT qp_lut() const
Definition: L1TMuonBarrelParamsAllPublic.h:37
L1TMuonBarrelParamsAllPublic::AssLUTPath
std::string AssLUTPath() const
Definition: L1TMuonBarrelParamsAllPublic.h:22
L1TMuonBarrelParams.h
L1TMuonBarrelParamsAllPublic::set_Extrapolation_Filter
void set_Extrapolation_Filter(int par1)
Definition: L1TMuonBarrelParamsAllPublic.h:50
L1TMuonBarrelParams::etaLUT
std::map< short, L1MuDTEtaPattern, std::less< short > > etaLUT
Eta Pattern LUT.
Definition: L1TMuonBarrelParams.h:78
L1TMuonBarrelParamsAllPublic::set_BX_max
void set_BX_max(int par1)
Definition: L1TMuonBarrelParamsAllPublic.h:49
L1TMuonBarrelParams::PHI_Assignment_nbits_Phi
Definition: L1TMuonBarrelParams.h:48
L1TMuonBarrelParamsAllPublic::setext_lut
void setext_lut(std::vector< LUTParams::extLUT > extlut)
Definition: L1TMuonBarrelParamsAllPublic.h:33
cms::cuda::assert
assert(be >=bs)
L1TMuonBarrelParamsAllPublic::pta_lut
std::vector< LUT > pta_lut() const
Definition: L1TMuonBarrelParamsAllPublic.h:26
L1TMuonBarrelParams::fwVersion_
unsigned fwVersion_
Definition: L1TMuonBarrelParams.h:104
L1TMuonBarrelParams::Extrapolation_nbits_Phi
Definition: L1TMuonBarrelParams.h:50
pfMETCorrectionType0_cfi.par1
par1
Definition: pfMETCorrectionType0_cfi.py:48
L1TMuonBarrelParamsAllPublic::setphi_lut
void setphi_lut(std::vector< LUT > philut)
Definition: L1TMuonBarrelParamsAllPublic.h:30
L1TMuonBarrelParamsAllPublic::L1TMuonBarrelParamsAllPublic
L1TMuonBarrelParamsAllPublic(const L1TMuonBarrelParams &a)
Definition: L1TMuonBarrelParamsAllPublic.h:13
L1TMuonBarrelParamsAllPublic::get_Open_LUTs
bool get_Open_LUTs() const
Definition: L1TMuonBarrelParamsAllPublic.h:70
L1TMuonBarrelParamsAllPublic::get_DisableNewAlgo
bool get_DisableNewAlgo() const
Definition: L1TMuonBarrelParamsAllPublic.h:73
L1TMuonBarrelParamsAllPublic::setAssLUTPath
void setAssLUTPath(std::string path)
Definition: L1TMuonBarrelParamsAllPublic.h:23
L1TMuonBarrelParamsAllPublic::set_Open_LUTs
void set_Open_LUTs(bool par1)
Definition: L1TMuonBarrelParamsAllPublic.h:53
L1TMuonBarrelParamsAllPublic::get_Extrapolation_nbits_Phi
int get_Extrapolation_nbits_Phi() const
Definition: L1TMuonBarrelParamsAllPublic.h:62
L1TMuonBarrelParamsAllPublic::set_OutOfTime_Filter
void set_OutOfTime_Filter(bool par1)
Definition: L1TMuonBarrelParamsAllPublic.h:52
cast_to_L1TMuonBarrelParams
const L1TMuonBarrelParams & cast_to_L1TMuonBarrelParams(const L1TMuonBarrelParamsAllPublic &a)
Definition: L1TMuonBarrelParamsAllPublic.cc:11
L1TMuonBarrelParamsAllPublic::setqp_lut
void setqp_lut(qpLUT qplut)
Definition: L1TMuonBarrelParamsAllPublic.h:36
L1TMuonBarrelParamsAllPublic::get_BX_max
int get_BX_max() const
Definition: L1TMuonBarrelParamsAllPublic.h:65
L1TMuonBarrelParamsAllPublic::set_EtaTrackFinder
void set_EtaTrackFinder(bool par1)
Definition: L1TMuonBarrelParamsAllPublic.h:54
L1TMuonBarrelParamsAllPublic::setFwVersion
void setFwVersion(unsigned fwVersion)
Definition: L1TMuonBarrelParamsAllPublic.h:76
L1TMuonBarrelParamsAllPublic::get_Extrapolation_21
bool get_Extrapolation_21() const
Definition: L1TMuonBarrelParamsAllPublic.h:72
L1TMuonBarrelParamsAllPublic::get_OutOfTime_Filter
bool get_OutOfTime_Filter() const
Definition: L1TMuonBarrelParamsAllPublic.h:69
L1TMuonBarrelParamsAllPublic::get_EtaTrackFinder
bool get_EtaTrackFinder() const
Definition: L1TMuonBarrelParamsAllPublic.h:71
L1TMuonBarrelParams::pnodes_
std::vector< Node > pnodes_
Definition: L1TMuonBarrelParams.h:106
L1TMuonBarrelParamsAllPublic::get_Extrapolation_Filter
int get_Extrapolation_Filter() const
Definition: L1TMuonBarrelParamsAllPublic.h:66
L1TMuonBarrelParamsAllPublic::set_PT_Assignment_nbits_PhiB
void set_PT_Assignment_nbits_PhiB(int par1)
Definition: L1TMuonBarrelParamsAllPublic.h:43
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
L1TMuonBarrelParamsAllPublic::phi_lut
std::vector< LUT > phi_lut() const
Definition: L1TMuonBarrelParamsAllPublic.h:31
L1TMuonBarrelParamsAllPublic::set_PHI_Assignment_nbits_Phi
void set_PHI_Assignment_nbits_Phi(int par1)
Definition: L1TMuonBarrelParamsAllPublic.h:44
L1TMuonBarrelParams::LUTParams::qp_lut_
qpLUT qp_lut_
Definition: L1TMuonBarrelParams.h:85
L1TMuonBarrelParamsAllPublic::get_PT_Assignment_nbits_PhiB
int get_PT_Assignment_nbits_PhiB() const
Definition: L1TMuonBarrelParamsAllPublic.h:59
L1TMuonBarrelParamsAllPublic::set_Extrapolation_21
void set_Extrapolation_21(bool par1)
Definition: L1TMuonBarrelParamsAllPublic.h:55
L1TMuonBarrelParams::Extrapolation_21
Definition: L1TMuonBarrelParams.h:59
L1DTTrackFinderConfig_cff.extlut
extlut
Definition: L1DTTrackFinderConfig_cff.py:3
L1TMuonBarrelParamsAllPublic::fwVersion
unsigned fwVersion() const
Definition: L1TMuonBarrelParamsAllPublic.h:75
a
double a
Definition: hdecay.h:119
L1TMuonBarrelParams::LUTParams::eta_lut_
etaLUT eta_lut_
Definition: L1TMuonBarrelParams.h:86
L1TMuonBarrelParamsAllPublic::setpta_lut
void setpta_lut(std::vector< LUT > ptalut)
Definition: L1TMuonBarrelParamsAllPublic.h:25
L1TMuonBarrelParamsAllPublic::set_PT_Assignment_nbits_Phi
void set_PT_Assignment_nbits_Phi(int par1)
Definition: L1TMuonBarrelParamsAllPublic.h:42
L1TMuonBarrelParams::PT_Assignment_nbits_PhiB
Definition: L1TMuonBarrelParams.h:47
L1TMuonBarrelParamsAllPublic::get_PT_Assignment_nbits_Phi
int get_PT_Assignment_nbits_Phi() const
Definition: L1TMuonBarrelParamsAllPublic.h:58
L1TMuonBarrelParams::DisableNewAlgo
Definition: L1TMuonBarrelParams.h:60
L1TMuonBarrelParams::PT_Assignment_nbits_Phi
Definition: L1TMuonBarrelParams.h:46
L1TMuonBarrelParamsAllPublic::seteta_lut
void seteta_lut(etaLUT eta_lut)
Definition: L1TMuonBarrelParamsAllPublic.h:39
L1TMuonBarrelParamsAllPublic::eta_lut
etaLUT eta_lut() const
Definition: L1TMuonBarrelParamsAllPublic.h:40
L1TMuonBarrelParamsAllPublic::ext_lut
std::vector< LUTParams::extLUT > ext_lut() const
Definition: L1TMuonBarrelParamsAllPublic.h:34
L1TMuonBarrelParams::LUTParams::phi_lut_
std::vector< LUT > phi_lut_
Definition: L1TMuonBarrelParams.h:83
L1TMuonBarrelParams::LUTParams::pta_lut_
std::vector< LUT > pta_lut_
Definition: L1TMuonBarrelParams.h:82
L1TMuonBarrelParams::LUTParams::ext_lut_
std::vector< extLUT > ext_lut_
Definition: L1TMuonBarrelParams.h:95
L1TMuonBarrelParams::LUTParams::pta_threshold_
std::vector< int > pta_threshold_
Definition: L1TMuonBarrelParams.h:84
L1TMuonBarrelParamsAllPublic::setpta_threshold
void setpta_threshold(std::vector< int > ptathresh)
Definition: L1TMuonBarrelParamsAllPublic.h:27
L1TMuonBarrelParamsAllPublic
Definition: L1TMuonBarrelParamsAllPublic.h:8
L1TMuonBarrelParamsAllPublic::get_BX_min
int get_BX_min() const
Definition: L1TMuonBarrelParamsAllPublic.h:64
L1TMuonBarrelParamsAllPublic::set_PHI_Assignment_nbits_PhiB
void set_PHI_Assignment_nbits_PhiB(int par1)
Definition: L1TMuonBarrelParamsAllPublic.h:45
L1TMuonBarrelParamsAllPublic::get_Extrapolation_nbits_PhiB
int get_Extrapolation_nbits_PhiB() const
Definition: L1TMuonBarrelParamsAllPublic.h:63
L1TMuonBarrelParams::BX_max
Definition: L1TMuonBarrelParams.h:53
L1TMuonBarrelParams::PHI_Assignment_nbits_PhiB
Definition: L1TMuonBarrelParams.h:49
L1TMuonBarrelParams::OutOfTime_Filter_Window
Definition: L1TMuonBarrelParams.h:55
L1TMuonBarrelParams
Definition: L1TMuonBarrelParams.h:23
L1TMuonBarrelParams::BX_min
Definition: L1TMuonBarrelParams.h:52
castor_dqm_sourceclient_file_cfg.path
path
Definition: castor_dqm_sourceclient_file_cfg.py:37
L1TMuonBarrelParamsAllPublic::set_DisableNewAlgo
void set_DisableNewAlgo(bool par1)
Definition: L1TMuonBarrelParamsAllPublic.h:56
L1DTTrackFinderConfig_cff.philut
philut
Definition: L1DTTrackFinderConfig_cff.py:9
L1TMuonBarrelParamsAllPublic::pta_threshold
std::vector< int > pta_threshold() const
Definition: L1TMuonBarrelParamsAllPublic.h:28
L1TMuonBarrelParamsAllPublic::set_BX_min
void set_BX_min(int par1)
Definition: L1TMuonBarrelParamsAllPublic.h:48
L1TMuonBarrelParamsAllPublic::set_Extrapolation_nbits_PhiB
void set_Extrapolation_nbits_PhiB(int par1)
Definition: L1TMuonBarrelParamsAllPublic.h:47
L1TMuonBarrelParams::qpLUT
std::map< LUTID, LUTCONT > qpLUT
Definition: L1TMuonBarrelParams.h:76
L1DTTrackFinderConfig_cff.ptalut
ptalut
Definition: L1DTTrackFinderConfig_cff.py:15
L1TMuonBarrelParams::EtaTrackFinder
Definition: L1TMuonBarrelParams.h:58
L1TMuonBarrelParamsAllPublic::get_OutOfTime_Filter_Window
int get_OutOfTime_Filter_Window() const
Definition: L1TMuonBarrelParamsAllPublic.h:67
L1TMuonBarrelParamsAllPublic::~L1TMuonBarrelParamsAllPublic
~L1TMuonBarrelParamsAllPublic()
Definition: L1TMuonBarrelParamsAllPublic.h:11
L1TMuonBarrelParamsAllPublic::set_Extrapolation_nbits_Phi
void set_Extrapolation_nbits_Phi(int par1)
Definition: L1TMuonBarrelParamsAllPublic.h:46
L1TMuonBarrelParamsAllPublic::L1TMuonBarrelParamsAllPublic
L1TMuonBarrelParamsAllPublic()
Definition: L1TMuonBarrelParamsAllPublic.h:10