Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
48
#include "
IOPool/Streamer/interface/MsgTools.h
"
49
50
struct
FRDEventHeader_V4
51
{
52
uint32
version_
;
53
uint32
run_
;
54
uint32
lumi_
;
55
uint32
eventLow_
;
56
uint32
eventHigh_
;
57
uint32
eventSize_
;
58
uint32
paddingSize_
;
59
uint32
adler32_
;
60
};
61
62
struct
FRDEventHeader_V3
63
{
64
uint32
version_
;
65
uint32
run_
;
66
uint32
lumi_
;
67
uint32
event_
;
68
uint32
eventSize_
;
69
uint32
paddingSize_
;
70
uint32
adler32_
;
71
};
72
73
struct
FRDEventHeader_V2
74
{
75
uint32
version_
;
76
uint32
run_
;
77
uint32
lumi_
;
78
uint32
event_
;
79
};
80
81
struct
FRDEventHeader_V1
82
{
83
uint32
run_
;
84
uint32
event_
;
85
};
86
87
class
FRDEventMsgView
88
{
89
public
:
90
91
FRDEventMsgView
(
void
* buf);
92
93
uint8
*
startAddress
()
const
{
return
buf_
; }
94
void
*
payload
()
const
{
return
payload_
; }
95
uint32
size
()
const
{
return
size_
; }
96
97
uint32
version
()
const
{
return
version_
; }
98
uint32
run
()
const
{
return
run_
; }
99
uint32
lumi
()
const
{
return
lumi_
; }
100
uint64
event
()
const
{
return
event_
; }
101
uint32
eventSize
()
const
{
return
eventSize_
; }
102
uint32
paddingSize
()
const
{
return
paddingSize_
; }
103
uint32
adler32
()
const
{
return
adler32_
; }
104
105
private
:
106
107
uint8
*
buf_
;
108
void
*
payload_
;
109
uint32
size_
;
110
uint32
version_
;
111
uint32
run_
;
112
uint32
lumi_
;
113
uint64
event_
;
114
uint32
eventSize_
;
115
uint32
paddingSize_
;
116
uint32
adler32_
;
117
};
118
119
#endif
FRDEventMsgView::lumi_
uint32 lumi_
Definition:
FRDEventMessage.h:112
FRDEventMsgView::version_
uint32 version_
Definition:
FRDEventMessage.h:110
FRDEventMsgView::buf_
uint8 * buf_
Definition:
FRDEventMessage.h:107
FRDEventMsgView
Definition:
FRDEventMessage.h:87
FRDEventMsgView::adler32_
uint32 adler32_
Definition:
FRDEventMessage.h:116
FRDEventHeader_V4::run_
uint32 run_
Definition:
FRDEventMessage.h:53
uint64
ULong64_t uint64
Definition:
electronSelections.h:18
FRDEventHeader_V4
Definition:
FRDEventMessage.h:50
FRDEventMsgView::eventSize
uint32 eventSize() const
Definition:
FRDEventMessage.h:101
FRDEventHeader_V2::event_
uint32 event_
Definition:
FRDEventMessage.h:78
FRDEventHeader_V4::adler32_
uint32 adler32_
Definition:
FRDEventMessage.h:59
FRDEventHeader_V3::version_
uint32 version_
Definition:
FRDEventMessage.h:64
FRDEventHeader_V1::event_
uint32 event_
Definition:
FRDEventMessage.h:84
FRDEventMsgView::lumi
uint32 lumi() const
Definition:
FRDEventMessage.h:99
FRDEventHeader_V1::run_
uint32 run_
Definition:
FRDEventMessage.h:83
FRDEventMsgView::size
uint32 size() const
Definition:
FRDEventMessage.h:95
FRDEventMsgView::FRDEventMsgView
FRDEventMsgView(void *buf)
Definition:
FRDEventMessage.cc:17
FRDEventHeader_V4::eventHigh_
uint32 eventHigh_
Definition:
FRDEventMessage.h:56
FRDEventMsgView::eventSize_
uint32 eventSize_
Definition:
FRDEventMessage.h:114
FRDEventHeader_V4::lumi_
uint32 lumi_
Definition:
FRDEventMessage.h:54
FRDEventMsgView::payload
void * payload() const
Definition:
FRDEventMessage.h:94
FRDEventHeader_V3::eventSize_
uint32 eventSize_
Definition:
FRDEventMessage.h:68
FRDEventMsgView::adler32
uint32 adler32() const
Definition:
FRDEventMessage.h:103
FRDEventHeader_V3::lumi_
uint32 lumi_
Definition:
FRDEventMessage.h:66
FRDEventMsgView::paddingSize_
uint32 paddingSize_
Definition:
FRDEventMessage.h:115
FRDEventMsgView::startAddress
uint8 * startAddress() const
Definition:
FRDEventMessage.h:93
FRDEventMsgView::run
uint32 run() const
Definition:
FRDEventMessage.h:98
FRDEventHeader_V4::eventSize_
uint32 eventSize_
Definition:
FRDEventMessage.h:57
FRDEventHeader_V1
Definition:
FRDEventMessage.h:81
FRDEventHeader_V4::paddingSize_
uint32 paddingSize_
Definition:
FRDEventMessage.h:58
FRDEventHeader_V2::run_
uint32 run_
Definition:
FRDEventMessage.h:76
FRDEventHeader_V3::run_
uint32 run_
Definition:
FRDEventMessage.h:65
FRDEventMsgView::payload_
void * payload_
Definition:
FRDEventMessage.h:108
FRDEventHeader_V4::eventLow_
uint32 eventLow_
Definition:
FRDEventMessage.h:55
FRDEventMsgView::version
uint32 version() const
Definition:
FRDEventMessage.h:97
uint32
unsigned int uint32
Definition:
MsgTools.h:13
FRDEventMsgView::run_
uint32 run_
Definition:
FRDEventMessage.h:111
FRDEventMsgView::event_
uint64 event_
Definition:
FRDEventMessage.h:113
FRDEventHeader_V2
Definition:
FRDEventMessage.h:73
FRDEventHeader_V3::paddingSize_
uint32 paddingSize_
Definition:
FRDEventMessage.h:69
FRDEventHeader_V2::lumi_
uint32 lumi_
Definition:
FRDEventMessage.h:77
uint8
unsigned char uint8
Definition:
MsgTools.h:11
MsgTools.h
FRDEventMsgView::paddingSize
uint32 paddingSize() const
Definition:
FRDEventMessage.h:102
FRDEventHeader_V3
Definition:
FRDEventMessage.h:62
FRDEventHeader_V3::adler32_
uint32 adler32_
Definition:
FRDEventMessage.h:70
FRDEventMsgView::size_
uint32 size_
Definition:
FRDEventMessage.h:109
FRDEventHeader_V4::version_
uint32 version_
Definition:
FRDEventMessage.h:52
FRDEventMsgView::event
uint64 event() const
Definition:
FRDEventMessage.h:100
FRDEventHeader_V2::version_
uint32 version_
Definition:
FRDEventMessage.h:75
FRDEventHeader_V3::event_
uint32 event_
Definition:
FRDEventMessage.h:67
Generated for CMSSW Reference Manual by
1.8.5