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 
40 
43 
46 
51 
55 
59 
62 
63 #include <cstdint>
64 
65 // forward classes
66 class L1GlobalTriggerPSB;
67 class L1GlobalTriggerGTL;
68 class L1GlobalTriggerFDL;
69 
71 class L1GtParameters;
72 class L1GtBoardMaps;
73 
75 class L1GtTriggerMask;
76 
77 // class declaration
79 public:
80  explicit L1GlobalTrigger(const edm::ParameterSet &);
81  ~L1GlobalTrigger() override;
82 
83  void produce(edm::Event &, const edm::EventSetup &) override;
84 
85  // return pointer to PSB
86  inline const L1GlobalTriggerPSB *gtPSB() const { return m_gtPSB; }
87 
88  // return pointer to GTL
89  inline const L1GlobalTriggerGTL *gtGTL() const { return m_gtGTL; }
90 
91  // return pointer to FDL
92  inline const L1GlobalTriggerFDL *gtFDL() const { return m_gtFDL; }
93 
94 private:
96 
99  unsigned long long m_l1GtStableParCacheID;
100 
102  unsigned int m_numberPhysTriggers;
103 
106 
108  unsigned int m_numberDaqPartitions;
109 
113  int m_nrL1Mu;
114 
117 
121 
123 
124  // ... the rest of the objects are global
125 
128 
131  unsigned long long m_l1GtParCacheID;
132 
135 
139 
141  unsigned int m_bstLengthBytes;
142 
145  unsigned long long m_l1GtBMCacheID;
146 
149  unsigned long long m_l1GtPfAlgoCacheID;
150 
152  unsigned long long m_l1GtPfTechCacheID;
153 
154  const std::vector<std::vector<int>> *m_prescaleFactorsAlgoTrig;
155  const std::vector<std::vector<int>> *m_prescaleFactorsTechTrig;
156 
159  unsigned long long m_l1GtTmAlgoCacheID;
160 
162  unsigned long long m_l1GtTmTechCacheID;
163 
165  unsigned long long m_l1GtTmVetoAlgoCacheID;
166 
168  unsigned long long m_l1GtTmVetoTechCacheID;
169 
170  std::vector<unsigned int> m_triggerMaskAlgoTrig;
171  std::vector<unsigned int> m_triggerMaskTechTrig;
172 
173  std::vector<unsigned int> m_triggerMaskVetoAlgoTrig;
174  std::vector<unsigned int> m_triggerMaskVetoTechTrig;
175 
179 
182 
185 
188 
190  const std::vector<edm::InputTag> m_technicalTriggersInputTags;
191 
194 
197 
200 
203 
206 
213 
217  const std::vector<int> m_recordLength;
218 
221  const unsigned int m_alternativeNrBxBoardDaq;
222 
225  const unsigned int m_alternativeNrBxBoardEvm;
226 
229 
234 
238 
243 
247 
251 
253  const int m_verbosity;
254  const bool m_isDebugEnabled;
255 
266 };
267 
268 #endif /*GlobalTrigger_L1GlobalTrigger_h*/
L1GlobalTrigger::m_gtFDL
L1GlobalTriggerFDL * m_gtFDL
Definition: L1GlobalTrigger.h:178
L1GlobalTrigger::m_nrL1IsoEG
int m_nrL1IsoEG
Definition: L1GlobalTrigger.h:116
L1GlobalTrigger::m_numberPhysTriggers
unsigned int m_numberPhysTriggers
number of physics triggers
Definition: L1GlobalTrigger.h:102
L1GlobalTrigger::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition: L1GlobalTrigger.cc:242
L1GlobalTrigger::m_l1GtTmAlgoToken
edm::ESGetToken< L1GtTriggerMask, L1GtTriggerMaskAlgoTrigRcd > m_l1GtTmAlgoToken
Definition: L1GlobalTrigger.h:262
L1GtPrescaleFactors
Definition: L1GtPrescaleFactors.h:32
L1GlobalTrigger::m_nrL1TauJet
int m_nrL1TauJet
Definition: L1GlobalTrigger.h:120
L1GlobalTrigger::m_gtPSB
L1GlobalTriggerPSB * m_gtPSB
Definition: L1GlobalTrigger.h:176
L1GlobalTrigger::m_algorithmTriggersUnmasked
const bool m_algorithmTriggersUnmasked
Definition: L1GlobalTrigger.h:237
L1GtTriggerMaskAlgoTrigRcd.h
L1GtTriggerMask.h
L1GtParametersRcd.h
L1GtParameters.h
L1GlobalTrigger::m_l1GtPfTechCacheID
unsigned long long m_l1GtPfTechCacheID
Definition: L1GlobalTrigger.h:152
L1GlobalTrigger::m_recordLength
const std::vector< int > m_recordLength
Definition: L1GlobalTrigger.h:217
L1GlobalTrigger::m_l1GtPfTechToken
edm::ESGetToken< L1GtPrescaleFactors, L1GtPrescaleFactorsTechTrigRcd > m_l1GtPfTechToken
Definition: L1GlobalTrigger.h:261
L1GlobalTrigger
Definition: L1GlobalTrigger.h:78
L1GlobalTrigger::m_triggerMaskVetoAlgoTrig
std::vector< unsigned int > m_triggerMaskVetoAlgoTrig
Definition: L1GlobalTrigger.h:173
L1GtParameters
Definition: L1GtParameters.h:33
L1GtBoardMaps
Definition: L1GtBoardMaps.h:33
L1GlobalTrigger::m_l1GtStableParCacheID
unsigned long long m_l1GtStableParCacheID
Definition: L1GlobalTrigger.h:99
L1GlobalTrigger::m_ifMuEtaNumberBits
int m_ifMuEtaNumberBits
Definition: L1GlobalTrigger.h:126
L1GlobalTrigger::m_l1GtParCacheID
unsigned long long m_l1GtParCacheID
Definition: L1GlobalTrigger.h:131
L1GlobalTrigger::gtFDL
const L1GlobalTriggerFDL * gtFDL() const
Definition: L1GlobalTrigger.h:92
L1GtTriggerMaskTechTrigRcd.h
EDProducer.h
L1GtStableParametersRcd.h
L1GlobalTrigger::m_l1GtTmVetoAlgoCacheID
unsigned long long m_l1GtTmVetoAlgoCacheID
Definition: L1GlobalTrigger.h:165
L1GlobalTrigger::L1GlobalTrigger
L1GlobalTrigger(const edm::ParameterSet &)
Definition: L1GlobalTrigger.cc:66
L1GlobalTrigger::m_l1GtTmVetoTechCacheID
unsigned long long m_l1GtTmVetoTechCacheID
Definition: L1GlobalTrigger.h:168
L1GlobalTrigger::m_activeBoardsGtDaq
uint16_t m_activeBoardsGtDaq
active boards in L1 GT DAQ record and in L1 GT EVM record
Definition: L1GlobalTrigger.h:137
L1GlobalTrigger::m_activeBoardsGtEvm
uint16_t m_activeBoardsGtEvm
Definition: L1GlobalTrigger.h:138
L1GlobalTrigger::m_triggerMaskVetoTechTrig
std::vector< unsigned int > m_triggerMaskVetoTechTrig
Definition: L1GlobalTrigger.h:174
L1GlobalTrigger::m_muGmtInputTag
const edm::InputTag m_muGmtInputTag
input tag for muon collection from GMT
Definition: L1GlobalTrigger.h:181
ESGetToken.h
L1GlobalTrigger::m_nrL1JetCounts
int m_nrL1JetCounts
Definition: L1GlobalTrigger.h:122
L1GlobalTrigger::m_l1GtBMCacheID
unsigned long long m_l1GtBMCacheID
Definition: L1GlobalTrigger.h:145
L1GlobalTrigger::m_l1GtParToken
edm::ESGetToken< L1GtParameters, L1GtParametersRcd > m_l1GtParToken
Definition: L1GlobalTrigger.h:258
L1GlobalTrigger::m_l1GtTmAlgo
const L1GtTriggerMask * m_l1GtTmAlgo
trigger masks & veto masks
Definition: L1GlobalTrigger.h:158
L1GlobalTrigger::m_l1GtPfAlgoToken
edm::ESGetToken< L1GtPrescaleFactors, L1GtPrescaleFactorsAlgoTrigRcd > m_l1GtPfAlgoToken
Definition: L1GlobalTrigger.h:260
L1GlobalTrigger::m_writePsbL1GtDaqRecord
const bool m_writePsbL1GtDaqRecord
logical flag to write the PSB content in the L1 GT DAQ record
Definition: L1GlobalTrigger.h:202
L1GlobalTrigger::m_l1GtTmTech
const L1GtTriggerMask * m_l1GtTmTech
Definition: L1GlobalTrigger.h:161
L1GlobalTrigger::m_l1GtStablePar
const L1GtStableParameters * m_l1GtStablePar
cached stuff
Definition: L1GlobalTrigger.h:98
L1GlobalTrigger::m_numberTechnicalTriggers
unsigned int m_numberTechnicalTriggers
number of technical triggers
Definition: L1GlobalTrigger.h:105
L1GlobalTrigger::m_nrL1Mu
int m_nrL1Mu
Definition: L1GlobalTrigger.h:113
L1GlobalTrigger::m_nrL1NoIsoEG
int m_nrL1NoIsoEG
Definition: L1GlobalTrigger.h:115
L1GlobalTrigger::m_produceL1GtDaqRecord
const bool m_produceL1GtDaqRecord
logical flag to produce the L1 GT DAQ readout record
Definition: L1GlobalTrigger.h:193
L1GlobalTrigger::m_l1GtTmVetoTechToken
edm::ESGetToken< L1GtTriggerMask, L1GtTriggerMaskVetoTechTrigRcd > m_l1GtTmVetoTechToken
Definition: L1GlobalTrigger.h:265
L1GlobalTrigger::m_l1GtPfTech
const L1GtPrescaleFactors * m_l1GtPfTech
Definition: L1GlobalTrigger.h:151
L1GlobalTrigger::m_castorInputTag
const edm::InputTag m_castorInputTag
input tag for CASTOR record
Definition: L1GlobalTrigger.h:187
L1GlobalTrigger::m_psBstLengthBytes
const int m_psBstLengthBytes
length of BST record (in bytes) from parameter set
Definition: L1GlobalTrigger.h:228
L1GtTriggerMask
Definition: L1GtTriggerMask.h:33
L1GlobalTrigger::m_triggerMaskTechTrig
std::vector< unsigned int > m_triggerMaskTechTrig
Definition: L1GlobalTrigger.h:171
L1GlobalTrigger::m_l1GtStableParToken
edm::ESGetToken< L1GtStableParameters, L1GtStableParametersRcd > m_l1GtStableParToken
EventSetup Tokens.
Definition: L1GlobalTrigger.h:257
L1GtStableParameters
Definition: L1GtStableParameters.h:33
L1GlobalTrigger::gtPSB
const L1GlobalTriggerPSB * gtPSB() const
Definition: L1GlobalTrigger.h:86
L1GtTriggerMaskVetoTechTrigRcd.h
L1GlobalTrigger::m_prescaleFactorsAlgoTrig
const std::vector< std::vector< int > > * m_prescaleFactorsAlgoTrig
Definition: L1GlobalTrigger.h:154
L1GlobalTriggerFDL
Definition: L1GlobalTriggerFDL.h:40
L1GlobalTrigger::m_ifCaloEtaNumberBits
int m_ifCaloEtaNumberBits
Definition: L1GlobalTrigger.h:127
L1GlobalTriggerGTL
Definition: L1GlobalTriggerGTL.h:48
L1GtBoard.h
edm::ParameterSet
Definition: ParameterSet.h:47
L1GlobalTrigger::m_l1GtTmTechCacheID
unsigned long long m_l1GtTmTechCacheID
Definition: L1GlobalTrigger.h:162
Event.h
L1GlobalTrigger::m_nrL1ForJet
int m_nrL1ForJet
Definition: L1GlobalTrigger.h:119
L1GlobalTrigger::m_gtGTL
L1GlobalTriggerGTL * m_gtGTL
Definition: L1GlobalTrigger.h:177
L1GlobalTrigger::m_algorithmTriggersUnprescaled
const bool m_algorithmTriggersUnprescaled
Definition: L1GlobalTrigger.h:233
L1GlobalTrigger::m_caloGctInputTag
const edm::InputTag m_caloGctInputTag
input tag for calorimeter collections from GCT
Definition: L1GlobalTrigger.h:184
L1GlobalTrigger::m_l1GtTmVetoTech
const L1GtTriggerMask * m_l1GtTmVetoTech
Definition: L1GlobalTrigger.h:167
L1GlobalTrigger::m_l1GtTmVetoAlgo
const L1GtTriggerMask * m_l1GtTmVetoAlgo
Definition: L1GlobalTrigger.h:164
L1GlobalTrigger::m_isDebugEnabled
const bool m_isDebugEnabled
Definition: L1GlobalTrigger.h:254
L1GlobalTrigger::m_l1GtPar
const L1GtParameters * m_l1GtPar
parameters
Definition: L1GlobalTrigger.h:130
L1GlobalTrigger::m_triggerMaskAlgoTrig
std::vector< unsigned int > m_triggerMaskAlgoTrig
Definition: L1GlobalTrigger.h:170
L1GlobalTrigger::m_l1GtPfAlgoCacheID
unsigned long long m_l1GtPfAlgoCacheID
Definition: L1GlobalTrigger.h:149
L1GtFwd.h
L1GlobalTrigger::m_alternativeNrBxBoardEvm
const unsigned int m_alternativeNrBxBoardEvm
Definition: L1GlobalTrigger.h:225
L1GtPrescaleFactorsAlgoTrigRcd.h
L1GlobalTrigger::m_nrL1CenJet
int m_nrL1CenJet
Definition: L1GlobalTrigger.h:118
L1GlobalTrigger::m_l1GtBMToken
edm::ESGetToken< L1GtBoardMaps, L1GtBoardMapsRcd > m_l1GtBMToken
Definition: L1GlobalTrigger.h:259
edm::stream::EDProducer
Definition: EDProducer.h:36
edm::EventSetup
Definition: EventSetup.h:58
L1GlobalTrigger::m_verbosity
const int m_verbosity
verbosity level
Definition: L1GlobalTrigger.h:253
L1GlobalTrigger::m_bstLengthBytes
unsigned int m_bstLengthBytes
length of BST record (in bytes) from event setup
Definition: L1GlobalTrigger.h:141
L1GtBoardMaps.h
edm::ESGetToken< L1GtStableParameters, L1GtStableParametersRcd >
InputTag.h
L1GlobalTrigger::m_technicalTriggersInputTags
const std::vector< edm::InputTag > m_technicalTriggersInputTags
input tag for technical triggers
Definition: L1GlobalTrigger.h:190
L1GlobalTrigger::m_alternativeNrBxBoardDaq
const unsigned int m_alternativeNrBxBoardDaq
Definition: L1GlobalTrigger.h:221
L1GlobalTrigger::m_technicalTriggersUnprescaled
const bool m_technicalTriggersUnprescaled
Definition: L1GlobalTrigger.h:242
L1GlobalTrigger::m_l1GtTmTechToken
edm::ESGetToken< L1GtTriggerMask, L1GtTriggerMaskTechTrigRcd > m_l1GtTmTechToken
Definition: L1GlobalTrigger.h:263
L1GlobalTrigger::~L1GlobalTrigger
~L1GlobalTrigger() override
Definition: L1GlobalTrigger.cc:233
Frameworkfwd.h
L1GlobalTrigger::m_produceL1GtObjectMapRecord
const bool m_produceL1GtObjectMapRecord
logical flag to produce the L1 GT object map record
Definition: L1GlobalTrigger.h:199
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:196
L1GlobalTrigger::m_numberDaqPartitions
unsigned int m_numberDaqPartitions
number of DAQ partitions
Definition: L1GlobalTrigger.h:108
L1GlobalTrigger::m_prescaleFactorsTechTrig
const std::vector< std::vector< int > > * m_prescaleFactorsTechTrig
Definition: L1GlobalTrigger.h:155
ParameterSet.h
L1GlobalTrigger::m_technicalTriggersVetoUnmasked
const bool m_technicalTriggersVetoUnmasked
Definition: L1GlobalTrigger.h:250
L1GlobalTrigger::m_emulateBxInEvent
int m_emulateBxInEvent
Definition: L1GlobalTrigger.h:212
L1GlobalTrigger::m_readTechnicalTriggerRecords
const bool m_readTechnicalTriggerRecords
logical flag to read the technical trigger records
Definition: L1GlobalTrigger.h:205
L1GtTriggerMaskVetoAlgoTrigRcd.h
edm::Event
Definition: Event.h:73
L1GlobalTrigger::gtGTL
const L1GlobalTriggerGTL * gtGTL() const
Definition: L1GlobalTrigger.h:89
L1GlobalTrigger::m_technicalTriggersUnmasked
const bool m_technicalTriggersUnmasked
Definition: L1GlobalTrigger.h:246
L1GlobalTrigger::m_totalBxInEvent
int m_totalBxInEvent
total number of Bx's in the event coming from EventSetup
Definition: L1GlobalTrigger.h:134
L1GlobalTrigger::m_l1GtPfAlgo
const L1GtPrescaleFactors * m_l1GtPfAlgo
prescale factors
Definition: L1GlobalTrigger.h:148
L1GtStableParameters.h
edm::InputTag
Definition: InputTag.h:15
L1GtBoardMapsRcd.h
L1GtPrescaleFactors.h
L1GlobalTrigger::m_l1GtBM
const L1GtBoardMaps * m_l1GtBM
board maps - cache only the record
Definition: L1GlobalTrigger.h:144
L1GlobalTrigger::m_l1GtTmVetoAlgoToken
edm::ESGetToken< L1GtTriggerMask, L1GtTriggerMaskVetoAlgoTrigRcd > m_l1GtTmVetoAlgoToken
Definition: L1GlobalTrigger.h:264
L1GlobalTrigger::m_l1GtTmAlgoCacheID
unsigned long long m_l1GtTmAlgoCacheID
Definition: L1GlobalTrigger.h:159
L1GtPrescaleFactorsTechTrigRcd.h