CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 // 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
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
void print_ext_lut() const
print extrapolation look-up tables