Main Page
Namespaces
Classes
Package Documentation
src
L1Trigger
L1TMuonBarrel
src
L1MuBMEtaProcessor.h
Go to the documentation of this file.
1
//-------------------------------------------------
2
//
17
//
18
//--------------------------------------------------
19
#ifndef L1MUBM_ETA_PROCESSOR_H
20
#define L1MUBM_ETA_PROCESSOR_H
21
22
//---------------
23
// C++ Headers --
24
//---------------
25
26
#include <vector>
27
28
//----------------------
29
// Base Class Headers --
30
//----------------------
31
32
//------------------------------------
33
// Collaborating Class Declarations --
34
//------------------------------------
35
36
#include <
DataFormats/Common/interface/Handle.h
>
37
#include <
FWCore/Framework/interface/Event.h
>
38
#include <
FWCore/Framework/interface/ESHandle.h
>
39
#include <
FWCore/Framework/interface/EventSetup.h
>
40
#include "
FWCore/Utilities/interface/EDGetToken.h
"
41
#include "
DataFormats/L1TMuon/interface/BMTF/L1MuBMAddressArray.h
"
42
#include "
DataFormats/L1DTTrackFinder/interface/L1MuDTChambThDigi.h
"
43
#include "
DataFormats/L1DTTrackFinder/interface/L1MuDTChambThContainer.h
"
44
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
45
#include "
CondFormats/L1TObjects/interface/L1TMuonBarrelParams.h
"
46
#include "
CondFormats/DataRecord/interface/L1TMuonBarrelParamsRcd.h
"
47
48
#include "
L1Trigger/L1TMuonBarrel/interface/L1MuBMTQualPatternLut.h
"
49
#include "
L1Trigger/L1TMuonBarrel/interface/L1MuBMTEtaPatternLut.h
"
50
51
class
L1MuBMTrackSegEta
;
52
class
L1MuBMTrackFinder
;
53
class
L1MuBMTrack
;
54
class
L1MuBMTEtaPatternLut
;
55
class
L1MuBMTQualPatternLut
;
56
class
L1MuDTTFMasks
;
57
58
// ---------------------
59
// -- Class Interface --
60
// ---------------------
61
62
class
L1MuBMEtaProcessor
{
63
64
public
:
65
67
L1MuBMEtaProcessor
(
const
L1MuBMTrackFinder
&,
int
id
,
edm::ConsumesCollector
&& iC );
68
70
virtual
~L1MuBMEtaProcessor
();
71
73
inline
int
id
()
const
{
return
m_epid
; }
74
76
virtual
void
run
(
int
bx,
const
edm::Event
&
e
,
const
edm::EventSetup
&
c
);
77
79
virtual
void
reset
();
80
82
void
print
()
const
;
83
85
inline
const
L1MuBMTrackFinder
&
tf
()
const
{
return
m_tf
; }
86
88
inline
int
eta
(
int
id
)
const
{
return
m_eta
[
id
]; }
89
91
inline
bool
fineBit
(
int
id
)
const
{
return
m_fine
[
id
]; }
92
93
private
:
94
96
void
receiveData
(
int
bx,
const
edm::Event
& e,
const
edm::EventSetup
& c);
97
99
void
receiveAddresses
();
100
102
void
runEtaTrackFinder
(
const
edm::EventSetup
& c);
103
105
void
runEtaMatchingUnit
(
const
edm::EventSetup
& c);
106
108
void
assign
();
109
111
static
int
quality
(
int
id
,
int
stat
);
112
113
private
:
114
115
const
L1MuBMTrackFinder
&
m_tf
;
116
int
m_epid
;
117
118
int
m_mask
;
119
120
int
m_eta
[12];
121
bool
m_fine
[12];
122
123
std::vector<int>
m_foundPattern
;
124
int
m_pattern
[12];
125
126
int
m_address
[12];
127
L1MuBMTrack
*
m_TrackCand
[12];
128
L1MuBMTrack
*
m_TracKCand
[12];
129
std::vector<const L1MuBMTrackSegEta*>
m_tseta
;
130
131
//edm::ESHandle< L1MuDTEtaPatternLut > theEtaPatternLUT; // ETF look-up table
132
//edm::ESHandle< L1MuDTQualPatternLut > theQualPatternLUT; // EMU look-up tables
133
//edm::ESHandle< L1MuDTTFMasks > msks;
134
edm::ESHandle< L1TMuonBarrelParams >
bmtfParamsHandle
;
135
L1MuDTTFMasks
msks
;
136
L1MuBMTEtaPatternLut
theEtaPatternLUT
;
// ETF look-up table
137
L1MuBMTQualPatternLut
theQualPatternLUT
;
// EMU look-up tables
138
139
edm::EDGetTokenT<L1MuDTChambThContainer>
m_DTDigiToken
;
140
141
};
142
143
#endif
L1MuBMEtaProcessor::tf
const L1MuBMTrackFinder & tf() const
return reference to barrel MTTF
Definition:
L1MuBMEtaProcessor.h:85
L1MuBMTQualPatternLut
Definition:
L1MuBMTQualPatternLut.h:44
L1MuDTChambThDigi.h
L1MuBMEtaProcessor::bmtfParamsHandle
edm::ESHandle< L1TMuonBarrelParams > bmtfParamsHandle
Definition:
L1MuBMEtaProcessor.h:134
L1MuBMEtaProcessor::m_tf
const L1MuBMTrackFinder & m_tf
Definition:
L1MuBMEtaProcessor.h:115
EDGetToken.h
stat
L1MuDTTFMasks
Definition:
L1MuDTTFMasks.h:40
L1MuBMEtaProcessor::run
virtual void run(int bx, const edm::Event &e, const edm::EventSetup &c)
run the Eta Processor
Definition:
L1MuBMEtaProcessor.cc:87
L1MuBMEtaProcessor::m_TrackCand
L1MuBMTrack * m_TrackCand[12]
Definition:
L1MuBMEtaProcessor.h:127
L1MuBMEtaProcessor::receiveData
void receiveData(int bx, const edm::Event &e, const edm::EventSetup &c)
receive data (eta trigger primitives)
Definition:
L1MuBMEtaProcessor.cc:217
L1MuBMEtaProcessor
Definition:
L1MuBMEtaProcessor.h:62
L1MuBMEtaProcessor::m_TracKCand
L1MuBMTrack * m_TracKCand[12]
Definition:
L1MuBMEtaProcessor.h:128
Event.h
EnergyCorrector.c
c
Definition:
EnergyCorrector.py:44
EventSetup.h
L1MuBMEtaProcessor::msks
L1MuDTTFMasks msks
Definition:
L1MuBMEtaProcessor.h:135
L1MuBMEtaProcessor::m_epid
int m_epid
Definition:
L1MuBMEtaProcessor.h:116
L1MuBMEtaProcessor::m_fine
bool m_fine[12]
Definition:
L1MuBMEtaProcessor.h:121
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
L1MuBMEtaProcessor::fineBit
bool fineBit(int id) const
return fine bit, index [0,11]
Definition:
L1MuBMEtaProcessor.h:91
L1MuBMEtaProcessor::reset
virtual void reset()
reset the Eta Processor
Definition:
L1MuBMEtaProcessor.cc:105
L1TMuonBarrelParams.h
L1MuBMEtaProcessor::m_pattern
int m_pattern[12]
Definition:
L1MuBMEtaProcessor.h:124
edm::EDGetTokenT< L1MuDTChambThContainer >
L1MuBMTrackSegEta
Definition:
L1MuBMTrackSegEta.h:41
L1MuBMEtaProcessor::theEtaPatternLUT
L1MuBMTEtaPatternLut theEtaPatternLUT
Definition:
L1MuBMEtaProcessor.h:136
L1MuBMTQualPatternLut.h
L1MuBMEtaProcessor::runEtaMatchingUnit
void runEtaMatchingUnit(const edm::EventSetup &c)
run Eta Matching Unit (EMU)
Definition:
L1MuBMEtaProcessor.cc:364
edm::ESHandle< L1TMuonBarrelParams >
L1MuBMEtaProcessor::m_eta
int m_eta[12]
Definition:
L1MuBMEtaProcessor.h:120
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:57
L1MuBMEtaProcessor::print
void print() const
print muon candidates found by the Eta Processor
Definition:
L1MuBMEtaProcessor.cc:137
L1MuBMEtaProcessor::m_foundPattern
std::vector< int > m_foundPattern
Definition:
L1MuBMEtaProcessor.h:123
L1MuBMEtaProcessor::L1MuBMEtaProcessor
L1MuBMEtaProcessor(const L1MuBMTrackFinder &, int id, edm::ConsumesCollector &&iC)
constructor
Definition:
L1MuBMEtaProcessor.cc:64
L1MuBMEtaProcessor::id
int id() const
return Eta Processor identifier (0-11)
Definition:
L1MuBMEtaProcessor.h:73
L1MuBMEtaProcessor::m_DTDigiToken
edm::EDGetTokenT< L1MuDTChambThContainer > m_DTDigiToken
Definition:
L1MuBMEtaProcessor.h:139
L1MuBMAddressArray.h
L1MuBMEtaProcessor::assign
void assign()
assign eta and etaFineBit
Definition:
L1MuBMEtaProcessor.cc:434
L1MuBMTEtaPatternLut
Definition:
L1MuBMTEtaPatternLut.h:42
L1MuBMTrackFinder
Definition:
L1MuBMTrackFinder.h:67
L1MuBMTEtaPatternLut.h
L1MuBMEtaProcessor::runEtaTrackFinder
void runEtaTrackFinder(const edm::EventSetup &c)
run Eta Track Finder (ETF)
Definition:
L1MuBMEtaProcessor.cc:313
L1MuBMTrack
Definition:
L1MuBMTrack.h:51
L1MuBMEtaProcessor::quality
static int quality(int id, int stat)
get quality code; id [0,26], stat [1,3]
Definition:
L1MuBMEtaProcessor.cc:471
L1MuBMEtaProcessor::receiveAddresses
void receiveAddresses()
receive addresses (from 6 Sector Processors)
Definition:
L1MuBMEtaProcessor.cc:282
L1MuBMEtaProcessor::m_address
int m_address[12]
Definition:
L1MuBMEtaProcessor.h:126
L1MuBMEtaProcessor::eta
int eta(int id) const
return eta values, index [0,11]
Definition:
L1MuBMEtaProcessor.h:88
L1MuDTChambThContainer.h
L1MuBMEtaProcessor::m_tseta
std::vector< const L1MuBMTrackSegEta * > m_tseta
Definition:
L1MuBMEtaProcessor.h:129
L1MuBMEtaProcessor::~L1MuBMEtaProcessor
virtual ~L1MuBMEtaProcessor()
destructor
Definition:
L1MuBMEtaProcessor.cc:77
L1MuBMEtaProcessor::m_mask
int m_mask
Definition:
L1MuBMEtaProcessor.h:118
edm::Event
Definition:
Event.h:71
ConsumesCollector.h
L1TMuonBarrelParamsRcd.h
L1MuBMEtaProcessor::theQualPatternLUT
L1MuBMTQualPatternLut theQualPatternLUT
Definition:
L1MuBMEtaProcessor.h:137
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
Handle.h
Generated for CMSSW Reference Manual by
1.8.11