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*/
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
const bool m_technicalTriggersVetoUnmasked
const bool m_produceL1GtObjectMapRecord
logical flag to produce the L1 GT object map record
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
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
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 & veto masks
void produce(edm::Event &, const edm::EventSetup &) override
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
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
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
unsigned long long m_l1GtPfAlgoCacheID