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 
13 
15 {
16 public:
20 
22  const L1MuTriggerScales* scales,
23  const L1MuTriggerPtScale* ptScale);
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  private:
43  static ptdat* pt_lut;
44  static bool lut_read_in;
48 
52 
53 
54  ptdat calcPt(const ptadd&) const;
55  unsigned trackQuality(const unsigned& eta, const unsigned& mode) const;
56  void readLUT();
57 };
58 
59 #endif
CSCTFPtMethods ptMethods
Definition: CSCTFPtLUT.h:47
CSCTFPtLUT & operator=(const CSCTFPtLUT &)
const L1MuTriggerScales * trigger_scale
Definition: CSCTFPtLUT.h:45
ptdat Pt(const ptadd &) const
Definition: CSCTFPtLUT.cc:104
unsigned lowQualityFlag
Definition: CSCTFPtLUT.h:51
CSCTFPtLUT(const edm::EventSetup &c)
KK.
Definition: CSCTFPtLUT.cc:33
bool isBeamStartConf
Definition: CSCTFPtLUT.h:49
#define NULL
Definition: scimark2.h:8
static bool lut_read_in
Definition: CSCTFPtLUT.h:44
unsigned pt_method
Definition: CSCTFPtLUT.h:51
T eta() const
static ptdat * pt_lut
Definition: CSCTFPtLUT.h:43
unsigned trackQuality(const unsigned &eta, const unsigned &mode) const
Definition: CSCTFPtLUT.cc:429
void readLUT()
Definition: CSCTFPtLUT.cc:521
edm::FileInPath pt_lut_file
Definition: CSCTFPtLUT.h:50
class pt_address ptadd
class pt_data ptdat
int mode
Definition: AMPTWrapper.h:139
ptdat calcPt(const ptadd &) const
Definition: CSCTFPtLUT.cc:152
bool read_pt_lut
Definition: CSCTFPtLUT.h:49
bool isBinary
Definition: CSCTFPtLUT.h:49
const L1MuTriggerPtScale * trigger_ptscale
Definition: CSCTFPtLUT.h:46