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
class
L1TMuonBarrelParamsRcd
;
58
59
// ---------------------
60
// -- Class Interface --
61
// ---------------------
62
63
class
L1MuBMEtaProcessor
{
64
public
:
66
L1MuBMEtaProcessor
(
const
L1MuBMTrackFinder
&,
int
id
,
edm::ConsumesCollector
&& iC);
67
69
virtual
~L1MuBMEtaProcessor
();
70
72
inline
int
id
()
const
{
return
m_epid
; }
73
75
virtual
void
run
(
int
bx
,
const
edm::Event
&
e
,
const
edm::EventSetup
&
c
);
76
78
virtual
void
reset
();
79
81
void
print
()
const
;
82
84
inline
const
L1MuBMTrackFinder
&
tf
()
const
{
return
m_tf
; }
85
87
inline
int
eta
(
int
id
)
const
{
return
m_eta
[
id
]; }
88
90
inline
bool
fineBit
(
int
id
)
const
{
return
m_fine
[
id
]; }
91
92
private
:
94
void
receiveData
(
int
bx
,
const
edm::Event
&
e
,
const
L1TMuonBarrelParams
&
params
);
95
97
void
receiveAddresses
();
98
100
void
runEtaTrackFinder
(
const
L1TMuonBarrelParams
&
params
);
101
103
void
runEtaMatchingUnit
(
const
L1TMuonBarrelParams
&
params
);
104
106
void
assign
();
107
109
static
int
quality
(
int
id
,
int
stat
);
110
111
private
:
112
const
L1MuBMTrackFinder
&
m_tf
;
113
int
m_epid
;
114
115
int
m_mask
;
116
117
int
m_eta
[12];
118
bool
m_fine
[12];
119
120
std::vector<int>
m_foundPattern
;
121
int
m_pattern
[12];
122
123
int
m_address
[12];
124
L1MuBMTrack
*
m_TrackCand
[12];
125
L1MuBMTrack
*
m_TracKCand
[12];
126
std::vector<const L1MuBMTrackSegEta*>
m_tseta
;
127
128
edm::ESGetToken<L1TMuonBarrelParams, L1TMuonBarrelParamsRcd>
m_bmtfParamsToken
;
129
L1MuDTTFMasks
msks
;
130
L1MuBMTEtaPatternLut
theEtaPatternLUT
;
// ETF look-up table
131
L1MuBMTQualPatternLut
theQualPatternLUT
;
// EMU look-up tables
132
133
edm::EDGetTokenT<L1MuDTChambThContainer>
m_DTDigiToken
;
134
};
135
136
#endif
L1MuBMTQualPatternLut
Definition:
L1MuBMTQualPatternLut.h:42
L1MuDTChambThDigi.h
L1MuBMEtaProcessor::m_bmtfParamsToken
edm::ESGetToken< L1TMuonBarrelParams, L1TMuonBarrelParamsRcd > m_bmtfParamsToken
Definition:
L1MuBMEtaProcessor.h:128
L1MuBMEtaProcessor::fineBit
bool fineBit(int id) const
return fine bit, index [0,11]
Definition:
L1MuBMEtaProcessor.h:90
L1MuBMEtaProcessor::m_tf
const L1MuBMTrackFinder & m_tf
Definition:
L1MuBMEtaProcessor.h:112
stat
L1MuDTTFMasks
Definition:
L1MuDTTFMasks.h:36
L1MuBMEtaProcessor::run
virtual void run(int bx, const edm::Event &e, const edm::EventSetup &c)
run the Eta Processor
Definition:
L1MuBMEtaProcessor.cc:87
L1TMuonBarrelParamsRcd
Definition:
L1TMuonBarrelParamsRcd.h:14
L1MuBMEtaProcessor::m_TrackCand
L1MuBMTrack * m_TrackCand[12]
Definition:
L1MuBMEtaProcessor.h:124
l1GtPatternGenerator_cfi.bx
bx
Definition:
l1GtPatternGenerator_cfi.py:18
L1MuBMEtaProcessor
Definition:
L1MuBMEtaProcessor.h:63
L1MuBMEtaProcessor::m_TracKCand
L1MuBMTrack * m_TracKCand[12]
Definition:
L1MuBMEtaProcessor.h:125
Event.h
L1TMuonBarrelParams
Definition:
L1TMuonBarrelParams.h:23
EventSetup.h
L1MuBMEtaProcessor::msks
L1MuDTTFMasks msks
Definition:
L1MuBMEtaProcessor.h:129
L1MuBMEtaProcessor::m_epid
int m_epid
Definition:
L1MuBMEtaProcessor.h:113
L1MuBMEtaProcessor::m_fine
bool m_fine[12]
Definition:
L1MuBMEtaProcessor.h:118
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
L1MuBMEtaProcessor::reset
virtual void reset()
reset the Eta Processor
Definition:
L1MuBMEtaProcessor.cc:103
L1TMuonBarrelParams.h
L1MuBMEtaProcessor::m_pattern
int m_pattern[12]
Definition:
L1MuBMEtaProcessor.h:121
edm::EDGetTokenT< L1MuDTChambThContainer >
HltBtagPostValidation_cff.c
c
Definition:
HltBtagPostValidation_cff.py:31
L1MuBMTrackSegEta
Definition:
L1MuBMTrackSegEta.h:41
L1MuBMEtaProcessor::theEtaPatternLUT
L1MuBMTEtaPatternLut theEtaPatternLUT
Definition:
L1MuBMEtaProcessor.h:130
L1MuBMTQualPatternLut.h
edm::ESGetToken< L1TMuonBarrelParams, L1TMuonBarrelParamsRcd >
L1MuBMEtaProcessor::eta
int eta(int id) const
return eta values, index [0,11]
Definition:
L1MuBMEtaProcessor.h:87
L1MuBMEtaProcessor::tf
const L1MuBMTrackFinder & tf() const
return reference to barrel MTTF
Definition:
L1MuBMEtaProcessor.h:84
L1MuBMEtaProcessor::m_eta
int m_eta[12]
Definition:
L1MuBMEtaProcessor.h:117
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:56
L1MuBMEtaProcessor::id
int id() const
return Eta Processor identifier (0-11)
Definition:
L1MuBMEtaProcessor.h:72
L1MuBMEtaProcessor::m_foundPattern
std::vector< int > m_foundPattern
Definition:
L1MuBMEtaProcessor.h:120
L1MuBMEtaProcessor::receiveData
void receiveData(int bx, const edm::Event &e, const L1TMuonBarrelParams ¶ms)
receive data (eta trigger primitives)
Definition:
L1MuBMEtaProcessor.cc:213
EDGetToken.h
submitPVValidationJobs.params
def params
Definition:
submitPVValidationJobs.py:482
L1MuBMEtaProcessor::L1MuBMEtaProcessor
L1MuBMEtaProcessor(const L1MuBMTrackFinder &, int id, edm::ConsumesCollector &&iC)
constructor
Definition:
L1MuBMEtaProcessor.cc:64
L1MuBMEtaProcessor::m_DTDigiToken
edm::EDGetTokenT< L1MuDTChambThContainer > m_DTDigiToken
Definition:
L1MuBMEtaProcessor.h:133
L1MuBMAddressArray.h
L1MuBMEtaProcessor::assign
void assign()
assign eta and etaFineBit
Definition:
L1MuBMEtaProcessor.cc:418
L1MuBMTEtaPatternLut
Definition:
L1MuBMTEtaPatternLut.h:41
L1MuBMEtaProcessor::runEtaMatchingUnit
void runEtaMatchingUnit(const L1TMuonBarrelParams ¶ms)
run Eta Matching Unit (EMU)
Definition:
L1MuBMEtaProcessor.cc:354
L1MuBMTrackFinder
Definition:
L1MuBMTrackFinder.h:71
L1MuBMEtaProcessor::runEtaTrackFinder
void runEtaTrackFinder(const L1TMuonBarrelParams ¶ms)
run Eta Track Finder (ETF)
Definition:
L1MuBMEtaProcessor.cc:308
L1MuBMTEtaPatternLut.h
L1MuBMTrack
Definition:
L1MuBMTrack.h:49
L1MuBMEtaProcessor::quality
static int quality(int id, int stat)
get quality code; id [0,26], stat [1,3]
Definition:
L1MuBMEtaProcessor.cc:452
L1MuBMEtaProcessor::receiveAddresses
void receiveAddresses()
receive addresses (from 6 Sector Processors)
Definition:
L1MuBMEtaProcessor.cc:279
L1MuBMEtaProcessor::m_address
int m_address[12]
Definition:
L1MuBMEtaProcessor.h:123
L1MuBMEtaProcessor::print
void print() const
print muon candidates found by the Eta Processor
Definition:
L1MuBMEtaProcessor.cc:132
L1MuDTChambThContainer.h
L1MuBMEtaProcessor::m_tseta
std::vector< const L1MuBMTrackSegEta * > m_tseta
Definition:
L1MuBMEtaProcessor.h:126
L1MuBMEtaProcessor::~L1MuBMEtaProcessor
virtual ~L1MuBMEtaProcessor()
destructor
Definition:
L1MuBMEtaProcessor.cc:78
L1MuBMEtaProcessor::m_mask
int m_mask
Definition:
L1MuBMEtaProcessor.h:115
edm::Event
Definition:
Event.h:73
ConsumesCollector.h
L1TMuonBarrelParamsRcd.h
L1MuBMEtaProcessor::theQualPatternLUT
L1MuBMTQualPatternLut theQualPatternLUT
Definition:
L1MuBMEtaProcessor.h:131
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
Handle.h
Generated for CMSSW Reference Manual by
1.8.14