CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
9 
10 #include <vector>
11 #include <map>
12 
13 //----------------------
14 // Base Class Headers --
15 //----------------------
16 
17 
18 //------------------------------------
19 // Collaborating Class Declarations --
20 //------------------------------------
21 
22 
23 // ---------------------
24 // -- Class Interface --
25 // ---------------------
26 
27 
29 
30  public:
32  L1MuBMLUTHandler(const L1TMuonBarrelParams &l1params);
33 
35  virtual ~L1MuBMLUTHandler();
36 
38  void print_pta_lut() const;
39 
41  int getPt(int pta_ind, int address) const;
42 
44  int getPtLutThreshold(int pta_ind) const;
45 
47  void print_phi_lut() const;
48 
50  int getDeltaPhi(int idx, int address) const;
51 
53  std::pair<unsigned short, unsigned short> getPrecision() const;
54 
56  void print_ext_lut() const;
57 
59  int getLow(int ext_ind, int address) const;
60 
62  int getHigh(int ext_ind, int address) const;
63 
64 
65  private:
67 
68  public:
69 
70 
71 
72 //max. number of Extrapolations
73 const int MAX_EXT = 12;
74 
75 // extrapolation types
78 
79  // maximal number of pt assignment methods
80 const int MAX_PTASSMETH = 13;
81 
82 // pt assignment methods
85  NODEF };
86 
87 };
88 
89 #endif
virtual ~L1MuBMLUTHandler()
destructor
int getPt(int pta_ind, int address) const
get pt-value for a given address
int getLow(int ext_ind, int address) const
get low_value for a given address
int getHigh(int ext_ind, int address) const
get high_value for a given address
const int MAX_PTASSMETH
int getPtLutThreshold(int pta_ind) const
get pt-assignment LUT threshold
L1MuBMLUTHandler(const L1TMuonBarrelParams &l1params)
constructor
std::pair< unsigned short, unsigned short > getPrecision() const
get precision for look-up tables
int getDeltaPhi(int idx, int address) const
get delta-phi for a given address (bend-angle)
void print_pta_lut() const
print pt-assignment look-up tables
void print_phi_lut() const
print phi-assignment look-up tables
tuple idx
DEBUGGING if hasattr(process,&quot;trackMonIterativeTracking2012&quot;): print &quot;trackMonIterativeTracking2012 D...
const L1TMuonBarrelParams * l1tbmparams
void print_ext_lut() const
print extrapolation look-up tables