CMS 3D CMS Logo

FRDEventMessage.h
Go to the documentation of this file.
1 #ifndef IOPool_Streamer_FRDEventMessage_h
2 #define IOPool_Streamer_FRDEventMessage_h
3 
59 
69 };
70 
80 };
81 
90 };
91 
97 };
98 
102 };
103 
105  0, 2 * sizeof(uint32), (4 + 1024) * sizeof(uint32), 7 * sizeof(uint32), 8 * sizeof(uint32), 6 * sizeof(uint32)};
106 
108 public:
109  FRDEventMsgView(void* buf);
110 
111  uint8* startAddress() const { return buf_; }
112  void* payload() const { return payload_; }
113  uint32 size() const { return size_; }
114 
115  uint32 version() const { return version_; }
116  uint32 run() const { return run_; }
117  uint32 lumi() const { return lumi_; }
118  uint64 event() const { return event_; }
119  uint32 eventSize() const { return eventSize_; }
120  uint32 paddingSize() const { return paddingSize_; }
121  uint32 adler32() const { return adler32_; }
122  uint32 crc32c() const { return crc32c_; }
123 
124 private:
126  void* payload_;
136 };
137 
138 #endif
FRDEventHeader_V3::run_
uint32 run_
Definition: FRDEventMessage.h:84
FRDEventHeader_V4::eventHigh_
uint32 eventHigh_
Definition: FRDEventMessage.h:76
FRDEventHeader_V2::run_
uint32 run_
Definition: FRDEventMessage.h:94
FRDEventMsgView
Definition: FRDEventMessage.h:107
FRDEventHeader_V5::lumi_
uint32 lumi_
Definition: FRDEventMessage.h:63
uint8
unsigned char uint8
Definition: MsgTools.h:11
FRDEventHeader_V3::lumi_
uint32 lumi_
Definition: FRDEventMessage.h:85
FRDEventMsgView::run_
uint32 run_
Definition: FRDEventMessage.h:129
FRDEventHeader_V5
Definition: FRDEventMessage.h:60
FRDEventHeader_V2::lumi_
uint32 lumi_
Definition: FRDEventMessage.h:95
FRDEventMsgView::paddingSize_
uint32 paddingSize_
Definition: FRDEventMessage.h:133
FRDEventMsgView::adler32
uint32 adler32() const
Definition: FRDEventMessage.h:121
FRDEventHeader_V5::eventLow_
uint32 eventLow_
Definition: FRDEventMessage.h:64
FRDEventHeader_V2::event_
uint32 event_
Definition: FRDEventMessage.h:96
FRDEventMsgView::crc32c
uint32 crc32c() const
Definition: FRDEventMessage.h:122
FRDHeaderVersionSize
const uint32 FRDHeaderVersionSize[6]
Definition: FRDEventMessage.h:104
FRDEventMsgView::run
uint32 run() const
Definition: FRDEventMessage.h:116
FRDEventMsgView::size
uint32 size() const
Definition: FRDEventMessage.h:113
uint32
unsigned int uint32
Definition: MsgTools.h:13
FRDEventMsgView::paddingSize
uint32 paddingSize() const
Definition: FRDEventMessage.h:120
FRDEventMsgView::buf_
uint8 * buf_
Definition: FRDEventMessage.h:125
FRDEventMsgView::startAddress
uint8 * startAddress() const
Definition: FRDEventMessage.h:111
FRDEventHeader_V4::adler32_
uint32 adler32_
Definition: FRDEventMessage.h:79
FRDEventHeader_V4::lumi_
uint32 lumi_
Definition: FRDEventMessage.h:74
FRDEventMsgView::event_
uint64 event_
Definition: FRDEventMessage.h:131
FRDEventHeader_V5::eventHigh_
uint32 eventHigh_
Definition: FRDEventMessage.h:65
FRDEventHeader_V4::version_
uint32 version_
Definition: FRDEventMessage.h:72
FRDEventHeader_V4::eventSize_
uint32 eventSize_
Definition: FRDEventMessage.h:77
FRDEventHeader_V4
Definition: FRDEventMessage.h:71
FRDEventHeader_V2
Definition: FRDEventMessage.h:92
FRDEventHeader_V5::run_
uint32 run_
Definition: FRDEventMessage.h:62
FRDEventHeader_V5::version_
uint32 version_
Definition: FRDEventMessage.h:61
FRDEventMsgView::lumi
uint32 lumi() const
Definition: FRDEventMessage.h:117
FRDEventMsgView::FRDEventMsgView
FRDEventMsgView(void *buf)
Definition: FRDEventMessage.cc:17
FRDEventMsgView::payload_
void * payload_
Definition: FRDEventMessage.h:126
MsgTools.h
FRDEventHeader_V3::event_
uint32 event_
Definition: FRDEventMessage.h:86
FRDEventHeader_V3::adler32_
uint32 adler32_
Definition: FRDEventMessage.h:89
FRDEventHeader_V3
Definition: FRDEventMessage.h:82
visDQMUpload.buf
buf
Definition: visDQMUpload.py:154
FRDEventHeader_V1
Definition: FRDEventMessage.h:99
FRDEventMsgView::version_
uint32 version_
Definition: FRDEventMessage.h:128
FRDEventMsgView::eventSize
uint32 eventSize() const
Definition: FRDEventMessage.h:119
FRDEventMsgView::version
uint32 version() const
Definition: FRDEventMessage.h:115
FRDEventHeader_V1::event_
uint32 event_
Definition: FRDEventMessage.h:101
FRDEventHeader_V5::paddingSize_
uint32 paddingSize_
Definition: FRDEventMessage.h:67
FRDEventHeader_V3::paddingSize_
uint32 paddingSize_
Definition: FRDEventMessage.h:88
FRDEventMsgView::lumi_
uint32 lumi_
Definition: FRDEventMessage.h:130
FRDEventMsgView::crc32c_
uint32 crc32c_
Definition: FRDEventMessage.h:135
FRDEventHeader_V1::run_
uint32 run_
Definition: FRDEventMessage.h:100
uint64
unsigned long long uint64
Definition: MsgTools.h:14
FRDEventHeader_V4::run_
uint32 run_
Definition: FRDEventMessage.h:73
FRDEventMsgView::size_
uint32 size_
Definition: FRDEventMessage.h:127
FRDEventHeader_V3::version_
uint32 version_
Definition: FRDEventMessage.h:83
FRDEventHeader_V4::paddingSize_
uint32 paddingSize_
Definition: FRDEventMessage.h:78
FRDEventMsgView::payload
void * payload() const
Definition: FRDEventMessage.h:112
FRDEventMsgView::adler32_
uint32 adler32_
Definition: FRDEventMessage.h:134
FRDEventHeader_V2::version_
uint32 version_
Definition: FRDEventMessage.h:93
FRDEventHeader_V5::crc32c_
uint32 crc32c_
Definition: FRDEventMessage.h:68
FRDEventHeader_V3::eventSize_
uint32 eventSize_
Definition: FRDEventMessage.h:87
FRDEventMsgView::eventSize_
uint32 eventSize_
Definition: FRDEventMessage.h:132
FRDEventHeader_V4::eventLow_
uint32 eventLow_
Definition: FRDEventMessage.h:75
FRDEventMsgView::event
uint64 event() const
Definition: FRDEventMessage.h:118
FRDEventHeader_V5::eventSize_
uint32 eventSize_
Definition: FRDEventMessage.h:66