CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CSCTFPtLUT.h
Go to the documentation of this file.
1 #ifndef CSCTrackFinder_CSCTFPtLUT_h
2 #define CSCTrackFinder_CSCTFPtLUT_h
3 
15 
17 {
18 public:
22 
24  const L1MuTriggerScales* scales,
25  const L1MuTriggerPtScale* ptScale);
26 
27  CSCTFPtLUT(const CSCTFPtLUT&);
29 
31 
32  ptdat Pt(const ptadd&) const;
33 
34  ptdat Pt(const unsigned&) const;
35 
36  ptdat Pt(const unsigned& delta_phi_12, const unsigned& delta_phi23,
37  const unsigned& track_eta, const unsigned& track_mode,
38  const unsigned& track_fr, const unsigned& delta_phi_sign) const;
39 
40  ptdat Pt(const unsigned& delta_phi_12, const unsigned& track_eta,
41  const unsigned& track_mode, const unsigned& track_fr,
42  const unsigned& delta_phi_sign) const;
43 
44  static const int dPhiNLBMap_5bit[32];
45  static const int dPhiNLBMap_7bit[128];
46  static const int dPhiNLBMap_8bit[256];
47 
48 
49  static const int dEtaCut_Low[24];
50  static const int dEtaCut_Mid[24];
51  static const int dEtaCut_High_A[24];
52  static const int dEtaCut_High_B[24];
53  static const int dEtaCut_High_C[24];
54  static const int dEtaCut_Open[24];
55 
56  static const int getPtbyMLH;
57 
58  private:
59 
60  // handle to csctf pt lut when read from DBS (EventSetup)
64 
65  // to be used when the csctf pt lut is initialized from ParameterSet
67 
68  // store the entire object, when and *only when we read from local file
69  // this option is set to false by default and should be used only for
70  // testing
72 
76 
77 
78  ptdat calcPt(const ptadd&) const;
79  //unsigned trackQuality(const unsigned& eta, const unsigned& mode) const;
80  unsigned trackQuality(const unsigned& eta, const unsigned& mode, const unsigned& fr) const;
81  void readLUT();
82 };
83 
84 #endif
CSCTFPtMethods ptMethods
Definition: CSCTFPtLUT.h:66
CSCTFPtLUT & operator=(const CSCTFPtLUT &)
const L1MuTriggerScales * trigger_scale
Definition: CSCTFPtLUT.h:62
ptdat Pt(const ptadd &) const
Definition: CSCTFPtLUT.cc:171
unsigned lowQualityFlag
Definition: CSCTFPtLUT.h:75
CSCTFPtLUT(const edm::EventSetup &c)
KK.
Definition: CSCTFPtLUT.cc:72
bool isBeamStartConf
Definition: CSCTFPtLUT.h:73
const L1MuCSCPtLut * theL1MuCSCPtLut_
Definition: CSCTFPtLUT.h:61
bool read_pt_lut_es
Definition: CSCTFPtLUT.h:73
static const int getPtbyMLH
Definition: CSCTFPtLUT.h:56
ptdat * pt_lut
Definition: CSCTFPtLUT.h:71
unsigned pt_method
Definition: CSCTFPtLUT.h:75
T eta() const
static const int dEtaCut_High_C[24]
Definition: CSCTFPtLUT.h:53
static const int dPhiNLBMap_8bit[256]
Definition: CSCTFPtLUT.h:46
static const int dEtaCut_Mid[24]
Definition: CSCTFPtLUT.h:50
static const int dEtaCut_Low[24]
Definition: CSCTFPtLUT.h:49
bool read_pt_lut_file
Definition: CSCTFPtLUT.h:73
void readLUT()
Definition: CSCTFPtLUT.cc:1431
edm::FileInPath pt_lut_file
Definition: CSCTFPtLUT.h:74
static const int dEtaCut_High_A[24]
Definition: CSCTFPtLUT.h:51
unsigned trackQuality(const unsigned &eta, const unsigned &mode, const unsigned &fr) const
Definition: CSCTFPtLUT.cc:1328
class pt_address ptadd
class pt_data ptdat
ptdat calcPt(const ptadd &) const
Definition: CSCTFPtLUT.cc:231
static const int dEtaCut_Open[24]
Definition: CSCTFPtLUT.h:54
static const int dPhiNLBMap_7bit[128]
Definition: CSCTFPtLUT.h:45
bool isBinary
Definition: CSCTFPtLUT.h:73
const L1MuTriggerPtScale * trigger_ptscale
Definition: CSCTFPtLUT.h:63
static const int dEtaCut_High_B[24]
Definition: CSCTFPtLUT.h:52
static const int dPhiNLBMap_5bit[32]
Definition: CSCTFPtLUT.h:44