Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
L1Trigger
L1TMuonEndCap
interface
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
6
#include "
FWCore/Framework/interface/EventSetup.h
"
7
#include "
L1Trigger/L1TMuonEndCap/interface/MuonInternalTrack.h
"
8
#include "
L1Trigger/L1TMuonEndCap/interface/Forest.h
"
9
#include "TGraph.h"
10
11
namespace
l1t {
12
13
class
EmtfPtAssignment
{
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_
;
23
L1TForest
forest_
[16];
24
25
};
26
27
}
28
29
#endif
l1t::EmtfPtAssignment::allowedModes_
std::vector< int > allowedModes_
Definition:
PtAssignment.h:22
EventSetup.h
Forest.h
l1t::EmtfPtAssignment::calculatePt
float calculatePt(unsigned long Address)
Definition:
PtAssignment.cc:435
l1t::EmtfPtAssignment
Definition:
PtAssignment.h:13
universalConfigTemplate.mode
mode
Definition:
universalConfigTemplate.py:80
l1t::EmtfPtAssignment::calculateAddress
unsigned long calculateAddress(L1TMuon::InternalTrack track, const edm::EventSetup &es, int mode)
Definition:
PtAssignment.cc:868
edm::EventSetup
Definition:
EventSetup.h:45
l1t::EmtfPtAssignment::forest_
L1TForest forest_[16]
Definition:
PtAssignment.h:23
l1t::EmtfPtAssignment::EmtfPtAssignment
EmtfPtAssignment(const char *tree_dir="L1Trigger/L1TMuon/data/emtf_luts/v_16_02_21/ModeVariables/trees")
Definition:
PtAssignment.cc:21
L1TForest
Definition:
Forest.h:9
L1TMuon::InternalTrack
Definition:
MuonInternalTrack.h:37
MuonInternalTrack.h
Generated for CMSSW Reference Manual by
1.8.5