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 #include <boost/cstdint.hpp>
27 
28 // user include files
29 
32 
35 
38 
41 
42 // forward classes
43 class L1GlobalTriggerPSB;
44 class L1GlobalTriggerGTL;
45 class L1GlobalTriggerFDL;
46 
48 class L1GtParameters;
49 class L1GtBoardMaps;
50 
52 class L1GtTriggerMask;
53 
54 // class declaration
56 
57 public:
58  explicit L1GlobalTrigger(const edm::ParameterSet &);
59  ~L1GlobalTrigger() override;
60 
61  void produce(edm::Event &, const edm::EventSetup &) override;
62 
63  // return pointer to PSB
64  inline const L1GlobalTriggerPSB *gtPSB() const { return m_gtPSB; }
65 
66  // return pointer to GTL
67  inline const L1GlobalTriggerGTL *gtGTL() const { return m_gtGTL; }
68 
69  // return pointer to FDL
70  inline const L1GlobalTriggerFDL *gtFDL() const { return m_gtFDL; }
71 
72 private:
74 
77  unsigned long long m_l1GtStableParCacheID;
78 
80  unsigned int m_numberPhysTriggers;
81 
84 
86  unsigned int m_numberDaqPartitions;
87 
91  int m_nrL1Mu;
92 
95 
99 
101 
102  // ... the rest of the objects are global
103 
106 
109  unsigned long long m_l1GtParCacheID;
110 
113 
115  boost::uint16_t m_activeBoardsGtDaq;
116  boost::uint16_t m_activeBoardsGtEvm;
117 
119  unsigned int m_bstLengthBytes;
120 
123  unsigned long long m_l1GtBMCacheID;
124 
127  unsigned long long m_l1GtPfAlgoCacheID;
128 
130  unsigned long long m_l1GtPfTechCacheID;
131 
132  const std::vector<std::vector<int>> *m_prescaleFactorsAlgoTrig;
133  const std::vector<std::vector<int>> *m_prescaleFactorsTechTrig;
134 
137  unsigned long long m_l1GtTmAlgoCacheID;
138 
140  unsigned long long m_l1GtTmTechCacheID;
141 
143  unsigned long long m_l1GtTmVetoAlgoCacheID;
144 
146  unsigned long long m_l1GtTmVetoTechCacheID;
147 
148  std::vector<unsigned int> m_triggerMaskAlgoTrig;
149  std::vector<unsigned int> m_triggerMaskTechTrig;
150 
151  std::vector<unsigned int> m_triggerMaskVetoAlgoTrig;
152  std::vector<unsigned int> m_triggerMaskVetoTechTrig;
153 
157 
160 
163 
166 
168  const std::vector<edm::InputTag> m_technicalTriggersInputTags;
169 
172 
175 
178 
181 
184 
191 
195  const std::vector<int> m_recordLength;
196 
199  const unsigned int m_alternativeNrBxBoardDaq;
200 
203  const unsigned int m_alternativeNrBxBoardEvm;
204 
207 
212 
216 
221 
225 
229 
231  const int m_verbosity;
232  const bool m_isDebugEnabled;
233 };
234 
235 #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
boost::uint16_t m_activeBoardsGtEvm
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
boost::uint16_t m_activeBoardsGtDaq
active boards in L1 GT DAQ record and in L1 GT EVM record
~L1GlobalTrigger() override
const L1GtTriggerMask * m_l1GtTmAlgo
trigger masks & veto masks
void produce(edm::Event &, const edm::EventSetup &) override
unsigned long long m_l1GtTmVetoTechCacheID
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
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