CMS 3D CMS Logo

L1GlobalTrigger.h
Go to the documentation of this file.
1 #ifndef GlobalTrigger_L1GlobalTrigger_h
2 #define GlobalTrigger_L1GlobalTrigger_h
3 
22 // system include files
23 #include <string>
24 #include <vector>
25 
26 // user include files
27 
30 
33 
36 
39 #include <cstdint>
40 
41 // forward classes
42 class L1GlobalTriggerPSB;
43 class L1GlobalTriggerGTL;
44 class L1GlobalTriggerFDL;
45 
47 class L1GtParameters;
48 class L1GtBoardMaps;
49 
51 class L1GtTriggerMask;
52 
53 // class declaration
55 public:
56  explicit L1GlobalTrigger(const edm::ParameterSet &);
57  ~L1GlobalTrigger() override;
58 
59  void produce(edm::Event &, const edm::EventSetup &) override;
60 
61  // return pointer to PSB
62  inline const L1GlobalTriggerPSB *gtPSB() const { return m_gtPSB; }
63 
64  // return pointer to GTL
65  inline const L1GlobalTriggerGTL *gtGTL() const { return m_gtGTL; }
66 
67  // return pointer to FDL
68  inline const L1GlobalTriggerFDL *gtFDL() const { return m_gtFDL; }
69 
70 private:
72 
75  unsigned long long m_l1GtStableParCacheID;
76 
78  unsigned int m_numberPhysTriggers;
79 
82 
84  unsigned int m_numberDaqPartitions;
85 
89  int m_nrL1Mu;
90 
93 
97 
99 
100  // ... the rest of the objects are global
101 
104 
107  unsigned long long m_l1GtParCacheID;
108 
111 
115 
117  unsigned int m_bstLengthBytes;
118 
121  unsigned long long m_l1GtBMCacheID;
122 
125  unsigned long long m_l1GtPfAlgoCacheID;
126 
128  unsigned long long m_l1GtPfTechCacheID;
129 
130  const std::vector<std::vector<int>> *m_prescaleFactorsAlgoTrig;
131  const std::vector<std::vector<int>> *m_prescaleFactorsTechTrig;
132 
135  unsigned long long m_l1GtTmAlgoCacheID;
136 
138  unsigned long long m_l1GtTmTechCacheID;
139 
141  unsigned long long m_l1GtTmVetoAlgoCacheID;
142 
144  unsigned long long m_l1GtTmVetoTechCacheID;
145 
146  std::vector<unsigned int> m_triggerMaskAlgoTrig;
147  std::vector<unsigned int> m_triggerMaskTechTrig;
148 
149  std::vector<unsigned int> m_triggerMaskVetoAlgoTrig;
150  std::vector<unsigned int> m_triggerMaskVetoTechTrig;
151 
155 
158 
161 
164 
166  const std::vector<edm::InputTag> m_technicalTriggersInputTags;
167 
170 
173 
176 
179 
182 
189 
193  const std::vector<int> m_recordLength;
194 
197  const unsigned int m_alternativeNrBxBoardDaq;
198 
201  const unsigned int m_alternativeNrBxBoardEvm;
202 
205 
210 
214 
219 
223 
227 
229  const int m_verbosity;
230  const bool m_isDebugEnabled;
231 };
232 
233 #endif /*GlobalTrigger_L1GlobalTrigger_h*/
L1GlobalTrigger::m_gtFDL
L1GlobalTriggerFDL * m_gtFDL
Definition: L1GlobalTrigger.h:154
L1GlobalTrigger::m_nrL1IsoEG
int m_nrL1IsoEG
Definition: L1GlobalTrigger.h:92
L1GlobalTrigger::m_numberPhysTriggers
unsigned int m_numberPhysTriggers
number of physics triggers
Definition: L1GlobalTrigger.h:78
L1GlobalTrigger::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition: L1GlobalTrigger.cc:257
L1GtPrescaleFactors
Definition: L1GtPrescaleFactors.h:32
L1GlobalTrigger::m_nrL1TauJet
int m_nrL1TauJet
Definition: L1GlobalTrigger.h:96
L1GlobalTrigger::m_gtPSB
L1GlobalTriggerPSB * m_gtPSB
Definition: L1GlobalTrigger.h:152
L1GlobalTrigger::m_algorithmTriggersUnmasked
const bool m_algorithmTriggersUnmasked
Definition: L1GlobalTrigger.h:213
L1GlobalTrigger::m_l1GtPfTechCacheID
unsigned long long m_l1GtPfTechCacheID
Definition: L1GlobalTrigger.h:128
L1GlobalTrigger::m_recordLength
const std::vector< int > m_recordLength
Definition: L1GlobalTrigger.h:193
L1GlobalTrigger
Definition: L1GlobalTrigger.h:54
L1GlobalTrigger::m_triggerMaskVetoAlgoTrig
std::vector< unsigned int > m_triggerMaskVetoAlgoTrig
Definition: L1GlobalTrigger.h:149
L1GtParameters
Definition: L1GtParameters.h:33
L1GtBoardMaps
Definition: L1GtBoardMaps.h:33
L1GlobalTrigger::m_l1GtStableParCacheID
unsigned long long m_l1GtStableParCacheID
Definition: L1GlobalTrigger.h:75
L1GlobalTrigger::m_ifMuEtaNumberBits
int m_ifMuEtaNumberBits
Definition: L1GlobalTrigger.h:102
L1GlobalTrigger::m_l1GtParCacheID
unsigned long long m_l1GtParCacheID
Definition: L1GlobalTrigger.h:107
L1GlobalTrigger::gtFDL
const L1GlobalTriggerFDL * gtFDL() const
Definition: L1GlobalTrigger.h:68
EDProducer.h
L1GlobalTrigger::m_l1GtTmVetoAlgoCacheID
unsigned long long m_l1GtTmVetoAlgoCacheID
Definition: L1GlobalTrigger.h:141
L1GlobalTrigger::L1GlobalTrigger
L1GlobalTrigger(const edm::ParameterSet &)
Definition: L1GlobalTrigger.cc:88
L1GlobalTrigger::m_l1GtTmVetoTechCacheID
unsigned long long m_l1GtTmVetoTechCacheID
Definition: L1GlobalTrigger.h:144
L1GlobalTrigger::m_activeBoardsGtDaq
uint16_t m_activeBoardsGtDaq
active boards in L1 GT DAQ record and in L1 GT EVM record
Definition: L1GlobalTrigger.h:113
L1GlobalTrigger::m_activeBoardsGtEvm
uint16_t m_activeBoardsGtEvm
Definition: L1GlobalTrigger.h:114
L1GlobalTrigger::m_triggerMaskVetoTechTrig
std::vector< unsigned int > m_triggerMaskVetoTechTrig
Definition: L1GlobalTrigger.h:150
L1GlobalTrigger::m_muGmtInputTag
const edm::InputTag m_muGmtInputTag
input tag for muon collection from GMT
Definition: L1GlobalTrigger.h:157
L1GlobalTrigger::m_nrL1JetCounts
int m_nrL1JetCounts
Definition: L1GlobalTrigger.h:98
L1GlobalTrigger::m_l1GtBMCacheID
unsigned long long m_l1GtBMCacheID
Definition: L1GlobalTrigger.h:121
L1GlobalTrigger::m_l1GtTmAlgo
const L1GtTriggerMask * m_l1GtTmAlgo
trigger masks & veto masks
Definition: L1GlobalTrigger.h:134
L1GlobalTrigger::m_writePsbL1GtDaqRecord
const bool m_writePsbL1GtDaqRecord
logical flag to write the PSB content in the L1 GT DAQ record
Definition: L1GlobalTrigger.h:178
L1GlobalTrigger::m_l1GtTmTech
const L1GtTriggerMask * m_l1GtTmTech
Definition: L1GlobalTrigger.h:137
L1GlobalTrigger::m_l1GtStablePar
const L1GtStableParameters * m_l1GtStablePar
cached stuff
Definition: L1GlobalTrigger.h:74
L1GlobalTrigger::m_numberTechnicalTriggers
unsigned int m_numberTechnicalTriggers
number of technical triggers
Definition: L1GlobalTrigger.h:81
L1GlobalTrigger::m_nrL1Mu
int m_nrL1Mu
Definition: L1GlobalTrigger.h:89
L1GlobalTrigger::m_nrL1NoIsoEG
int m_nrL1NoIsoEG
Definition: L1GlobalTrigger.h:91
L1GlobalTrigger::m_produceL1GtDaqRecord
const bool m_produceL1GtDaqRecord
logical flag to produce the L1 GT DAQ readout record
Definition: L1GlobalTrigger.h:169
L1GlobalTrigger::m_l1GtPfTech
const L1GtPrescaleFactors * m_l1GtPfTech
Definition: L1GlobalTrigger.h:127
L1GlobalTrigger::m_castorInputTag
const edm::InputTag m_castorInputTag
input tag for CASTOR record
Definition: L1GlobalTrigger.h:163
L1GlobalTrigger::m_psBstLengthBytes
const int m_psBstLengthBytes
length of BST record (in bytes) from parameter set
Definition: L1GlobalTrigger.h:204
L1GtTriggerMask
Definition: L1GtTriggerMask.h:33
L1GlobalTrigger::m_triggerMaskTechTrig
std::vector< unsigned int > m_triggerMaskTechTrig
Definition: L1GlobalTrigger.h:147
L1GtStableParameters
Definition: L1GtStableParameters.h:33
L1GlobalTrigger::gtPSB
const L1GlobalTriggerPSB * gtPSB() const
Definition: L1GlobalTrigger.h:62
L1GlobalTrigger::m_prescaleFactorsAlgoTrig
const std::vector< std::vector< int > > * m_prescaleFactorsAlgoTrig
Definition: L1GlobalTrigger.h:130
L1GlobalTriggerFDL
Definition: L1GlobalTriggerFDL.h:40
L1GlobalTrigger::m_ifCaloEtaNumberBits
int m_ifCaloEtaNumberBits
Definition: L1GlobalTrigger.h:103
L1GlobalTriggerGTL
Definition: L1GlobalTriggerGTL.h:45
L1GtBoard.h
edm::ParameterSet
Definition: ParameterSet.h:36
L1GlobalTrigger::m_l1GtTmTechCacheID
unsigned long long m_l1GtTmTechCacheID
Definition: L1GlobalTrigger.h:138
Event.h
L1GlobalTrigger::m_nrL1ForJet
int m_nrL1ForJet
Definition: L1GlobalTrigger.h:95
L1GlobalTrigger::m_gtGTL
L1GlobalTriggerGTL * m_gtGTL
Definition: L1GlobalTrigger.h:153
L1GlobalTrigger::m_algorithmTriggersUnprescaled
const bool m_algorithmTriggersUnprescaled
Definition: L1GlobalTrigger.h:209
L1GlobalTrigger::m_caloGctInputTag
const edm::InputTag m_caloGctInputTag
input tag for calorimeter collections from GCT
Definition: L1GlobalTrigger.h:160
L1GlobalTrigger::m_l1GtTmVetoTech
const L1GtTriggerMask * m_l1GtTmVetoTech
Definition: L1GlobalTrigger.h:143
L1GlobalTrigger::m_l1GtTmVetoAlgo
const L1GtTriggerMask * m_l1GtTmVetoAlgo
Definition: L1GlobalTrigger.h:140
L1GlobalTrigger::m_isDebugEnabled
const bool m_isDebugEnabled
Definition: L1GlobalTrigger.h:230
L1GlobalTrigger::m_l1GtPar
const L1GtParameters * m_l1GtPar
parameters
Definition: L1GlobalTrigger.h:106
L1GlobalTrigger::m_triggerMaskAlgoTrig
std::vector< unsigned int > m_triggerMaskAlgoTrig
Definition: L1GlobalTrigger.h:146
L1GlobalTrigger::m_l1GtPfAlgoCacheID
unsigned long long m_l1GtPfAlgoCacheID
Definition: L1GlobalTrigger.h:125
L1GtFwd.h
L1GlobalTrigger::m_alternativeNrBxBoardEvm
const unsigned int m_alternativeNrBxBoardEvm
Definition: L1GlobalTrigger.h:201
L1GlobalTrigger::m_nrL1CenJet
int m_nrL1CenJet
Definition: L1GlobalTrigger.h:94
edm::stream::EDProducer
Definition: EDProducer.h:38
edm::EventSetup
Definition: EventSetup.h:57
L1GlobalTrigger::m_verbosity
const int m_verbosity
verbosity level
Definition: L1GlobalTrigger.h:229
L1GlobalTrigger::m_bstLengthBytes
unsigned int m_bstLengthBytes
length of BST record (in bytes) from event setup
Definition: L1GlobalTrigger.h:117
InputTag.h
L1GlobalTrigger::m_technicalTriggersInputTags
const std::vector< edm::InputTag > m_technicalTriggersInputTags
input tag for technical triggers
Definition: L1GlobalTrigger.h:166
L1GlobalTrigger::m_alternativeNrBxBoardDaq
const unsigned int m_alternativeNrBxBoardDaq
Definition: L1GlobalTrigger.h:197
L1GlobalTrigger::m_technicalTriggersUnprescaled
const bool m_technicalTriggersUnprescaled
Definition: L1GlobalTrigger.h:218
L1GlobalTrigger::~L1GlobalTrigger
~L1GlobalTrigger() override
Definition: L1GlobalTrigger.cc:248
Frameworkfwd.h
L1GlobalTrigger::m_produceL1GtObjectMapRecord
const bool m_produceL1GtObjectMapRecord
logical flag to produce the L1 GT object map record
Definition: L1GlobalTrigger.h:175
L1GlobalTriggerPSB
Definition: L1GlobalTriggerPSB.h:58
EventSetup.h
L1GlobalTrigger::m_produceL1GtEvmRecord
const bool m_produceL1GtEvmRecord
logical flag to produce the L1 GT EVM readout record
Definition: L1GlobalTrigger.h:172
L1GlobalTrigger::m_numberDaqPartitions
unsigned int m_numberDaqPartitions
number of DAQ partitions
Definition: L1GlobalTrigger.h:84
L1GlobalTrigger::m_prescaleFactorsTechTrig
const std::vector< std::vector< int > > * m_prescaleFactorsTechTrig
Definition: L1GlobalTrigger.h:131
ParameterSet.h
L1GlobalTrigger::m_technicalTriggersVetoUnmasked
const bool m_technicalTriggersVetoUnmasked
Definition: L1GlobalTrigger.h:226
L1GlobalTrigger::m_emulateBxInEvent
int m_emulateBxInEvent
Definition: L1GlobalTrigger.h:188
L1GlobalTrigger::m_readTechnicalTriggerRecords
const bool m_readTechnicalTriggerRecords
logical flag to read the technical trigger records
Definition: L1GlobalTrigger.h:181
edm::Event
Definition: Event.h:73
L1GlobalTrigger::gtGTL
const L1GlobalTriggerGTL * gtGTL() const
Definition: L1GlobalTrigger.h:65
L1GlobalTrigger::m_technicalTriggersUnmasked
const bool m_technicalTriggersUnmasked
Definition: L1GlobalTrigger.h:222
L1GlobalTrigger::m_totalBxInEvent
int m_totalBxInEvent
total number of Bx's in the event coming from EventSetup
Definition: L1GlobalTrigger.h:110
L1GlobalTrigger::m_l1GtPfAlgo
const L1GtPrescaleFactors * m_l1GtPfAlgo
prescale factors
Definition: L1GlobalTrigger.h:124
edm::InputTag
Definition: InputTag.h:15
L1GlobalTrigger::m_l1GtBM
const L1GtBoardMaps * m_l1GtBM
board maps - cache only the record
Definition: L1GlobalTrigger.h:120
L1GlobalTrigger::m_l1GtTmAlgoCacheID
unsigned long long m_l1GtTmAlgoCacheID
Definition: L1GlobalTrigger.h:135