Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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 "
L1Trigger/L1TMuonBarrel/src/L1MuBMAddressArray.h
"
42
#include "
DataFormats/L1DTTrackFinder/interface/L1MuDTChambThDigi.h
"
43
#include "
DataFormats/L1DTTrackFinder/interface/L1MuDTChambThContainer.h
"
44
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
45
46
class
L1MuBMTrackSegEta
;
47
class
L1MuBMTrackFinder
;
48
class
L1MuBMTrack
;
49
class
L1MuDTEtaPatternLut
;
50
class
L1MuDTQualPatternLut
;
51
class
L1MuDTTFMasks
;
52
53
// ---------------------
54
// -- Class Interface --
55
// ---------------------
56
57
class
L1MuBMEtaProcessor
{
58
59
public
:
60
62
L1MuBMEtaProcessor
(
const
L1MuBMTrackFinder
&,
int
id
,
edm::ConsumesCollector
&& iC );
63
65
virtual
~L1MuBMEtaProcessor
();
66
68
inline
int
id
()
const
{
return
m_epid
; }
69
71
virtual
void
run
(
int
bx,
const
edm::Event
&
e
,
const
edm::EventSetup
&
c
);
72
74
virtual
void
reset
();
75
77
void
print
()
const
;
78
80
inline
const
L1MuBMTrackFinder
&
tf
()
const
{
return
m_tf
; }
81
83
inline
int
eta
(
int
id
)
const
{
return
m_eta
[
id
]; }
84
86
inline
bool
fineBit
(
int
id
)
const
{
return
m_fine
[
id
]; }
87
88
private
:
89
91
void
receiveData
(
int
bx,
const
edm::Event
&
e
,
const
edm::EventSetup
&
c
);
92
94
void
receiveAddresses
();
95
97
void
runEtaTrackFinder
(
const
edm::EventSetup
&
c
);
98
100
void
runEtaMatchingUnit
(
const
edm::EventSetup
&
c
);
101
103
void
assign
();
104
106
static
int
quality
(
int
id
,
int
stat);
107
108
private
:
109
110
const
L1MuBMTrackFinder
&
m_tf
;
111
int
m_epid
;
112
113
int
m_mask
;
114
115
int
m_eta
[12];
116
bool
m_fine
[12];
117
118
std::vector<int>
m_foundPattern
;
119
int
m_pattern
[12];
120
121
int
m_address
[12];
122
L1MuBMTrack
*
m_TrackCand
[12];
123
L1MuBMTrack
*
m_TracKCand
[12];
124
std::vector<const L1MuBMTrackSegEta*>
m_tseta
;
125
126
edm::ESHandle< L1MuDTEtaPatternLut >
theEtaPatternLUT
;
// ETF look-up table
127
edm::ESHandle< L1MuDTQualPatternLut >
theQualPatternLUT
;
// EMU look-up tables
128
edm::ESHandle< L1MuDTTFMasks >
msks
;
129
130
edm::EDGetTokenT<L1MuDTChambThContainer>
m_DTDigiToken
;
131
132
};
133
134
#endif
L1MuBMEtaProcessor::tf
const L1MuBMTrackFinder & tf() const
return reference to barrel MTTF
Definition:
L1MuBMEtaProcessor.h:80
L1MuDTChambThDigi.h
L1MuBMEtaProcessor::msks
edm::ESHandle< L1MuDTTFMasks > msks
Definition:
L1MuBMEtaProcessor.h:128
L1MuBMEtaProcessor::m_tf
const L1MuBMTrackFinder & m_tf
Definition:
L1MuBMEtaProcessor.h:110
EDGetToken.h
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:84
L1MuBMEtaProcessor::m_TrackCand
L1MuBMTrack * m_TrackCand[12]
Definition:
L1MuBMEtaProcessor.h:122
L1MuBMEtaProcessor::receiveData
void receiveData(int bx, const edm::Event &e, const edm::EventSetup &c)
receive data (eta trigger primitives)
Definition:
L1MuBMEtaProcessor.cc:214
L1MuBMEtaProcessor
Definition:
L1MuBMEtaProcessor.h:57
L1MuBMEtaProcessor::m_TracKCand
L1MuBMTrack * m_TracKCand[12]
Definition:
L1MuBMEtaProcessor.h:123
Event.h
EventSetup.h
L1MuBMEtaProcessor::m_epid
int m_epid
Definition:
L1MuBMEtaProcessor.h:111
L1MuBMEtaProcessor::m_fine
bool m_fine[12]
Definition:
L1MuBMEtaProcessor.h:116
L1MuBMEtaProcessor::theQualPatternLUT
edm::ESHandle< L1MuDTQualPatternLut > theQualPatternLUT
Definition:
L1MuBMEtaProcessor.h:127
L1MuBMEtaProcessor::fineBit
bool fineBit(int id) const
return fine bit, index [0,11]
Definition:
L1MuBMEtaProcessor.h:86
Handle.h
L1MuBMEtaProcessor::reset
virtual void reset()
reset the Eta Processor
Definition:
L1MuBMEtaProcessor.cc:102
L1MuBMEtaProcessor::m_pattern
int m_pattern[12]
Definition:
L1MuBMEtaProcessor.h:119
EnergyCorrector.c
tuple c
Definition:
EnergyCorrector.py:43
edm::EDGetTokenT< L1MuDTChambThContainer >
L1MuBMTrackSegEta
Definition:
L1MuBMTrackSegEta.h:36
L1MuDTQualPatternLut
Definition:
L1MuDTQualPatternLut.h:43
L1MuBMEtaProcessor::theEtaPatternLUT
edm::ESHandle< L1MuDTEtaPatternLut > theEtaPatternLUT
Definition:
L1MuBMEtaProcessor.h:126
L1MuBMEtaProcessor::runEtaMatchingUnit
void runEtaMatchingUnit(const edm::EventSetup &c)
run Eta Matching Unit (EMU)
Definition:
L1MuBMEtaProcessor.cc:351
edm::ESHandle< L1MuDTEtaPatternLut >
L1MuBMEtaProcessor::m_eta
int m_eta[12]
Definition:
L1MuBMEtaProcessor.h:115
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:45
L1MuDTEtaPatternLut
Definition:
L1MuDTEtaPatternLut.h:41
L1MuBMEtaProcessor::print
void print() const
print muon candidates found by the Eta Processor
Definition:
L1MuBMEtaProcessor.cc:134
L1MuBMEtaProcessor::m_foundPattern
std::vector< int > m_foundPattern
Definition:
L1MuBMEtaProcessor.h:118
L1MuBMEtaProcessor::L1MuBMEtaProcessor
L1MuBMEtaProcessor(const L1MuBMTrackFinder &, int id, edm::ConsumesCollector &&iC)
constructor
Definition:
L1MuBMEtaProcessor.cc:61
L1MuBMEtaProcessor::id
int id() const
return Eta Processor identifier (0-11)
Definition:
L1MuBMEtaProcessor.h:68
L1MuBMEtaProcessor::m_DTDigiToken
edm::EDGetTokenT< L1MuDTChambThContainer > m_DTDigiToken
Definition:
L1MuBMEtaProcessor.h:130
L1MuBMAddressArray.h
L1MuBMEtaProcessor::assign
void assign()
assign eta and etaFineBit
Definition:
L1MuBMEtaProcessor.cc:426
L1MuBMTrackFinder
Definition:
L1MuBMTrackFinder.h:62
L1MuBMEtaProcessor::runEtaTrackFinder
void runEtaTrackFinder(const edm::EventSetup &c)
run Eta Track Finder (ETF)
Definition:
L1MuBMEtaProcessor.cc:304
L1MuBMTrack
Definition:
L1MuBMTrack.h:53
L1MuBMEtaProcessor::quality
static int quality(int id, int stat)
get quality code; id [0,26], stat [1,3]
Definition:
L1MuBMEtaProcessor.cc:463
L1MuBMEtaProcessor::receiveAddresses
void receiveAddresses()
receive addresses (from 6 Sector Processors)
Definition:
L1MuBMEtaProcessor.cc:273
alignCSCRings.e
list e
Definition:
alignCSCRings.py:90
L1MuBMEtaProcessor::m_address
int m_address[12]
Definition:
L1MuBMEtaProcessor.h:121
L1MuBMEtaProcessor::eta
int eta(int id) const
return eta values, index [0,11]
Definition:
L1MuBMEtaProcessor.h:83
L1MuDTChambThContainer.h
L1MuBMEtaProcessor::m_tseta
std::vector< const L1MuBMTrackSegEta * > m_tseta
Definition:
L1MuBMEtaProcessor.h:124
L1MuBMEtaProcessor::~L1MuBMEtaProcessor
virtual ~L1MuBMEtaProcessor()
destructor
Definition:
L1MuBMEtaProcessor.cc:74
L1MuBMEtaProcessor::m_mask
int m_mask
Definition:
L1MuBMEtaProcessor.h:113
edm::Event
Definition:
Event.h:65
ConsumesCollector.h
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
Generated for CMSSW Reference Manual by
1.8.5