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 
24 // system include files
25 #include <string>
26 #include <vector>
27 
28 #include <boost/cstdint.hpp>
29 
30 // user include files
31 
34 
37 
40 
43 
44 // forward classes
45 class L1GlobalTriggerPSB;
46 class L1GlobalTriggerGTL;
47 class L1GlobalTriggerFDL;
48 
50 class L1GtParameters;
51 class L1GtBoardMaps;
52 
54 class L1GtTriggerMask;
55 
56 // class declaration
58 {
59 
60 public:
61 
62  explicit L1GlobalTrigger(const edm::ParameterSet&);
64 
65  virtual void produce(edm::Event&, const edm::EventSetup&);
66 
67  // return pointer to PSB
68  inline const L1GlobalTriggerPSB* gtPSB() const
69  {
70  return m_gtPSB;
71  }
72 
73  // return pointer to GTL
74  inline const L1GlobalTriggerGTL* gtGTL() const
75  {
76  return m_gtGTL;
77  }
78 
79  // return pointer to FDL
80  inline const L1GlobalTriggerFDL* gtFDL() const
81  {
82  return m_gtFDL;
83  }
84 
85 private:
86 
88 
91  unsigned long long m_l1GtStableParCacheID;
92 
94  unsigned int m_numberPhysTriggers;
95 
98 
100  unsigned int m_numberDaqPartitions;
101 
104  int m_nrL1Mu;
105 
108 
112 
114 
115  // ... the rest of the objects are global
116 
119 
120 
123  unsigned long long m_l1GtParCacheID;
124 
127 
129  boost::uint16_t m_activeBoardsGtDaq;
130  boost::uint16_t m_activeBoardsGtEvm;
131 
133  unsigned int m_bstLengthBytes;
134 
137  unsigned long long m_l1GtBMCacheID;
138 
139 
142  unsigned long long m_l1GtPfAlgoCacheID;
143 
145  unsigned long long m_l1GtPfTechCacheID;
146 
147  const std::vector<std::vector<int> >* m_prescaleFactorsAlgoTrig;
148  const std::vector<std::vector<int> >* m_prescaleFactorsTechTrig;
149 
152  unsigned long long m_l1GtTmAlgoCacheID;
153 
155  unsigned long long m_l1GtTmTechCacheID;
156 
158  unsigned long long m_l1GtTmVetoAlgoCacheID;
159 
161  unsigned long long m_l1GtTmVetoTechCacheID;
162 
163  std::vector<unsigned int> m_triggerMaskAlgoTrig;
164  std::vector<unsigned int> m_triggerMaskTechTrig;
165 
166  std::vector<unsigned int> m_triggerMaskVetoAlgoTrig;
167  std::vector<unsigned int> m_triggerMaskVetoTechTrig;
168 
169 private:
170 
171 
175 
178 
181 
184 
186  std::vector<edm::InputTag> m_technicalTriggersInputTags;
187 
190 
193 
196 
199 
202 
208 
212  std::vector<int> m_recordLength;
213 
217 
221 
224 
225 private:
226 
230 
231 };
232 
233 #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
const std::vector< std::vector< int > > * m_prescaleFactorsAlgoTrig
std::vector< unsigned int > m_triggerMaskAlgoTrig
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
const L1GlobalTriggerFDL * gtFDL() const
const L1GtTriggerMask * m_l1GtTmTech
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_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