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 
32 
33 // forward declarations
34 class L1GtfeWord;
35 class L1GtfeExtWord;
36 class L1TcsWord;
37 class L1GtFdlWord;
38 
39 class FEDHeader;
40 class FEDTrailer;
41 
42 // class declaration
44 public:
47 
50 
51 private:
52  void produce(edm::Event&, const edm::EventSetup&) override;
53 
55 
57  void unpackHeader(const unsigned char*, FEDHeader&);
58 
60  void unpackTrailer(const unsigned char*, FEDTrailer&);
61 
64 
66  void dumpFedRawData(const unsigned char*, int, std::ostream&);
67 
68 private:
72 
75 
79 
82 
83  // number of bunch crossing to be unpacked
85 
89 
93 
95  //
98 
101 
104 
107 
108 private:
112 };
113 
114 #endif // EventFilter_L1GlobalTriggerRawToDigi_L1GlobalTriggerEvmRawToDigi_h
L1GlobalTriggerEvmRawToDigi::m_recordLength1
int m_recordLength1
corresponding to alternative 1 in altNrBxBoard()
Definition: L1GlobalTriggerEvmRawToDigi.h:100
L1GlobalTriggerEvmRawToDigi::m_uppSkipBxInEvent
int m_uppSkipBxInEvent
Definition: L1GlobalTriggerEvmRawToDigi.h:92
L1TcsWord
Definition: L1TcsWord.h:29
L1GlobalTriggerEvmRawToDigi::m_unpackBxInEvent
int m_unpackBxInEvent
Definition: L1GlobalTriggerEvmRawToDigi.h:84
L1GlobalTriggerEvmRawToDigi::m_totalBxInEvent
int m_totalBxInEvent
number of Bx for a board, obtained from GTFE block (record length & alternative)
Definition: L1GlobalTriggerEvmRawToDigi.h:103
L1GlobalTriggerEvmRawToDigi::m_evmGtFedId
int m_evmGtFedId
Definition: L1GlobalTriggerEvmRawToDigi.h:78
L1GlobalTriggerEvmRawToDigi::L1GlobalTriggerEvmRawToDigi
L1GlobalTriggerEvmRawToDigi(const edm::ParameterSet &)
constructor(s)
Definition: L1GlobaTriggerEvmRawToDigi.cc:56
L1GlobalTriggerEvmRawToDigi
Definition: L1GlobalTriggerEvmRawToDigi.h:43
EDProducer.h
L1GtfeWord
Definition: L1GtfeWord.h:30
L1GlobalTriggerEvmRawToDigi::m_activeBoardsMaskGt
cms_uint16_t m_activeBoardsMaskGt
mask for active boards
Definition: L1GlobalTriggerEvmRawToDigi.h:81
MakerMacros.h
L1GlobalTriggerEvmRawToDigi::m_recordLength0
int m_recordLength0
total Bx's in the event, obtained from GTFE block
Definition: L1GlobalTriggerEvmRawToDigi.h:97
L1GlobalTriggerEvmRawToDigi::m_gtFdlWord
L1GtFdlWord * m_gtFdlWord
Definition: L1GlobalTriggerEvmRawToDigi.h:71
L1GlobalTriggerEvmRawToDigi::unpackTrailer
void unpackTrailer(const unsigned char *, FEDTrailer &)
unpack trailer word
Definition: L1GlobaTriggerEvmRawToDigi.cc:689
L1GlobalTriggerEvmRawToDigi::m_gtfeWord
L1GtfeExtWord * m_gtfeWord
Definition: L1GlobalTriggerEvmRawToDigi.h:69
typedefs.h
L1GlobalTriggerEvmRawToDigi::produceEmptyProducts
void produceEmptyProducts(edm::Event &)
produce empty products in case of problems
Definition: L1GlobaTriggerEvmRawToDigi.cc:730
edm::ParameterSet
Definition: ParameterSet.h:36
FEDTrailer
Definition: FEDTrailer.h:14
Event.h
L1GlobalTriggerEvmRawToDigi::m_isDebugEnabled
bool m_isDebugEnabled
Definition: L1GlobalTriggerEvmRawToDigi.h:111
L1GlobalTriggerEvmRawToDigi::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition: L1GlobaTriggerEvmRawToDigi.cc:132
L1GtFdlWord
Definition: L1GtFdlWord.h:29
L1GlobalTriggerEvmRawToDigi::m_tcsWord
L1TcsWord * m_tcsWord
Definition: L1GlobalTriggerEvmRawToDigi.h:70
edm::stream::EDProducer
Definition: EDProducer.h:38
cms_uint16_t
unsigned short cms_uint16_t
Definition: typedefs.h:13
edm::EventSetup
Definition: EventSetup.h:57
L1GlobalTriggerEvmRawToDigi::m_lowSkipBxInEvent
int m_lowSkipBxInEvent
Definition: L1GlobalTriggerEvmRawToDigi.h:88
L1GtfeExtWord
Definition: L1GtfeExtWord.h:31
InputTag.h
L1GlobalTriggerEvmRawToDigi::~L1GlobalTriggerEvmRawToDigi
~L1GlobalTriggerEvmRawToDigi() override
destructor
Definition: L1GlobaTriggerEvmRawToDigi.cc:123
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:110
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:74
Frameworkfwd.h
L1GlobalTriggerEvmRawToDigi::m_bstLengthBytes
int m_bstLengthBytes
length of BST record (in bytes)
Definition: L1GlobalTriggerEvmRawToDigi.h:106
ParameterSet.h
FEDHeader
Definition: FEDHeader.h:14
edm::Event
Definition: Event.h:73
edm::InputTag
Definition: InputTag.h:15