Main Page
Namespaces
Classes
Package Documentation
IOPool
Streamer
interface
FRDEventMessage.h
Go to the documentation of this file.
1
#ifndef IOPool_Streamer_FRDEventMessage_h
2
#define IOPool_Streamer_FRDEventMessage_h
3
58
#include "
IOPool/Streamer/interface/MsgTools.h
"
59
60
struct
FRDEventHeader_V5
61
{
62
uint32
version_
;
63
uint32
run_
;
64
uint32
lumi_
;
65
uint32
eventLow_
;
66
uint32
eventHigh_
;
67
uint32
eventSize_
;
68
uint32
paddingSize_
;
69
uint32
crc32c_
;
70
};
71
72
struct
FRDEventHeader_V4
73
{
74
uint32
version_
;
75
uint32
run_
;
76
uint32
lumi_
;
77
uint32
eventLow_
;
78
uint32
eventHigh_
;
79
uint32
eventSize_
;
80
uint32
paddingSize_
;
81
uint32
adler32_
;
82
};
83
84
struct
FRDEventHeader_V3
85
{
86
uint32
version_
;
87
uint32
run_
;
88
uint32
lumi_
;
89
uint32
event_
;
90
uint32
eventSize_
;
91
uint32
paddingSize_
;
92
uint32
adler32_
;
93
};
94
95
struct
FRDEventHeader_V2
96
{
97
uint32
version_
;
98
uint32
run_
;
99
uint32
lumi_
;
100
uint32
event_
;
101
};
102
103
struct
FRDEventHeader_V1
104
{
105
uint32
run_
;
106
uint32
event_
;
107
};
108
109
const
uint32
FRDHeaderVersionSize
[6] = {
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
118
class
FRDEventMsgView
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
139
uint8
*
buf_
;
140
void
*
payload_
;
141
uint32
size_
;
142
uint32
version_
;
143
uint32
run_
;
144
uint32
lumi_
;
145
uint64
event_
;
146
uint32
eventSize_
;
147
uint32
paddingSize_
;
148
uint32
adler32_
;
149
uint32
crc32c_
;
150
};
151
152
#endif
FRDEventMsgView::lumi_
uint32 lumi_
Definition:
FRDEventMessage.h:144
FRDEventMsgView::version_
uint32 version_
Definition:
FRDEventMessage.h:142
FRDEventMsgView::buf_
uint8 * buf_
Definition:
FRDEventMessage.h:139
FRDEventMsgView::crc32c_
uint32 crc32c_
Definition:
FRDEventMessage.h:149
FRDEventMsgView
Definition:
FRDEventMessage.h:118
FRDEventHeader_V5::eventLow_
uint32 eventLow_
Definition:
FRDEventMessage.h:65
FRDEventMsgView::adler32_
uint32 adler32_
Definition:
FRDEventMessage.h:148
FRDEventHeader_V4::run_
uint32 run_
Definition:
FRDEventMessage.h:75
FRDEventHeader_V4
Definition:
FRDEventMessage.h:72
FRDEventMsgView::eventSize
uint32 eventSize() const
Definition:
FRDEventMessage.h:132
FRDEventHeader_V2::event_
uint32 event_
Definition:
FRDEventMessage.h:100
FRDEventHeader_V4::adler32_
uint32 adler32_
Definition:
FRDEventMessage.h:81
FRDEventHeader_V3::version_
uint32 version_
Definition:
FRDEventMessage.h:86
FRDEventHeader_V1::event_
uint32 event_
Definition:
FRDEventMessage.h:106
FRDEventMsgView::lumi
uint32 lumi() const
Definition:
FRDEventMessage.h:130
FRDEventHeader_V1::run_
uint32 run_
Definition:
FRDEventMessage.h:105
FRDEventMsgView::size
uint32 size() const
Definition:
FRDEventMessage.h:126
FRDHeaderVersionSize
const uint32 FRDHeaderVersionSize[6]
Definition:
FRDEventMessage.h:109
FRDEventHeader_V4::eventHigh_
uint32 eventHigh_
Definition:
FRDEventMessage.h:78
FRDEventMsgView::eventSize_
uint32 eventSize_
Definition:
FRDEventMessage.h:146
FRDEventHeader_V4::lumi_
uint32 lumi_
Definition:
FRDEventMessage.h:76
FRDEventHeader_V5::lumi_
uint32 lumi_
Definition:
FRDEventMessage.h:64
FRDEventMsgView::payload
void * payload() const
Definition:
FRDEventMessage.h:125
FRDEventHeader_V5
Definition:
FRDEventMessage.h:60
FRDEventHeader_V3::eventSize_
uint32 eventSize_
Definition:
FRDEventMessage.h:90
FRDEventMsgView::adler32
uint32 adler32() const
Definition:
FRDEventMessage.h:134
FRDEventHeader_V3::lumi_
uint32 lumi_
Definition:
FRDEventMessage.h:88
FRDEventMsgView::paddingSize_
uint32 paddingSize_
Definition:
FRDEventMessage.h:147
FRDEventMsgView::startAddress
uint8 * startAddress() const
Definition:
FRDEventMessage.h:124
FRDEventMsgView::run
uint32 run() const
Definition:
FRDEventMessage.h:129
FRDEventHeader_V4::eventSize_
uint32 eventSize_
Definition:
FRDEventMessage.h:79
FRDEventHeader_V1
Definition:
FRDEventMessage.h:103
FRDEventHeader_V4::paddingSize_
uint32 paddingSize_
Definition:
FRDEventMessage.h:80
FRDEventHeader_V2::run_
uint32 run_
Definition:
FRDEventMessage.h:98
FRDEventHeader_V3::run_
uint32 run_
Definition:
FRDEventMessage.h:87
FRDEventMsgView::payload_
void * payload_
Definition:
FRDEventMessage.h:140
FRDEventHeader_V4::eventLow_
uint32 eventLow_
Definition:
FRDEventMessage.h:77
FRDEventHeader_V5::run_
uint32 run_
Definition:
FRDEventMessage.h:63
FRDEventHeader_V5::eventSize_
uint32 eventSize_
Definition:
FRDEventMessage.h:67
FRDEventMsgView::version
uint32 version() const
Definition:
FRDEventMessage.h:128
uint32
unsigned int uint32
Definition:
MsgTools.h:13
FRDEventHeader_V5::paddingSize_
uint32 paddingSize_
Definition:
FRDEventMessage.h:68
FRDEventMsgView::run_
uint32 run_
Definition:
FRDEventMessage.h:143
FRDEventMsgView::event_
uint64 event_
Definition:
FRDEventMessage.h:145
FRDEventHeader_V2
Definition:
FRDEventMessage.h:95
uint64
unsigned long long uint64
Definition:
MsgTools.h:14
FRDEventHeader_V3::paddingSize_
uint32 paddingSize_
Definition:
FRDEventMessage.h:91
FRDEventHeader_V5::crc32c_
uint32 crc32c_
Definition:
FRDEventMessage.h:69
FRDEventMsgView::crc32c
uint32 crc32c() const
Definition:
FRDEventMessage.h:135
FRDEventHeader_V2::lumi_
uint32 lumi_
Definition:
FRDEventMessage.h:99
uint8
unsigned char uint8
Definition:
MsgTools.h:11
event_
void event_()
FRDEventHeader_V5::eventHigh_
uint32 eventHigh_
Definition:
FRDEventMessage.h:66
FRDEventHeader_V5::version_
uint32 version_
Definition:
FRDEventMessage.h:62
MsgTools.h
FRDEventMsgView::paddingSize
uint32 paddingSize() const
Definition:
FRDEventMessage.h:133
FRDEventHeader_V3
Definition:
FRDEventMessage.h:84
FRDEventHeader_V3::adler32_
uint32 adler32_
Definition:
FRDEventMessage.h:92
FRDEventMsgView::size_
uint32 size_
Definition:
FRDEventMessage.h:141
FRDEventHeader_V4::version_
uint32 version_
Definition:
FRDEventMessage.h:74
FRDEventMsgView::event
uint64 event() const
Definition:
FRDEventMessage.h:131
FRDEventHeader_V2::version_
uint32 version_
Definition:
FRDEventMessage.h:97
FRDEventHeader_V3::event_
uint32 event_
Definition:
FRDEventMessage.h:89
Generated for CMSSW Reference Manual by
1.8.11