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 
15 {
16 public:
20 
22  const L1MuTriggerScales* scales,
24 
25  CSCTFPtLUT(const CSCTFPtLUT&);
26  ~CSCTFPtLUT() { if(pt_lut) delete [] pt_lut; pt_lut = NULL; }
27 
29 
30  ptdat Pt(const ptadd&) const;
31 
32  ptdat Pt(const unsigned&) const;
33 
34  ptdat Pt(const unsigned& delta_phi_12, const unsigned& delta_phi23,
35  const unsigned& track_eta, const unsigned& track_mode,
36  const unsigned& track_fr, const unsigned& delta_phi_sign) const;
37 
38  ptdat Pt(const unsigned& delta_phi_12, const unsigned& track_eta,
39  const unsigned& track_mode, const unsigned& track_fr,
40  const unsigned& delta_phi_sign) const;
41 
42  static const int dPhiNLBMap_5bit[32];
43  static const int dPhiNLBMap_7bit[128];
44  static const int dPhiNLBMap_8bit[256];
45 
46 
47  static const int dEtaCut_Low[24];
48  static const int dEtaCut_Mid[24];
49  static const int dEtaCut_High_A[24];
50  static const int dEtaCut_High_B[24];
51  static const int dEtaCut_High_C[24];
52  static const int dEtaCut_Open[24];
53 
54  static const int getPtbyMLH;
55 
56  private:
57  static ptdat* pt_lut;
58  static bool lut_read_in;
62 
66 
67 
68  ptdat calcPt(const ptadd&) const;
69  //unsigned trackQuality(const unsigned& eta, const unsigned& mode) const;
70  unsigned trackQuality(const unsigned& eta, const unsigned& mode, const unsigned& fr) const;
71  void readLUT();
72 };
73 
74 #endif
const std::vector< Double_t > ptScale
Definition: Utilities.cc:32
CSCTFPtMethods ptMethods
Definition: CSCTFPtLUT.h:61
CSCTFPtLUT & operator=(const CSCTFPtLUT &)
const L1MuTriggerScales * trigger_scale
Definition: CSCTFPtLUT.h:59
ptdat Pt(const ptadd &) const
Definition: CSCTFPtLUT.cc:183
unsigned lowQualityFlag
Definition: CSCTFPtLUT.h:65
CSCTFPtLUT(const edm::EventSetup &c)
KK.
Definition: CSCTFPtLUT.cc:81
bool isBeamStartConf
Definition: CSCTFPtLUT.h:63
#define NULL
Definition: scimark2.h:8
static bool lut_read_in
Definition: CSCTFPtLUT.h:58
static const int getPtbyMLH
Definition: CSCTFPtLUT.h:54
unsigned pt_method
Definition: CSCTFPtLUT.h:65
static ptdat * pt_lut
Definition: CSCTFPtLUT.h:57
static const int dEtaCut_High_C[24]
Definition: CSCTFPtLUT.h:51
static const int dPhiNLBMap_8bit[256]
Definition: CSCTFPtLUT.h:44
static const int dEtaCut_Mid[24]
Definition: CSCTFPtLUT.h:48
static const int dEtaCut_Low[24]
Definition: CSCTFPtLUT.h:47
void readLUT()
Definition: CSCTFPtLUT.cc:1434
edm::FileInPath pt_lut_file
Definition: CSCTFPtLUT.h:64
static const int dEtaCut_High_A[24]
Definition: CSCTFPtLUT.h:49
unsigned trackQuality(const unsigned &eta, const unsigned &mode, const unsigned &fr) const
Definition: CSCTFPtLUT.cc:1331
class pt_address ptadd
class pt_data ptdat
ptdat calcPt(const ptadd &) const
Definition: CSCTFPtLUT.cc:233
static const int dEtaCut_Open[24]
Definition: CSCTFPtLUT.h:52
static const int dPhiNLBMap_7bit[128]
Definition: CSCTFPtLUT.h:43
bool read_pt_lut
Definition: CSCTFPtLUT.h:63
bool isBinary
Definition: CSCTFPtLUT.h:63
const L1MuTriggerPtScale * trigger_ptscale
Definition: CSCTFPtLUT.h:60
static const int dEtaCut_High_B[24]
Definition: CSCTFPtLUT.h:50
static const int dPhiNLBMap_5bit[32]
KK.
Definition: CSCTFPtLUT.h:42