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 
20 // system include files
21 #include <memory>
22 #include <iostream>
23 
24 // user include files
27 
30 
34 
35 // forward declarations
36 class L1GtfeWord;
37 class L1GtfeExtWord;
38 class L1TcsWord;
39 class L1GtFdlWord;
40 
41 class FEDHeader;
42 class FEDTrailer;
43 
44 
45 // class declaration
47 {
48 
49 public:
50 
53 
56 
57 private:
58 
59  virtual void beginJob();
60 
61  virtual void produce(edm::Event&, const edm::EventSetup&);
62 
64 
66  void unpackHeader(const unsigned char*, FEDHeader&);
67 
69  void unpackTrailer(const unsigned char*, FEDTrailer&);
70 
73 
75  void dumpFedRawData(const unsigned char*, int, std::ostream&);
76 
78  virtual void endJob();
79 
80 private:
81 
85 
88 
92 
95 
96  // number of bunch crossing to be unpacked
98 
102 
106 
108  //
111 
114 
117 
118 
121 
122 private:
123 
127 
128 
129 
130 };
131 
132 #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