CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
43 // class declaration
45 {
46 
47 public:
48 
51 
54 
55 private:
56 
57  virtual void beginJob();
58 
59  virtual void produce(edm::Event&, const edm::EventSetup&);
60 
62 
64  void unpackHeader(const unsigned char*, FEDHeader&);
65 
67  void unpackTrailer(const unsigned char*, FEDTrailer&);
68 
71 
73  void dumpFedRawData(const unsigned char*, int, std::ostream&);
74 
76  virtual void endJob();
77 
78 private:
79 
83 
86 
90 
93 
94  // number of bunch crossing to be unpacked
96 
100 
104 
106  //
109 
112 
115 
116 
119 
120 private:
121 
125 
126 
127 
128 };
129 
130 #endif // EventFilter_L1GlobalTriggerRawToDigi_L1GlobalTriggerEvmRawToDigi_h
int m_bstLengthBytes
length of BST record (in bytes)
int m_totalBxInEvent
number of Bx for a board, obtained from GTFE block (record length &amp; alternative)
void produceEmptyProducts(edm::Event &)
produce empty products in case of problems
virtual void produce(edm::Event &, const edm::EventSetup &)
void dumpFedRawData(const unsigned char *, int, std::ostream &)
dump FED raw data
virtual ~L1GlobalTriggerEvmRawToDigi()
destructor
cms_uint16_t m_activeBoardsMaskGt
mask for active boards
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
edm::InputTag m_evmGtInputTag
input tags for GT EVM record