CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FRDEventMessage.h
Go to the documentation of this file.
1 #ifndef IOPool_Streamer_FRDEventMessage_h
2 #define IOPool_Streamer_FRDEventMessage_h
3 
59 
61 {
70 };
71 
73 {
82 };
83 
85 {
93 };
94 
96 {
101 };
102 
104 {
107 };
108 
110  0,
111  2*sizeof(uint32),
112  (4 + 1024) * sizeof(uint32),
113  7*sizeof(uint32),
114  8*sizeof(uint32),
115  6*sizeof(uint32)
116 };
117 
119 {
120  public:
121 
122  FRDEventMsgView(void* buf);
123 
124  uint8* startAddress() const { return buf_; }
125  void* payload() const { return payload_; }
126  uint32 size() const { return size_; }
127 
128  uint32 version() const { return version_; }
129  uint32 run() const { return run_; }
130  uint32 lumi() const { return lumi_; }
131  uint64 event() const { return event_; }
132  uint32 eventSize() const { return eventSize_; }
133  uint32 paddingSize() const { return paddingSize_; }
134  uint32 adler32() const { return adler32_; }
135  uint32 crc32c() const { return crc32c_; }
136 
137  private:
138 
140  void* payload_;
150 };
151 
152 #endif
uint32 eventSize() const
uint32 lumi() const
uint32 size() const
FRDEventMsgView(void *buf)
const uint32 FRDHeaderVersionSize[6]
void * payload() const
uint32 adler32() const
uint8 * startAddress() const
uint32 run() const
uint32 version() const
unsigned int uint32
Definition: MsgTools.h:13
unsigned long long uint64
Definition: MsgTools.h:14
uint32 crc32c() const
unsigned char uint8
Definition: MsgTools.h:11
uint32 paddingSize() const
uint64 event() const