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
L1GlobalTriggerEvmRawToDigi::m_recordLength1
int m_recordLength1
corresponding to alternative 1 in altNrBxBoard()
Definition: L1GlobalTriggerEvmRawToDigi.h:112
L1GlobalTriggerEvmRawToDigi::m_uppSkipBxInEvent
int m_uppSkipBxInEvent
Definition: L1GlobalTriggerEvmRawToDigi.h:104
L1GtParametersRcd.h
L1GtParameters.h
L1TcsWord
Definition: L1TcsWord.h:29
L1GlobalTriggerEvmRawToDigi::m_unpackBxInEvent
int m_unpackBxInEvent
Definition: L1GlobalTriggerEvmRawToDigi.h:96
L1GlobalTriggerEvmRawToDigi::m_totalBxInEvent
int m_totalBxInEvent
number of Bx for a board, obtained from GTFE block (record length & alternative)
Definition: L1GlobalTriggerEvmRawToDigi.h:115
L1GlobalTriggerEvmRawToDigi::m_evmGtFedId
int m_evmGtFedId
Definition: L1GlobalTriggerEvmRawToDigi.h:84
L1GlobalTriggerEvmRawToDigi::L1GlobalTriggerEvmRawToDigi
L1GlobalTriggerEvmRawToDigi(const edm::ParameterSet &)
constructor(s)
Definition: L1GlobaTriggerEvmRawToDigi.cc:50
L1GlobalTriggerEvmRawToDigi
Definition: L1GlobalTriggerEvmRawToDigi.h:49
EDProducer.h
L1GtfeWord
Definition: L1GtfeWord.h:30
ESGetToken.h
L1GlobalTriggerEvmRawToDigi::m_activeBoardsMaskGt
cms_uint16_t m_activeBoardsMaskGt
mask for active boards
Definition: L1GlobalTriggerEvmRawToDigi.h:93
L1GlobalTriggerEvmRawToDigi::m_l1GtParamToken
edm::ESGetToken< L1GtParameters, L1GtParametersRcd > m_l1GtParamToken
EventSetup Token for L1GtParameters.
Definition: L1GlobalTriggerEvmRawToDigi.h:90
MakerMacros.h
L1GlobalTriggerEvmRawToDigi::m_recordLength0
int m_recordLength0
total Bx's in the event, obtained from GTFE block
Definition: L1GlobalTriggerEvmRawToDigi.h:109
L1GlobalTriggerEvmRawToDigi::m_gtFdlWord
L1GtFdlWord * m_gtFdlWord
Definition: L1GlobalTriggerEvmRawToDigi.h:77
L1GlobalTriggerEvmRawToDigi::unpackTrailer
void unpackTrailer(const unsigned char *, FEDTrailer &)
unpack trailer word
Definition: L1GlobaTriggerEvmRawToDigi.cc:689
L1GlobalTriggerEvmRawToDigi::m_gtfeWord
L1GtfeExtWord * m_gtfeWord
Definition: L1GlobalTriggerEvmRawToDigi.h:75
typedefs.h
L1GlobalTriggerEvmRawToDigi::produceEmptyProducts
void produceEmptyProducts(edm::Event &)
produce empty products in case of problems
Definition: L1GlobaTriggerEvmRawToDigi.cc:730
L1GlobalTriggerEvmRawToDigi::m_l1GtBMToken
const edm::ESGetToken< L1GtBoardMaps, L1GtBoardMapsRcd > m_l1GtBMToken
EventSetup Token for L1GtBoardMaps.
Definition: L1GlobalTriggerEvmRawToDigi.h:87
edm::ParameterSet
Definition: ParameterSet.h:47
FEDTrailer
Definition: FEDTrailer.h:14
Event.h
L1GlobalTriggerEvmRawToDigi::m_isDebugEnabled
bool m_isDebugEnabled
Definition: L1GlobalTriggerEvmRawToDigi.h:123
L1GlobalTriggerEvmRawToDigi::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition: L1GlobaTriggerEvmRawToDigi.cc:134
L1GtFdlWord
Definition: L1GtFdlWord.h:29
L1GlobalTriggerEvmRawToDigi::m_tcsWord
L1TcsWord * m_tcsWord
Definition: L1GlobalTriggerEvmRawToDigi.h:76
edm::stream::EDProducer
Definition: EDProducer.h:36
cms_uint16_t
unsigned short cms_uint16_t
Definition: typedefs.h:13
edm::EventSetup
Definition: EventSetup.h:58
L1GlobalTriggerEvmRawToDigi::m_lowSkipBxInEvent
int m_lowSkipBxInEvent
Definition: L1GlobalTriggerEvmRawToDigi.h:100
L1GtBoardMaps.h
edm::ESGetToken< L1GtBoardMaps, L1GtBoardMapsRcd >
L1GtfeExtWord
Definition: L1GtfeExtWord.h:31
InputTag.h
L1GlobalTriggerEvmRawToDigi::~L1GlobalTriggerEvmRawToDigi
~L1GlobalTriggerEvmRawToDigi() override
destructor
Definition: L1GlobaTriggerEvmRawToDigi.cc:125
L1GlobalTriggerEvmRawToDigi::unpackHeader
void unpackHeader(const unsigned char *, FEDHeader &)
block unpackers
Definition: L1GlobaTriggerEvmRawToDigi.cc:643
L1GlobalTriggerEvmRawToDigi::m_verbosity
int m_verbosity
verbosity level
Definition: L1GlobalTriggerEvmRawToDigi.h:122
L1GlobalTriggerEvmRawToDigi::dumpFedRawData
void dumpFedRawData(const unsigned char *, int, std::ostream &)
dump FED raw data
Definition: L1GlobaTriggerEvmRawToDigi.cc:739
L1GlobalTriggerEvmRawToDigi::m_evmGtInputTag
edm::InputTag m_evmGtInputTag
input tags for GT EVM record
Definition: L1GlobalTriggerEvmRawToDigi.h:80
Frameworkfwd.h
L1GlobalTriggerEvmRawToDigi::m_bstLengthBytes
int m_bstLengthBytes
length of BST record (in bytes)
Definition: L1GlobalTriggerEvmRawToDigi.h:118
ParameterSet.h
FEDHeader
Definition: FEDHeader.h:14
edm::Event
Definition: Event.h:73
edm::InputTag
Definition: InputTag.h:15
L1GtBoardMapsRcd.h