CMS 3D CMS Logo

CSCTFPtLUT.h
Go to the documentation of this file.
1 #ifndef CSCTrackFinder_CSCTFPtLUT_h
2 #define CSCTrackFinder_CSCTFPtLUT_h
3 
13 
14 class CSCTFPtLUT {
15 public:
19 
21 
22  CSCTFPtLUT(const CSCTFPtLUT&);
24  if (pt_lut)
25  delete[] pt_lut;
26  pt_lut = nullptr;
27  }
28 
30 
31  ptdat Pt(const ptadd&) const;
32 
33  ptdat Pt(const unsigned&) const;
34 
35  ptdat Pt(const unsigned& delta_phi_12,
36  const unsigned& delta_phi23,
37  const unsigned& track_eta,
38  const unsigned& track_mode,
39  const unsigned& track_fr,
40  const unsigned& delta_phi_sign) const;
41 
42  ptdat Pt(const unsigned& delta_phi_12,
43  const unsigned& track_eta,
44  const unsigned& track_mode,
45  const unsigned& track_fr,
46  const unsigned& delta_phi_sign) const;
47 
48  static const int dPhiNLBMap_5bit[32];
49  static const int dPhiNLBMap_7bit[128];
50  static const int dPhiNLBMap_8bit[256];
51 
52  static const int dEtaCut_Low[24];
53  static const int dEtaCut_Mid[24];
54  static const int dEtaCut_High_A[24];
55  static const int dEtaCut_High_B[24];
56  static const int dEtaCut_High_C[24];
57  static const int dEtaCut_Open[24];
58 
59  static const int getPtbyMLH;
60 
61 private:
62  static ptdat* pt_lut;
63  static bool lut_read_in;
67 
71 
72  ptdat calcPt(const ptadd&) const;
73  //unsigned trackQuality(const unsigned& eta, const unsigned& mode) const;
74  unsigned trackQuality(const unsigned& eta, const unsigned& mode, const unsigned& fr) const;
75  void readLUT();
76 };
77 
78 #endif
CSCTFPtMethods ptMethods
Definition: CSCTFPtLUT.h:66
CSCTFPtLUT & operator=(const CSCTFPtLUT &)
const L1MuTriggerScales * trigger_scale
Definition: CSCTFPtLUT.h:64
ptdat Pt(const ptadd &) const
Definition: CSCTFPtLUT.cc:183
unsigned lowQualityFlag
Definition: CSCTFPtLUT.h:70
CSCTFPtLUT(const edm::EventSetup &c)
KK.
Definition: CSCTFPtLUT.cc:95
bool isBeamStartConf
Definition: CSCTFPtLUT.h:68
static bool lut_read_in
Definition: CSCTFPtLUT.h:63
static const int getPtbyMLH
Definition: CSCTFPtLUT.h:59
unsigned pt_method
Definition: CSCTFPtLUT.h:70
static ptdat * pt_lut
Definition: CSCTFPtLUT.h:62
static const int dEtaCut_High_C[24]
Definition: CSCTFPtLUT.h:56
static const int dPhiNLBMap_8bit[256]
Definition: CSCTFPtLUT.h:50
static const int dEtaCut_Mid[24]
Definition: CSCTFPtLUT.h:53
static const int dEtaCut_Low[24]
Definition: CSCTFPtLUT.h:52
void readLUT()
Definition: CSCTFPtLUT.cc:1465
edm::FileInPath pt_lut_file
Definition: CSCTFPtLUT.h:69
static const int dEtaCut_High_A[24]
Definition: CSCTFPtLUT.h:54
unsigned trackQuality(const unsigned &eta, const unsigned &mode, const unsigned &fr) const
Definition: CSCTFPtLUT.cc:1346
class pt_address ptadd
class pt_data ptdat
const std::vector< double > ptScale
Definition: Utilities.cc:33
ptdat calcPt(const ptadd &) const
Definition: CSCTFPtLUT.cc:231
static const int dEtaCut_Open[24]
Definition: CSCTFPtLUT.h:57
static const int dPhiNLBMap_7bit[128]
Definition: CSCTFPtLUT.h:49
bool read_pt_lut
Definition: CSCTFPtLUT.h:68
bool isBinary
Definition: CSCTFPtLUT.h:68
const L1MuTriggerPtScale * trigger_ptscale
Definition: CSCTFPtLUT.h:65
static const int dEtaCut_High_B[24]
Definition: CSCTFPtLUT.h:55
static const int dPhiNLBMap_5bit[32]
KK.
Definition: CSCTFPtLUT.h:48