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 
10 
11 #include <vector>
12 #include <map>
13 
14 //----------------------
15 // Base Class Headers --
16 //----------------------
17 
18 
19 //------------------------------------
20 // Collaborating Class Declarations --
21 //------------------------------------
22 
23 
24 // ---------------------
25 // -- Class Interface --
26 // ---------------------
27 
28 
30 
31  public:
33  L1MuBMLUTHandler(const L1TMuonBarrelParams &l1params);
34 
36  virtual ~L1MuBMLUTHandler();
37 
39  void print_pta_lut() const;
40 
42  int getPt(int pta_ind, int address) const;
43 
45  int getPtLutThreshold(int pta_ind) const;
46 
48  void print_phi_lut() const;
49 
51  int getDeltaPhi(int idx, int address) const;
52 
54  std::pair<unsigned short, unsigned short> getPrecision() const;
55 
57  void print_ext_lut() const;
58 
60  int getLow(int ext_ind, int address) const;
61 
63  int getHigh(int ext_ind, int address) const;
64 
65 
66  private:
67  // const L1TMuonBarrelParams* l1tbmparams;
69 
70  public:
71 
72 
73 
74 //max. number of Extrapolations
75 const int MAX_EXT = 12;
76 
77 // extrapolation types
80 
81  // maximal number of pt assignment methods
82 const int MAX_PTASSMETH = 19;
83 const int MAX_PTASSMETHA = 12;
84 
85 // pt assignment methods
89  NODEF };
90 
91 };
92 
93 #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
const L1TMuonBarrelParamsAllPublic * l1tbmparams
const int MAX_PTASSMETHA
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...
void print_ext_lut() const
print extrapolation look-up tables