CMS 3D CMS Logo

L1MuBMLUTHandler.h
Go to the documentation of this file.
1 #ifndef L1MUBM_LUT_H
2 #define L1MUBM_LUT_H
3 
4 //---------------
5 // C++ Headers --
6 //---------------
7 
10 
11 #include <vector>
12 #include <map>
13 
14 //----------------------
15 // Base Class Headers --
16 //----------------------
17 
18 //------------------------------------
19 // Collaborating Class Declarations --
20 //------------------------------------
21 
22 // ---------------------
23 // -- Class Interface --
24 // ---------------------
25 
27 public:
29  L1MuBMLUTHandler(const L1TMuonBarrelParams& l1params);
30 
32  virtual ~L1MuBMLUTHandler();
33 
35  void print_pta_lut() const;
36 
38  int getPt(int pta_ind, int address) const;
39 
41  int getPtLutThreshold(int pta_ind) const;
42 
44  void print_phi_lut() const;
45 
47  int getDeltaPhi(int idx, int address) const;
48 
50  std::pair<unsigned short, unsigned short> getPrecision() const;
51 
53  void print_ext_lut() const;
54 
56  int getLow(int ext_ind, int address) const;
57 
59  int getHigh(int ext_ind, int address) const;
60 
61 private:
62  // const L1TMuonBarrelParams* l1tbmparams;
64 
65 public:
66  //max. number of Extrapolations
67  const int MAX_EXT = 12;
68 
69  // extrapolation types
71 
72  // maximal number of pt assignment methods
73  const int MAX_PTASSMETH = 19;
74  const int MAX_PTASSMETHA = 12;
75 
76  // pt assignment methods
77  enum PtAssMethod {
98  };
99 };
100 
101 #endif
L1MuBMLUTHandler::PT34L
Definition: L1MuBMLUTHandler.h:88
L1MuBMLUTHandler::l1tbmparams
const L1TMuonBarrelParamsAllPublic * l1tbmparams
Definition: L1MuBMLUTHandler.h:63
L1MuBMLUTHandler::EX14
Definition: L1MuBMLUTHandler.h:70
L1MuBMLUTHandler::PB21H
Definition: L1MuBMLUTHandler.h:93
L1MuBMLUTHandler::EX16
Definition: L1MuBMLUTHandler.h:70
L1MuBMLUTHandler::PB34H
Definition: L1MuBMLUTHandler.h:96
L1MuBMLUTHandler::getHigh
int getHigh(int ext_ind, int address) const
get high_value for a given address
Definition: L1MuBMLUTHandler.cc:261
L1MuBMLUTHandler::PB14H
Definition: L1MuBMLUTHandler.h:92
L1MuBMLUTHandler::PT23H
Definition: L1MuBMLUTHandler.h:85
L1MuBMLUTHandler::PT12L
Definition: L1MuBMLUTHandler.h:78
L1MuBMLUTHandler::getPt
int getPt(int pta_ind, int address) const
get pt-value for a given address
Definition: L1MuBMLUTHandler.cc:131
L1MuBMLUTHandler::PB13H
Definition: L1MuBMLUTHandler.h:91
L1MuBMLUTHandler::EX26
Definition: L1MuBMLUTHandler.h:70
L1TMuonBarrelParams.h
L1MuBMLUTHandler::PtAssMethod
PtAssMethod
Definition: L1MuBMLUTHandler.h:77
L1MuBMLUTHandler::EX13
Definition: L1MuBMLUTHandler.h:70
L1MuBMLUTHandler::getLow
int getLow(int ext_ind, int address) const
get low_value for a given address
Definition: L1MuBMLUTHandler.cc:247
L1MuBMLUTHandler::print_phi_lut
void print_phi_lut() const
print phi-assignment look-up tables
Definition: L1MuBMLUTHandler.cc:182
L1MuBMLUTHandler
Definition: L1MuBMLUTHandler.h:26
L1MuBMLUTHandler::getPrecision
std::pair< unsigned short, unsigned short > getPrecision() const
get precision for look-up tables
Definition: L1MuBMLUTHandler.cc:175
L1MuBMLUTHandler::getDeltaPhi
int getDeltaPhi(int idx, int address) const
get delta-phi for a given address (bend-angle)
Definition: L1MuBMLUTHandler.cc:161
L1MuBMLUTHandler::getPtLutThreshold
int getPtLutThreshold(int pta_ind) const
get pt-assignment LUT threshold
Definition: L1MuBMLUTHandler.cc:148
L1MuBMLUTHandler::EX12
Definition: L1MuBMLUTHandler.h:70
heavyIonCSV_trainingSettings.idx
idx
Definition: heavyIonCSV_trainingSettings.py:5
L1MuBMLUTHandler::~L1MuBMLUTHandler
virtual ~L1MuBMLUTHandler()
destructor
Definition: L1MuBMLUTHandler.cc:61
L1MuBMLUTHandler::PT13L
Definition: L1MuBMLUTHandler.h:80
L1MuBMLUTHandler::EX25
Definition: L1MuBMLUTHandler.h:70
L1MuBMLUTHandler::PT24H
Definition: L1MuBMLUTHandler.h:87
L1TMuonBarrelParamsAllPublic.h
L1MuBMLUTHandler::PB12H
Definition: L1MuBMLUTHandler.h:90
L1MuBMLUTHandler::PT34H
Definition: L1MuBMLUTHandler.h:89
L1MuBMLUTHandler::NODEF
Definition: L1MuBMLUTHandler.h:97
L1MuBMLUTHandler::PT23L
Definition: L1MuBMLUTHandler.h:84
L1MuBMLUTHandler::MAX_EXT
const int MAX_EXT
Definition: L1MuBMLUTHandler.h:67
L1MuBMLUTHandler::EX34
Definition: L1MuBMLUTHandler.h:70
L1MuBMLUTHandler::PB23H
Definition: L1MuBMLUTHandler.h:94
L1MuBMLUTHandler::PT14L
Definition: L1MuBMLUTHandler.h:82
L1MuBMLUTHandler::PT24L
Definition: L1MuBMLUTHandler.h:86
L1MuBMLUTHandler::EX15
Definition: L1MuBMLUTHandler.h:70
L1MuBMLUTHandler::print_pta_lut
void print_pta_lut() const
print pt-assignment look-up tables
Definition: L1MuBMLUTHandler.cc:70
L1MuBMLUTHandler::EX24
Definition: L1MuBMLUTHandler.h:70
L1MuBMLUTHandler::EX21
Definition: L1MuBMLUTHandler.h:70
L1TMuonBarrelParamsAllPublic
Definition: L1TMuonBarrelParamsAllPublic.h:8
L1MuBMLUTHandler::MAX_PTASSMETH
const int MAX_PTASSMETH
Definition: L1MuBMLUTHandler.h:73
L1MuBMLUTHandler::PB24H
Definition: L1MuBMLUTHandler.h:95
L1MuBMLUTHandler::PT12H
Definition: L1MuBMLUTHandler.h:79
L1TMuonBarrelParams
Definition: L1TMuonBarrelParams.h:23
L1MuBMLUTHandler::Extrapolation
Extrapolation
Definition: L1MuBMLUTHandler.h:70
L1MuBMLUTHandler::EX23
Definition: L1MuBMLUTHandler.h:70
L1MuBMLUTHandler::EX56
Definition: L1MuBMLUTHandler.h:70
L1MuBMLUTHandler::print_ext_lut
void print_ext_lut() const
print extrapolation look-up tables
Definition: L1MuBMLUTHandler.cc:275
L1MuBMLUTHandler::PT13H
Definition: L1MuBMLUTHandler.h:81
L1MuBMLUTHandler::MAX_PTASSMETHA
const int MAX_PTASSMETHA
Definition: L1MuBMLUTHandler.h:74
L1MuBMLUTHandler::PT14H
Definition: L1MuBMLUTHandler.h:83
L1MuBMLUTHandler::L1MuBMLUTHandler
L1MuBMLUTHandler(const L1TMuonBarrelParams &l1params)
constructor
Definition: L1MuBMLUTHandler.cc:52