CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GtProducer.h
Go to the documentation of this file.
1 #ifndef GtProducer_h
2 #define GtProducer_h
3 
22 // system include files
23 #include <string>
24 #include <vector>
25 
26 #include <boost/cstdint.hpp>
27 
28 // user include files
29 
30 // Upgrade Board
32 
35 
38 
41 
43 class L1GtParameters;
44 class L1GtBoardMaps;
45 
47 class L1GtTriggerMask;
48 
49 // class declaration
50 
51 namespace l1t {
52 
54 {
55 
56 public:
57 
58  explicit GtProducer(const edm::ParameterSet&);
59  ~GtProducer();
60 
61  virtual void produce(edm::Event&, const edm::EventSetup&);
62 
63  // return pointer to uGt GtBoard QUESTION: Is this used anywhere?
64  inline const GtBoard* gtBrd() const
65  {
66  return m_uGtBrd;
67  }
68 
69 private:
70 
72 
75  unsigned long long m_l1GtStableParCacheID;
76 
78  unsigned int m_numberPhysTriggers;
79 
81  unsigned int m_numberDaqPartitions;
82 
85  int m_nrL1Mu;
86  int m_nrL1EG;
87  int m_nrL1Tau;
88 
89  int m_nrL1Jet;
90 
91 // *** ??? Do we still need this?
93 
94  // ... the rest of the objects are global
95 
98 
99 
102  unsigned long long m_l1GtParCacheID;
103 
106 
108  boost::uint16_t m_activeBoardsGtDaq;
109 
111  unsigned int m_bstLengthBytes;
112 
115  unsigned long long m_l1GtBMCacheID;
116 
117 
120  unsigned long long m_l1GtPfAlgoCacheID;
121 
122 
123 
124  const std::vector<std::vector<int> >* m_prescaleFactorsAlgoTrig;
125 
126 
129  unsigned long long m_l1GtTmAlgoCacheID;
130 
132  unsigned long long m_l1GtTmVetoAlgoCacheID;
133 
134 
135  std::vector<unsigned int> m_triggerMaskAlgoTrig;
136 
137  std::vector<unsigned int> m_triggerMaskVetoAlgoTrig;
138 
139 private:
140 
141 /*
142  GtProducerPSB* m_gtPSB;
143  GtProducerGTL* m_gtGTL;
144  GtProducerFDL* m_gtFDL;
145 */
147 
150 
153 
156 
159 
162 
168 
171 
175 
178 
183 
187 
188 
189 private:
190 
194 
195 };
196 
197 }
198 #endif /*GtProducer_h*/
std::vector< unsigned int > m_triggerMaskAlgoTrig
Definition: GtProducer.h:135
bool m_algorithmTriggersUnprescaled
Definition: GtProducer.h:182
std::vector< unsigned int > m_triggerMaskVetoAlgoTrig
Definition: GtProducer.h:137
bool m_produceL1GtObjectMapRecord
logical flag to produce the L1 GT object map record
Definition: GtProducer.h:158
const L1GtTriggerMask * m_l1GtTmVetoAlgo
Definition: GtProducer.h:131
const std::vector< std::vector< int > > * m_prescaleFactorsAlgoTrig
Definition: GtProducer.h:124
bool m_writePsbL1GtDaqRecord
logical flag to write the PSB content in the L1 GT DAQ record
Definition: GtProducer.h:161
int m_L1DataBxInEvent
Bx expected in Data coming to GT.
Definition: GtProducer.h:170
bool m_algorithmTriggersUnmasked
Definition: GtProducer.h:186
unsigned int m_numberPhysTriggers
number of physics triggers
Definition: GtProducer.h:78
boost::uint16_t m_activeBoardsGtDaq
active boards in L1 GT DAQ record
Definition: GtProducer.h:108
unsigned int m_numberDaqPartitions
number of DAQ partitions
Definition: GtProducer.h:81
int m_totalBxInEvent
total number of Bx&#39;s in the event coming from EventSetup
Definition: GtProducer.h:105
int m_ifCaloEtaNumberBits
Definition: GtProducer.h:97
const GlobalStableParameters * m_l1GtStablePar
cached stuff
Definition: GtProducer.h:74
unsigned long long m_l1GtParCacheID
Definition: GtProducer.h:102
GtBoard * m_uGtBrd
Definition: GtProducer.h:146
const L1GtPrescaleFactors * m_l1GtPfAlgo
prescale factors
Definition: GtProducer.h:119
unsigned int m_alternativeNrBxBoardDaq
Definition: GtProducer.h:174
unsigned long long m_l1GtStableParCacheID
Definition: GtProducer.h:75
unsigned long long m_l1GtTmVetoAlgoCacheID
Definition: GtProducer.h:132
unsigned int m_bstLengthBytes
length of BST record (in bytes) from event setup
Definition: GtProducer.h:111
const L1GtParameters * m_l1GtPar
parameters
Definition: GtProducer.h:101
unsigned long long m_l1GtBMCacheID
Definition: GtProducer.h:115
int m_ifMuEtaNumberBits
Definition: GtProducer.h:96
bool m_isDebugEnabled
Definition: GtProducer.h:193
const L1GtBoardMaps * m_l1GtBM
board maps - cache only the record
Definition: GtProducer.h:114
bool m_produceL1GtDaqRecord
logical flag to produce the L1 GT DAQ readout record
Definition: GtProducer.h:155
const GtBoard * gtBrd() const
Definition: GtProducer.h:64
const L1GtTriggerMask * m_l1GtTmAlgo
trigger masks &amp; veto masks
Definition: GtProducer.h:128
int m_emulateBxInEvent
Definition: GtProducer.h:167
GtProducer(const edm::ParameterSet &)
Definition: GtProducer.cc:66
unsigned long long m_l1GtTmAlgoCacheID
Definition: GtProducer.h:129
edm::InputTag m_caloInputTag
input tag for calorimeter collections from GCT
Definition: GtProducer.h:152
edm::InputTag m_muInputTag
input tag for muon collection from GMT
Definition: GtProducer.h:149
virtual void produce(edm::Event &, const edm::EventSetup &)
Definition: GtProducer.cc:219
int m_psBstLengthBytes
length of BST record (in bytes) from parameter set
Definition: GtProducer.h:177
int m_verbosity
verbosity level
Definition: GtProducer.h:192
unsigned long long m_l1GtPfAlgoCacheID
Definition: GtProducer.h:120