L1Trigger
CSCTrackFinder
interface
CSCTFSectorProcessor.h
Go to the documentation of this file.
1
8
#ifndef CSCTrackFinder_CSCTFSectorProcessor_h
9
#define CSCTrackFinder_CSCTFSectorProcessor_h
10
11
#include <vector>
12
#include <map>
13
#include <string>
14
#include <
DataFormats/L1CSCTrackFinder/interface/L1CSCTrackCollection.h
>
15
#include <
DataFormats/L1CSCTrackFinder/interface/TrackStub.h
>
16
#include <
DataFormats/L1CSCTrackFinder/interface/CSCTriggerContainer.h
>
17
#include <
FWCore/ParameterSet/interface/ParameterSet.h
>
18
19
#include <
L1Trigger/CSCTrackFinder/interface/CSCSectorReceiverLUT.h
>
20
#include <
L1Trigger/CSCTrackFinder/interface/CSCTFSPCoreLogic.h
>
21
#include <
L1Trigger/CSCTrackFinder/interface/CSCTFPtLUT.h
>
23
#include <
FWCore/Framework/interface/EventSetup.h
>
25
26
class
CSCTFSectorProcessor
{
27
public
:
28
CSCTFSectorProcessor
(
const
unsigned
&
endcap
,
29
const
unsigned
& sector,
30
const
edm::ParameterSet
&
pset
,
31
bool
tmb07,
32
const
L1MuTriggerScales
* scales,
33
const
L1MuTriggerPtScale
*
ptScale
);
34
36
void
initialize
(
const
edm::EventSetup
&
c
);
38
39
~CSCTFSectorProcessor
();
40
41
//returns 0 for normal fail, 1 for success, and -1 for exception
42
// on -1, Producer should produce empty collections for event
43
int
run
(
const
CSCTriggerContainer<csctf::TrackStub>
&);
44
45
CSCTriggerContainer<csc::L1Track>
tracks
()
const
{
return
l1_tracks
; }
46
std::vector<csctf::TrackStub>
filteredStubs
()
const
{
return
stub_vec_filtered
; }
47
48
CSCTriggerContainer<csctf::TrackStub>
dtStubs
()
const
{
return
dt_stubs
; }
49
50
int
minBX
()
const
{
return
m_minBX
; }
51
int
maxBX
()
const
{
return
m_maxBX
; }
52
53
void
readParameters
(
const
edm::ParameterSet
&
pset
);
54
55
void
printDisclaimer
(
int
firmSP,
int
firmFA);
56
57
private
:
58
// disallow copy and assignment
59
CSCTFSectorProcessor
&
operator=
(
const
CSCTFSectorProcessor
& rhs) {
return
*
this
; };
60
CSCTFSectorProcessor
(
const
CSCTFSectorProcessor
& par) {}
61
62
bool
m_gangedME1a
;
63
64
bool
initializeFromPSet
;
65
unsigned
m_endcap
,
m_sector
,
TMB07
;
66
unsigned
m_latency
;
67
68
// All parameters below are signed to allow for uninitialized (<0) state
69
int
m_bxa_depth
,
m_allowALCTonly
,
m_allowCLCTonly
,
m_preTrigger
;
70
int
m_minBX
,
m_maxBX
;
71
int
m_etawin
[7],
m_etamin
[8],
m_etamax
[8];
72
int
m_mindphip
,
m_mindetap
;
73
int
m_mindeta12_accp
,
m_maxdeta12_accp
,
m_maxdphi12_accp
;
74
int
m_mindeta13_accp
,
m_maxdeta13_accp
,
m_maxdphi13_accp
;
75
int
m_mindeta112_accp
,
m_maxdeta112_accp
,
m_maxdphi112_accp
;
76
int
m_mindeta113_accp
,
m_maxdeta113_accp
,
m_maxdphi113_accp
;
77
int
m_mindphip_halo
,
m_mindetap_halo
;
78
int
m_straightp
,
m_curvedp
;
79
int
m_mbaPhiOff
,
m_mbbPhiOff
;
80
int
m_widePhi
;
81
82
// following parameters were moved here from the CSCTFTrackBuilder because they naturally belong here
83
int
QualityEnableME1a
,
QualityEnableME1b
,
QualityEnableME1c
,
QualityEnableME1d
,
QualityEnableME1e
,
QualityEnableME1f
;
84
int
QualityEnableME2a
,
QualityEnableME2b
,
QualityEnableME2c
;
85
int
QualityEnableME3a
,
QualityEnableME3b
,
QualityEnableME3c
;
86
int
QualityEnableME4a
,
QualityEnableME4b
,
QualityEnableME4c
;
87
int
kill_fiber
;
88
int
run_core
;
89
int
trigger_on_ME1a
,
trigger_on_ME1b
,
trigger_on_ME2
,
trigger_on_ME3
,
trigger_on_ME4
;
90
int
trigger_on_MB1a
,
trigger_on_MB1d
;
91
unsigned
int
singlesTrackOutput
;
92
int
rescaleSinglesPhi
;
93
94
int
m_firmSP
,
m_firmFA
,
m_firmDD
,
m_firmVM
;
95
96
CSCTriggerContainer<csc::L1Track>
l1_tracks
;
// fully defined L1Tracks
97
CSCTriggerContainer<csctf::TrackStub>
dt_stubs
;
// Track Stubs to be sent to the DTTF
98
std::vector<csctf::TrackStub>
99
stub_vec_filtered
;
// Collectin of stubs after applying kill_fiber and QualityEnable masks
100
101
static
const
std::string
FPGAs
[5];
102
103
std::map<std::string, CSCSectorReceiverLUT*>
srLUTs_
;
// indexed by FPGA
104
CSCTFSPCoreLogic
*
core_
;
105
CSCTFPtLUT
*
ptLUT_
;
106
107
// firmware map
108
std::map<int, int>
firmSP_Map
;
109
bool
isCoreVerbose
;
110
bool
initFail_
;
111
};
112
113
#endif
CSCTFSectorProcessor::QualityEnableME4b
int QualityEnableME4b
Definition:
CSCTFSectorProcessor.h:86
CSCTFSectorProcessor::m_maxdeta12_accp
int m_maxdeta12_accp
Definition:
CSCTFSectorProcessor.h:73
CSCTFSectorProcessor::QualityEnableME1e
int QualityEnableME1e
Definition:
CSCTFSectorProcessor.h:83
CSCTFSectorProcessor::m_etawin
int m_etawin[7]
Definition:
CSCTFSectorProcessor.h:71
CSCTFSectorProcessor::QualityEnableME1a
int QualityEnableME1a
Definition:
CSCTFSectorProcessor.h:83
CSCTFSectorProcessor::maxBX
int maxBX() const
Definition:
CSCTFSectorProcessor.h:51
CSCTFSectorProcessor::m_allowCLCTonly
int m_allowCLCTonly
Definition:
CSCTFSectorProcessor.h:69
CSCTFSectorProcessor::m_gangedME1a
bool m_gangedME1a
Definition:
CSCTFSectorProcessor.h:62
CSCTFSectorProcessor::dt_stubs
CSCTriggerContainer< csctf::TrackStub > dt_stubs
Definition:
CSCTFSectorProcessor.h:97
CSCTFSectorProcessor::QualityEnableME1d
int QualityEnableME1d
Definition:
CSCTFSectorProcessor.h:83
CSCTFSectorProcessor::m_maxdphi113_accp
int m_maxdphi113_accp
Definition:
CSCTFSectorProcessor.h:76
CSCTFSectorProcessor::m_mindeta12_accp
int m_mindeta12_accp
Definition:
CSCTFSectorProcessor.h:73
CSCTFSectorProcessor::QualityEnableME2b
int QualityEnableME2b
Definition:
CSCTFSectorProcessor.h:84
CSCTFSectorProcessor::QualityEnableME2c
int QualityEnableME2c
Definition:
CSCTFSectorProcessor.h:84
CSCTFSectorProcessor
KK.
Definition:
CSCTFSectorProcessor.h:26
CSCTFSectorProcessor::tracks
CSCTriggerContainer< csc::L1Track > tracks() const
Definition:
CSCTFSectorProcessor.h:45
CSCTFSectorProcessor::trigger_on_MB1a
int trigger_on_MB1a
Definition:
CSCTFSectorProcessor.h:90
CSCTFSectorProcessor::m_maxBX
int m_maxBX
Definition:
CSCTFSectorProcessor.h:70
CSCTFSectorProcessor::QualityEnableME3b
int QualityEnableME3b
Definition:
CSCTFSectorProcessor.h:85
CSCTFSectorProcessor::m_mindphip
int m_mindphip
Definition:
CSCTFSectorProcessor.h:72
CSCTFSectorProcessor::minBX
int minBX() const
Definition:
CSCTFSectorProcessor.h:50
CSCTFSectorProcessor::m_mbaPhiOff
int m_mbaPhiOff
Definition:
CSCTFSectorProcessor.h:79
makeMuonMisalignmentScenario.endcap
endcap
Definition:
makeMuonMisalignmentScenario.py:320
CSCTFSectorProcessor::stub_vec_filtered
std::vector< csctf::TrackStub > stub_vec_filtered
Definition:
CSCTFSectorProcessor.h:99
CSCTFSectorProcessor::FPGAs
static const std::string FPGAs[5]
Definition:
CSCTFSectorProcessor.h:101
CSCTFSectorProcessor::run_core
int run_core
Definition:
CSCTFSectorProcessor.h:88
CSCTFSectorProcessor::m_maxdeta113_accp
int m_maxdeta113_accp
Definition:
CSCTFSectorProcessor.h:76
CSCTFSectorProcessor::l1_tracks
CSCTriggerContainer< csc::L1Track > l1_tracks
Definition:
CSCTFSectorProcessor.h:96
CSCTFSPCoreLogic.h
CSCTFSectorProcessor::m_endcap
unsigned m_endcap
Definition:
CSCTFSectorProcessor.h:65
CSCTFSectorProcessor::isCoreVerbose
bool isCoreVerbose
Definition:
CSCTFSectorProcessor.h:109
CSCTFSectorProcessor::m_allowALCTonly
int m_allowALCTonly
Definition:
CSCTFSectorProcessor.h:69
CSCTFSectorProcessor::m_mindeta112_accp
int m_mindeta112_accp
Definition:
CSCTFSectorProcessor.h:75
CSCTFSectorProcessor::trigger_on_MB1d
int trigger_on_MB1d
Definition:
CSCTFSectorProcessor.h:90
CSCTFSectorProcessor::QualityEnableME1f
int QualityEnableME1f
Definition:
CSCTFSectorProcessor.h:83
L1MuTriggerPtScale
Definition:
L1MuTriggerPtScale.h:33
CSCTFSectorProcessor::dtStubs
CSCTriggerContainer< csctf::TrackStub > dtStubs() const
Definition:
CSCTFSectorProcessor.h:48
CSCTFSPCoreLogic
Definition:
CSCTFSPCoreLogic.h:34
CSCTFSectorProcessor::QualityEnableME3c
int QualityEnableME3c
Definition:
CSCTFSectorProcessor.h:85
CSCTFSectorProcessor::readParameters
void readParameters(const edm::ParameterSet &pset)
Definition:
CSCTFSectorProcessor.cc:594
CSCTFSectorProcessor::QualityEnableME4a
int QualityEnableME4a
Definition:
CSCTFSectorProcessor.h:86
CSCTFSectorProcessor::m_straightp
int m_straightp
Definition:
CSCTFSectorProcessor.h:78
CSCTFSectorProcessor::TMB07
unsigned TMB07
Definition:
CSCTFSectorProcessor.h:65
CSCTFSectorProcessor::m_mbbPhiOff
int m_mbbPhiOff
Definition:
CSCTFSectorProcessor.h:79
CSCTFSectorProcessor::m_mindphip_halo
int m_mindphip_halo
Definition:
CSCTFSectorProcessor.h:77
CSCTFSectorProcessor::singlesTrackOutput
unsigned int singlesTrackOutput
Definition:
CSCTFSectorProcessor.h:91
CSCTFSectorProcessor::run
int run(const CSCTriggerContainer< csctf::TrackStub > &)
Definition:
CSCTFSectorProcessor.cc:684
CSCTFSectorProcessor::operator=
CSCTFSectorProcessor & operator=(const CSCTFSectorProcessor &rhs)
Definition:
CSCTFSectorProcessor.h:59
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
CSCTFSectorProcessor::printDisclaimer
void printDisclaimer(int firmSP, int firmFA)
Definition:
CSCTFSectorProcessor.cc:1116
CSCTFSectorProcessor::m_curvedp
int m_curvedp
Definition:
CSCTFSectorProcessor.h:78
CSCTFSectorProcessor::QualityEnableME3a
int QualityEnableME3a
Definition:
CSCTFSectorProcessor.h:85
CSCTFSectorProcessor::kill_fiber
int kill_fiber
Definition:
CSCTFSectorProcessor.h:87
edm::ParameterSet
Definition:
ParameterSet.h:36
CSCTFSectorProcessor::trigger_on_ME3
int trigger_on_ME3
Definition:
CSCTFSectorProcessor.h:89
CSCTFSectorProcessor::m_preTrigger
int m_preTrigger
Definition:
CSCTFSectorProcessor.h:69
CSCTFSectorProcessor::m_firmSP
int m_firmSP
Definition:
CSCTFSectorProcessor.h:94
L1CSCTrackCollection.h
CSCTriggerContainer.h
CSCTFSectorProcessor::m_mindetap
int m_mindetap
Definition:
CSCTFSectorProcessor.h:72
CSCTFSectorProcessor::m_maxdeta13_accp
int m_maxdeta13_accp
Definition:
CSCTFSectorProcessor.h:74
CSCTFSectorProcessor::m_etamax
int m_etamax[8]
Definition:
CSCTFSectorProcessor.h:71
CSCTFSectorProcessor::srLUTs_
std::map< std::string, CSCSectorReceiverLUT * > srLUTs_
Definition:
CSCTFSectorProcessor.h:103
CSCTFSectorProcessor::~CSCTFSectorProcessor
~CSCTFSectorProcessor()
Definition:
CSCTFSectorProcessor.cc:667
CSCTFSectorProcessor::initFail_
bool initFail_
Definition:
CSCTFSectorProcessor.h:110
CSCTFSectorProcessor::m_maxdeta112_accp
int m_maxdeta112_accp
Definition:
CSCTFSectorProcessor.h:75
CSCTFSectorProcessor::ptLUT_
CSCTFPtLUT * ptLUT_
Definition:
CSCTFSectorProcessor.h:105
CSCTFSectorProcessor::m_firmVM
int m_firmVM
Definition:
CSCTFSectorProcessor.h:94
CSCTFSectorProcessor::initializeFromPSet
bool initializeFromPSet
Definition:
CSCTFSectorProcessor.h:64
edm::EventSetup
Definition:
EventSetup.h:57
HltBtagPostValidation_cff.c
c
Definition:
HltBtagPostValidation_cff.py:31
ptScale
const std::vector< double > ptScale
Definition:
Utilities.cc:33
L1MuTriggerScales
Definition:
L1MuTriggerScales.h:33
CSCTFSectorProcessor::m_maxdphi13_accp
int m_maxdphi13_accp
Definition:
CSCTFSectorProcessor.h:74
CSCTFSectorProcessor::m_widePhi
int m_widePhi
Definition:
CSCTFSectorProcessor.h:80
CSCTFSectorProcessor::m_firmDD
int m_firmDD
Definition:
CSCTFSectorProcessor.h:94
CSCTFSectorProcessor::m_minBX
int m_minBX
Definition:
CSCTFSectorProcessor.h:70
CSCTFSectorProcessor::CSCTFSectorProcessor
CSCTFSectorProcessor(const CSCTFSectorProcessor &par)
Definition:
CSCTFSectorProcessor.h:60
CSCTFSectorProcessor::m_firmFA
int m_firmFA
Definition:
CSCTFSectorProcessor.h:94
CSCTFSectorProcessor::trigger_on_ME4
int trigger_on_ME4
Definition:
CSCTFSectorProcessor.h:89
CSCTFSectorProcessor::QualityEnableME4c
int QualityEnableME4c
Definition:
CSCTFSectorProcessor.h:86
CSCTFSectorProcessor::m_mindeta113_accp
int m_mindeta113_accp
Definition:
CSCTFSectorProcessor.h:76
CSCTFSectorProcessor::m_latency
unsigned m_latency
Definition:
CSCTFSectorProcessor.h:66
CSCTFSectorProcessor::CSCTFSectorProcessor
CSCTFSectorProcessor(const unsigned &endcap, const unsigned §or, const edm::ParameterSet &pset, bool tmb07, const L1MuTriggerScales *scales, const L1MuTriggerPtScale *ptScale)
Definition:
CSCTFSectorProcessor.cc:16
CSCTriggerContainer< csctf::TrackStub >
CSCTFSectorProcessor::m_maxdphi12_accp
int m_maxdphi12_accp
Definition:
CSCTFSectorProcessor.h:73
CSCTFPtLUT
KK.
Definition:
CSCTFPtLUT.h:14
EventSetup.h
CSCTFSectorProcessor::m_bxa_depth
int m_bxa_depth
Definition:
CSCTFSectorProcessor.h:69
CSCTFSectorProcessor::m_sector
unsigned m_sector
Definition:
CSCTFSectorProcessor.h:65
CSCTFSectorProcessor::core_
CSCTFSPCoreLogic * core_
Definition:
CSCTFSectorProcessor.h:104
CSCTFSectorProcessor::trigger_on_ME2
int trigger_on_ME2
Definition:
CSCTFSectorProcessor.h:89
CSCTFSectorProcessor::QualityEnableME2a
int QualityEnableME2a
Definition:
CSCTFSectorProcessor.h:84
CSCTFSectorProcessor::m_mindetap_halo
int m_mindetap_halo
Definition:
CSCTFSectorProcessor.h:77
CSCTFSectorProcessor::filteredStubs
std::vector< csctf::TrackStub > filteredStubs() const
Definition:
CSCTFSectorProcessor.h:46
CSCTFSectorProcessor::trigger_on_ME1a
int trigger_on_ME1a
Definition:
CSCTFSectorProcessor.h:89
CSCTFSectorProcessor::m_mindeta13_accp
int m_mindeta13_accp
Definition:
CSCTFSectorProcessor.h:74
ParameterSet.h
CSCTFSectorProcessor::QualityEnableME1b
int QualityEnableME1b
Definition:
CSCTFSectorProcessor.h:83
TrackStub.h
CSCTFSectorProcessor::initialize
void initialize(const edm::EventSetup &c)
KK.
Definition:
CSCTFSectorProcessor.cc:182
CSCTFSectorProcessor::m_maxdphi112_accp
int m_maxdphi112_accp
Definition:
CSCTFSectorProcessor.h:75
CSCTFSectorProcessor::rescaleSinglesPhi
int rescaleSinglesPhi
Definition:
CSCTFSectorProcessor.h:92
CSCSectorReceiverLUT.h
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
CSCTFSectorProcessor::QualityEnableME1c
int QualityEnableME1c
Definition:
CSCTFSectorProcessor.h:83
CSCTFSectorProcessor::m_etamin
int m_etamin[8]
Definition:
CSCTFSectorProcessor.h:71
CSCTFSectorProcessor::trigger_on_ME1b
int trigger_on_ME1b
Definition:
CSCTFSectorProcessor.h:89
CSCTFPtLUT.h
CSCTFSectorProcessor::firmSP_Map
std::map< int, int > firmSP_Map
Definition:
CSCTFSectorProcessor.h:108
Generated for CMSSW Reference Manual by
1.8.16