CMS 3D CMS Logo

L1GlobalTriggerEvmRawToDigi.h
Go to the documentation of this file.
1 #ifndef EventFilter_L1GlobalTriggerRawToDigi_L1GlobalTriggerEvmRawToDigi_h
2 #define EventFilter_L1GlobalTriggerRawToDigi_L1GlobalTriggerEvmRawToDigi_h
3 
18 // system include files
19 #include <memory>
20 #include <iostream>
21 
22 // user include files
25 
28 
33 
38 
39 // forward declarations
40 class L1GtfeWord;
41 class L1GtfeExtWord;
42 class L1TcsWord;
43 class L1GtFdlWord;
44 
45 class FEDHeader;
46 class FEDTrailer;
47 
48 // class declaration
50 public:
53 
56 
57 private:
58  void produce(edm::Event&, const edm::EventSetup&) override;
59 
61 
63  void unpackHeader(const unsigned char*, FEDHeader&);
64 
66  void unpackTrailer(const unsigned char*, FEDTrailer&);
67 
70 
72  void dumpFedRawData(const unsigned char*, int, std::ostream&);
73 
74 private:
78 
81 
85 
88 
91 
94 
95  // number of bunch crossing to be unpacked
97 
101 
105 
107  //
110 
113 
116 
119 
120 private:
124 };
125 
126 #endif // EventFilter_L1GlobalTriggerRawToDigi_L1GlobalTriggerEvmRawToDigi_h
int m_bstLengthBytes
length of BST record (in bytes)
void produce(edm::Event &, const edm::EventSetup &) override
int m_totalBxInEvent
number of Bx for a board, obtained from GTFE block (record length & alternative)
void produceEmptyProducts(edm::Event &)
produce empty products in case of problems
void dumpFedRawData(const unsigned char *, int, std::ostream &)
dump FED raw data
const edm::ESGetToken< L1GtBoardMaps, L1GtBoardMapsRcd > m_l1GtBMToken
EventSetup Token for L1GtBoardMaps.
cms_uint16_t m_activeBoardsMaskGt
mask for active boards
edm::ESGetToken< L1GtParameters, L1GtParametersRcd > m_l1GtParamToken
EventSetup Token for L1GtParameters.
unsigned short cms_uint16_t
Definition: typedefs.h:13
void unpackHeader(const unsigned char *, FEDHeader &)
block unpackers
int m_recordLength1
corresponding to alternative 1 in altNrBxBoard()
int m_recordLength0
total Bx&#39;s in the event, obtained from GTFE block
L1GlobalTriggerEvmRawToDigi(const edm::ParameterSet &)
constructor(s)
void unpackTrailer(const unsigned char *, FEDTrailer &)
unpack trailer word
~L1GlobalTriggerEvmRawToDigi() override
destructor
edm::InputTag m_evmGtInputTag
input tags for GT EVM record