CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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*/
const std::vector< edm::InputTag > m_technicalTriggersInputTags
input tag for technical triggers
const L1GtTriggerMask * m_l1GtTmVetoTech
const L1GtTriggerMask * m_l1GtTmVetoAlgo
const std::vector< int > m_recordLength
unsigned long long m_l1GtParCacheID
const L1GtStableParameters * m_l1GtStablePar
cached stuff
std::vector< unsigned int > m_triggerMaskVetoAlgoTrig
const edm::InputTag m_caloGctInputTag
input tag for calorimeter collections from GCT
const std::vector< std::vector< int > > * m_prescaleFactorsAlgoTrig
const bool m_readTechnicalTriggerRecords
logical flag to read the technical trigger records
std::vector< unsigned int > m_triggerMaskAlgoTrig
edm::ESGetToken< L1GtTriggerMask, L1GtTriggerMaskAlgoTrigRcd > m_l1GtTmAlgoToken
const bool m_technicalTriggersVetoUnmasked
const bool m_produceL1GtObjectMapRecord
logical flag to produce the L1 GT object map record
edm::ESGetToken< L1GtTriggerMask, L1GtTriggerMaskVetoAlgoTrigRcd > m_l1GtTmVetoAlgoToken
const bool m_writePsbL1GtDaqRecord
logical flag to write the PSB content in the L1 GT DAQ record
const L1GlobalTriggerPSB * gtPSB() const
unsigned long long m_l1GtStableParCacheID
const bool m_produceL1GtDaqRecord
logical flag to produce the L1 GT DAQ readout record
const L1GtPrescaleFactors * m_l1GtPfAlgo
prescale factors
unsigned int m_numberPhysTriggers
number of physics triggers
L1GlobalTrigger(const edm::ParameterSet &)
const L1GlobalTriggerGTL * gtGTL() const
L1GlobalTriggerGTL * m_gtGTL
unsigned int m_bstLengthBytes
length of BST record (in bytes) from event setup
const std::vector< std::vector< int > > * m_prescaleFactorsTechTrig
std::vector< unsigned int > m_triggerMaskVetoTechTrig
const bool m_produceL1GtEvmRecord
logical flag to produce the L1 GT EVM readout record
edm::ESGetToken< L1GtTriggerMask, L1GtTriggerMaskTechTrigRcd > m_l1GtTmTechToken
edm::ESGetToken< L1GtParameters, L1GtParametersRcd > m_l1GtParToken
const bool m_algorithmTriggersUnmasked
const L1GlobalTriggerFDL * gtFDL() const
const L1GtTriggerMask * m_l1GtTmTech
const bool m_technicalTriggersUnmasked
unsigned long long m_l1GtPfTechCacheID
const unsigned int m_alternativeNrBxBoardEvm
edm::ESGetToken< L1GtBoardMaps, L1GtBoardMapsRcd > m_l1GtBMToken
L1GlobalTriggerFDL * m_gtFDL
const bool m_algorithmTriggersUnprescaled
const bool m_isDebugEnabled
const L1GtParameters * m_l1GtPar
parameters
std::vector< unsigned int > m_triggerMaskTechTrig
const L1GtPrescaleFactors * m_l1GtPfTech
unsigned long long m_l1GtTmAlgoCacheID
const int m_verbosity
verbosity level
~L1GlobalTrigger() override
const L1GtTriggerMask * m_l1GtTmAlgo
trigger masks &amp; veto masks
void produce(edm::Event &, const edm::EventSetup &) override
edm::ESGetToken< L1GtStableParameters, L1GtStableParametersRcd > m_l1GtStableParToken
EventSetup Tokens.
unsigned long long m_l1GtTmVetoTechCacheID
uint16_t m_activeBoardsGtDaq
active boards in L1 GT DAQ record and in L1 GT EVM record
unsigned long long m_l1GtBMCacheID
L1GlobalTriggerPSB * m_gtPSB
const edm::InputTag m_muGmtInputTag
input tag for muon collection from GMT
edm::ESGetToken< L1GtPrescaleFactors, L1GtPrescaleFactorsTechTrigRcd > m_l1GtPfTechToken
const bool m_technicalTriggersUnprescaled
const int m_psBstLengthBytes
length of BST record (in bytes) from parameter set
uint16_t m_activeBoardsGtEvm
const unsigned int m_alternativeNrBxBoardDaq
edm::ESGetToken< L1GtPrescaleFactors, L1GtPrescaleFactorsAlgoTrigRcd > m_l1GtPfAlgoToken
int m_totalBxInEvent
total number of Bx&#39;s in the event coming from EventSetup
unsigned int m_numberTechnicalTriggers
number of technical triggers
const L1GtBoardMaps * m_l1GtBM
board maps - cache only the record
unsigned long long m_l1GtTmTechCacheID
unsigned int m_numberDaqPartitions
number of DAQ partitions
const edm::InputTag m_castorInputTag
input tag for CASTOR record
unsigned long long m_l1GtTmVetoAlgoCacheID
edm::ESGetToken< L1GtTriggerMask, L1GtTriggerMaskVetoTechTrigRcd > m_l1GtTmVetoTechToken
unsigned long long m_l1GtPfAlgoCacheID