CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
12 namespace l1t {
13 
15  public:
16  EmtfPtAssignment(const char * tree_dir="L1Trigger/L1TMuon/data/emtf_luts/v_16_02_21/ModeVariables/trees");
17 
18  unsigned long calculateAddress(L1TMuon::InternalTrack track, const edm::EventSetup& es, int mode);
19  float calculatePt(unsigned long Address);
20 
21 
22  private:
23  // DT Forest: a proper CondFormat replacement already exists, but is not yet integrated here yet:
24  std::vector<int> allowedModes_;
26 
27  };
28 
29 
30 }
31 
32 #endif
std::vector< int > allowedModes_
Definition: PtAssignment.h:24
float calculatePt(unsigned long Address)
unsigned long calculateAddress(L1TMuon::InternalTrack track, const edm::EventSetup &es, int mode)
Definition: Forest.h:9
EmtfPtAssignment(const char *tree_dir="L1Trigger/L1TMuon/data/emtf_luts/v_16_02_21/ModeVariables/trees")
Definition: PtAssignment.cc:21