CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1TGlobalProducer.h
Go to the documentation of this file.
1 //L1TGlobalProducer - Emulate L1T uGT
2 //Author: Brian Winer Ohio State
3 
4 #ifndef L1TGLOBALPRODUCER_H
5 #define L1TGLOBALPRODUCER_H
6 
7 // system include files
8 #include <string>
9 #include <vector>
10 #include<iostream>
11 #include<fstream>
12 
13 #include <boost/cstdint.hpp>
14 
15 // user include files
16 
17 // Upgrade Board
19 
22 
25 
28 
30 class L1GtParameters;
31 class L1GtBoardMaps;
32 
34 class L1GtTriggerMask;
35 
36 class TriggerMenu;
37 
38 // class declaration
39 
40 
42 {
43 
44 public:
45 
46  explicit L1TGlobalProducer(const edm::ParameterSet&);
48 
49  virtual void produce(edm::Event&, const edm::EventSetup&);
50  static void fillDescriptions(edm::ConfigurationDescriptions & descriptions);
51  // return pointer to uGt GtBoard QUESTION: Is this used anywhere?
52  //inline const l1t::GtBoard* gtBrd() const
53  //{
54  // return m_uGtBrd;
55  //}
56 
57 private:
58 
60 
63  unsigned long long m_l1GtStableParCacheID;
64 
65  // trigger menu
67  unsigned long long m_l1GtMenuCacheID;
68 
70  unsigned int m_numberPhysTriggers;
71 
73  unsigned int m_numberDaqPartitions;
74 
77  int m_nrL1Mu;
78  int m_nrL1EG;
79  int m_nrL1Tau;
80 
81  int m_nrL1Jet;
82 
83 // *** ??? Do we still need this?
85 
86  // ... the rest of the objects are global
87 
90 
91 
94  unsigned long long m_l1GtParCacheID;
95 
98 
100  boost::uint16_t m_activeBoardsGtDaq;
101 
103  unsigned int m_bstLengthBytes;
104 
107  unsigned long long m_l1GtBMCacheID;
108 
109 
112  unsigned long long m_l1GtPfAlgoCacheID;
113 
114 
115 
116  const std::vector<std::vector<int> >* m_prescaleFactorsAlgoTrig;
117  std::vector<std::vector<int> > m_initialPrescaleFactorsAlgoTrig;
118 
121 
122 
125  unsigned long long m_l1GtTmAlgoCacheID;
126 
128  unsigned long long m_l1GtTmVetoAlgoCacheID;
129 
130 
131  const std::vector<unsigned int>* m_triggerMaskAlgoTrig;
132  std::vector<unsigned int> m_initialTriggerMaskAlgoTrig;
133 
134  const std::vector<unsigned int>* m_triggerMaskVetoAlgoTrig;
135  std::vector<unsigned int> m_initialTriggerMaskVetoAlgoTrig;
136 
137 private:
138 
139 /*
140  GtProducerPSB* m_gtPSB;
141  GtProducerGTL* m_gtGTL;
142  GtProducerFDL* m_gtFDL;
143 */
145 
149 
156 
160 
163 
166 
169 
175 
178 
182 
185 
186 
188  unsigned int m_prescaleSet;
189 
194 
198 
199 
200 private:
201 
205 
206 };
207 
208 
209 #endif /*GtProducer_h*/
const L1GtBoardMaps * m_l1GtBM
board maps - cache only the record
unsigned int m_numberDaqPartitions
number of DAQ partitions
unsigned long long m_l1GtParCacheID
unsigned long long m_l1GtTmVetoAlgoCacheID
const std::vector< unsigned int > * m_triggerMaskAlgoTrig
int m_verbosity
verbosity level
std::string m_prescalesFile
CSV file for prescales.
const GlobalStableParameters * m_l1GtStablePar
cached stuff
edm::EDGetTokenT< BXVector< l1t::Tau > > m_tauInputToken
int m_psBstLengthBytes
length of BST record (in bytes) from parameter set
bool m_produceL1GtObjectMapRecord
logical flag to produce the L1 GT object map record
int m_totalBxInEvent
total number of Bx&#39;s in the event coming from EventSetup
unsigned int m_numberPhysTriggers
number of physics triggers
edm::EDGetTokenT< BXVector< GlobalExtBlk > > m_extInputToken
unsigned long long m_l1GtTmAlgoCacheID
const TriggerMenu * m_l1GtMenu
std::vector< unsigned int > m_initialTriggerMaskAlgoTrig
const L1GtTriggerMask * m_l1GtTmAlgo
trigger masks &amp; veto masks
unsigned int m_alternativeNrBxBoardDaq
edm::InputTag m_muInputTag
input tag for muon collection from GMT
edm::InputTag m_extInputTag
input tag for external conditions
unsigned long long m_l1GtMenuCacheID
bool m_writePsbL1GtDaqRecord
logical flag to write the PSB content in the L1 GT DAQ record
const L1GtPrescaleFactors * m_l1GtPfAlgo
prescale factors
std::vector< std::vector< int > > m_initialPrescaleFactorsAlgoTrig
boost::uint16_t m_activeBoardsGtDaq
active boards in L1 GT DAQ record
bool m_produceL1GtDaqRecord
logical flag to produce the L1 GT DAQ readout record
unsigned long long m_l1GtStableParCacheID
edm::EDGetTokenT< BXVector< l1t::Muon > > m_muInputToken
const L1GtTriggerMask * m_l1GtTmVetoAlgo
virtual void produce(edm::Event &, const edm::EventSetup &)
l1t::GtBoard * m_uGtBrd
unsigned int m_prescaleSet
prescale set used
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::InputTag m_caloInputTag
input tag for calorimeter collections from GCT
edm::EDGetTokenT< BXVector< l1t::EtSum > > m_sumInputToken
int m_L1DataBxInEvent
Bx expected in Data coming to GT.
L1TGlobalProducer(const edm::ParameterSet &)
unsigned long long m_l1GtBMCacheID
std::vector< unsigned int > m_initialTriggerMaskVetoAlgoTrig
unsigned int m_bstLengthBytes
length of BST record (in bytes) from event setup
const L1GtParameters * m_l1GtPar
parameters
const std::vector< std::vector< int > > * m_prescaleFactorsAlgoTrig
unsigned long long m_l1GtPfAlgoCacheID
const std::vector< unsigned int > * m_triggerMaskVetoAlgoTrig
edm::EDGetTokenT< BXVector< l1t::Jet > > m_jetInputToken
edm::EDGetTokenT< BXVector< l1t::EGamma > > m_egInputToken