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 
58 public:
59 
60  explicit L1GlobalTrigger(const edm::ParameterSet&);
62 
63  virtual void produce(edm::Event&, const edm::EventSetup&);
64 
65  // return pointer to PSB
66  inline const L1GlobalTriggerPSB* gtPSB() const
67  {
68  return m_gtPSB;
69  }
70 
71  // return pointer to GTL
72  inline const L1GlobalTriggerGTL* gtGTL() const
73  {
74  return m_gtGTL;
75  }
76 
77  // return pointer to FDL
78  inline const L1GlobalTriggerFDL* gtFDL() const
79  {
80  return m_gtFDL;
81  }
82 
83 private:
84 
86 
89  unsigned long long m_l1GtStableParCacheID;
90 
92  unsigned int m_numberPhysTriggers;
93 
96 
98  unsigned int m_numberDaqPartitions;
99 
102  int m_nrL1Mu;
103 
106 
110 
112 
113  // ... the rest of the objects are global
114 
117 
118 
121  unsigned long long m_l1GtParCacheID;
122 
125 
127  boost::uint16_t m_activeBoardsGtDaq;
128  boost::uint16_t m_activeBoardsGtEvm;
129 
131  unsigned int m_bstLengthBytes;
132 
135  unsigned long long m_l1GtBMCacheID;
136 
137 
140  unsigned long long m_l1GtPfAlgoCacheID;
141 
143  unsigned long long m_l1GtPfTechCacheID;
144 
145  const std::vector<std::vector<int> >* m_prescaleFactorsAlgoTrig;
146  const std::vector<std::vector<int> >* m_prescaleFactorsTechTrig;
147 
150  unsigned long long m_l1GtTmAlgoCacheID;
151 
153  unsigned long long m_l1GtTmTechCacheID;
154 
156  unsigned long long m_l1GtTmVetoAlgoCacheID;
157 
159  unsigned long long m_l1GtTmVetoTechCacheID;
160 
161  std::vector<unsigned int> m_triggerMaskAlgoTrig;
162  std::vector<unsigned int> m_triggerMaskTechTrig;
163 
164  std::vector<unsigned int> m_triggerMaskVetoAlgoTrig;
165  std::vector<unsigned int> m_triggerMaskVetoTechTrig;
166 
170 
173 
176 
179 
181  const std::vector<edm::InputTag> m_technicalTriggersInputTags;
182 
185 
188 
191 
194 
197 
203 
207  const std::vector<int> m_recordLength;
208 
211  const unsigned int m_alternativeNrBxBoardDaq;
212 
215  const unsigned int m_alternativeNrBxBoardEvm;
216 
219 
224 
228 
233 
237 
241 
243  const int m_verbosity;
244  const bool m_isDebugEnabled;
245 
246 };
247 
248 #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
virtual void produce(edm::Event &, const edm::EventSetup &)
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
const L1GtTriggerMask * m_l1GtTmAlgo
trigger masks & veto masks
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