CMS 3D CMS Logo

PtAssignment.h
Go to the documentation of this file.
1 // calculte pT for a given InternalTrack
2 
3 #ifndef L1TRIGGER_L1TMUONENDCAP_PTASSIGNMENT_H
4 #define L1TRIGGER_L1TMUONENDCAP_PTASSIGNMENT_H
5 
9 #include "TGraph.h"
10 
11 namespace l1t {
12 
14  public:
15  EmtfPtAssignment(const char * tree_dir="L1Trigger/L1TMuon/data/emtf_luts/v_16_02_21/ModeVariables/trees");
16 
17  unsigned long calculateAddress(L1TMuon::InternalTrack track, const edm::EventSetup& es, int mode);
18  float calculatePt(unsigned long Address);
19 
20  private:
21  // DT Forest: a proper CondFormat replacement already exists, but is not yet integrated here yet:
22  std::vector<int> allowedModes_;
24 
25  };
26 
27 }
28 
29 #endif
std::vector< int > allowedModes_
Definition: PtAssignment.h:22
float calculatePt(unsigned long Address)
delete x;
Definition: CaloConfig.h:22
unsigned long calculateAddress(L1TMuon::InternalTrack track, const edm::EventSetup &es, int mode)
L1TForest forest_[16]
Definition: PtAssignment.h:23
EmtfPtAssignment(const char *tree_dir="L1Trigger/L1TMuon/data/emtf_luts/v_16_02_21/ModeVariables/trees")
Definition: PtAssignment.cc:22