test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 #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 
167 private:
168 
169 
173 
176 
179 
182 
184  std::vector<edm::InputTag> m_technicalTriggersInputTags;
185 
188 
191 
194 
197 
200 
206 
210  std::vector<int> m_recordLength;
211 
215 
219 
222 
227 
231 
236 
240 
244 
245 
246 private:
247 
251 
252 };
253 
254 #endif /*GlobalTrigger_L1GlobalTrigger_h*/
const L1GtTriggerMask * m_l1GtTmVetoTech
const L1GtTriggerMask * m_l1GtTmVetoAlgo
unsigned long long m_l1GtParCacheID
const L1GtStableParameters * m_l1GtStablePar
cached stuff
std::vector< unsigned int > m_triggerMaskVetoAlgoTrig
std::vector< int > m_recordLength
bool m_technicalTriggersVetoUnmasked
const std::vector< std::vector< int > > * m_prescaleFactorsAlgoTrig
std::vector< unsigned int > m_triggerMaskAlgoTrig
bool m_technicalTriggersUnprescaled
const L1GlobalTriggerPSB * gtPSB() const
unsigned long long m_l1GtStableParCacheID
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
bool m_algorithmTriggersUnprescaled
const L1GlobalTriggerFDL * gtFDL() const
const L1GtTriggerMask * m_l1GtTmTech
bool m_algorithmTriggersUnmasked
edm::InputTag m_caloGctInputTag
input tag for calorimeter collections from GCT
boost::uint16_t m_activeBoardsGtEvm
unsigned long long m_l1GtPfTechCacheID
virtual void produce(edm::Event &, const edm::EventSetup &)
unsigned int m_alternativeNrBxBoardDaq
int m_verbosity
verbosity level
L1GlobalTriggerFDL * m_gtFDL
const L1GtParameters * m_l1GtPar
parameters
std::vector< unsigned int > m_triggerMaskTechTrig
const L1GtPrescaleFactors * m_l1GtPfTech
unsigned long long m_l1GtTmAlgoCacheID
std::vector< edm::InputTag > m_technicalTriggersInputTags
input tag for technical triggers
unsigned int m_alternativeNrBxBoardEvm
bool m_produceL1GtDaqRecord
logical flag to produce the L1 GT DAQ readout record
bool m_produceL1GtObjectMapRecord
logical flag to produce the L1 GT object map record
boost::uint16_t m_activeBoardsGtDaq
active boards in L1 GT DAQ record and in L1 GT EVM record
edm::InputTag m_muGmtInputTag
input tag for muon collection from GMT
bool m_produceL1GtEvmRecord
logical flag to produce the L1 GT EVM readout record
const L1GtTriggerMask * m_l1GtTmAlgo
trigger masks &amp; veto masks
unsigned long long m_l1GtTmVetoTechCacheID
unsigned long long m_l1GtBMCacheID
L1GlobalTriggerPSB * m_gtPSB
bool m_technicalTriggersUnmasked
bool m_readTechnicalTriggerRecords
logical flag to read the technical trigger records
bool m_writePsbL1GtDaqRecord
logical flag to write the PSB content in the L1 GT DAQ record
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
edm::InputTag m_castorInputTag
input tag for CASTOR record
int m_psBstLengthBytes
length of BST record (in bytes) from parameter set
unsigned long long m_l1GtTmVetoAlgoCacheID
unsigned long long m_l1GtPfAlgoCacheID