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
36
#include "
IOPool/Streamer/interface/MsgTools.h
"
37
38
struct
FRDEventHeader_V3
39
{
40
uint32
version_
;
41
uint32
run_
;
42
uint32
lumi_
;
43
uint32
event_
;
44
uint32
eventSize_
;
45
uint32
paddingSize_
;
46
uint32
adler32_
;
47
};
48
49
struct
FRDEventHeader_V2
50
{
51
uint32
version_
;
52
uint32
run_
;
53
uint32
lumi_
;
54
uint32
event_
;
55
};
56
57
struct
FRDEventHeader_V1
58
{
59
uint32
run_
;
60
uint32
event_
;
61
};
62
63
class
FRDEventMsgView
64
{
65
public
:
66
67
FRDEventMsgView
(
void
* buf);
68
69
uint8
*
startAddress
()
const
{
return
buf_
; }
70
void
*
payload
()
const
{
return
payload_
; }
71
uint32
size
()
const
{
return
size_
; }
72
73
uint32
version
()
const
{
return
version_
; }
74
uint32
run
()
const
{
return
run_
; }
75
uint32
lumi
()
const
{
return
lumi_
; }
76
uint32
event
()
const
{
return
event_
; }
77
uint32
eventSize
()
const
{
return
eventSize_
; }
78
uint32
paddingSize
()
const
{
return
paddingSize_
; }
79
uint32
adler32
()
const
{
return
adler32_
; }
80
81
private
:
82
83
uint8
*
buf_
;
84
void
*
payload_
;
85
uint32
size_
;
86
uint32
version_
;
87
uint32
run_
;
88
uint32
lumi_
;
89
uint32
event_
;
90
uint32
eventSize_
;
91
uint32
paddingSize_
;
92
uint32
adler32_
;
93
};
94
95
#endif
FRDEventMsgView::lumi_
uint32 lumi_
Definition:
FRDEventMessage.h:88
FRDEventMsgView::version_
uint32 version_
Definition:
FRDEventMessage.h:86
FRDEventMsgView::buf_
uint8 * buf_
Definition:
FRDEventMessage.h:83
FRDEventMsgView
Definition:
FRDEventMessage.h:63
FRDEventMsgView::adler32_
uint32 adler32_
Definition:
FRDEventMessage.h:92
FRDEventMsgView::eventSize
uint32 eventSize() const
Definition:
FRDEventMessage.h:77
FRDEventHeader_V2::event_
uint32 event_
Definition:
FRDEventMessage.h:54
FRDEventHeader_V3::version_
uint32 version_
Definition:
FRDEventMessage.h:40
FRDEventHeader_V1::event_
uint32 event_
Definition:
FRDEventMessage.h:60
FRDEventMsgView::lumi
uint32 lumi() const
Definition:
FRDEventMessage.h:75
FRDEventHeader_V1::run_
uint32 run_
Definition:
FRDEventMessage.h:59
FRDEventMsgView::size
uint32 size() const
Definition:
FRDEventMessage.h:71
FRDEventMsgView::FRDEventMsgView
FRDEventMsgView(void *buf)
Definition:
FRDEventMessage.cc:26
FRDEventMsgView::eventSize_
uint32 eventSize_
Definition:
FRDEventMessage.h:90
FRDEventMsgView::payload
void * payload() const
Definition:
FRDEventMessage.h:70
FRDEventHeader_V3::eventSize_
uint32 eventSize_
Definition:
FRDEventMessage.h:44
FRDEventMsgView::event_
uint32 event_
Definition:
FRDEventMessage.h:89
FRDEventMsgView::adler32
uint32 adler32() const
Definition:
FRDEventMessage.h:79
FRDEventHeader_V3::lumi_
uint32 lumi_
Definition:
FRDEventMessage.h:42
FRDEventMsgView::paddingSize_
uint32 paddingSize_
Definition:
FRDEventMessage.h:91
FRDEventMsgView::startAddress
uint8 * startAddress() const
Definition:
FRDEventMessage.h:69
FRDEventMsgView::run
uint32 run() const
Definition:
FRDEventMessage.h:74
FRDEventHeader_V1
Definition:
FRDEventMessage.h:57
FRDEventHeader_V2::run_
uint32 run_
Definition:
FRDEventMessage.h:52
FRDEventHeader_V3::run_
uint32 run_
Definition:
FRDEventMessage.h:41
FRDEventMsgView::payload_
void * payload_
Definition:
FRDEventMessage.h:84
FRDEventMsgView::version
uint32 version() const
Definition:
FRDEventMessage.h:73
uint32
unsigned int uint32
Definition:
MsgTools.h:13
FRDEventMsgView::run_
uint32 run_
Definition:
FRDEventMessage.h:87
FRDEventHeader_V2
Definition:
FRDEventMessage.h:49
FRDEventHeader_V3::paddingSize_
uint32 paddingSize_
Definition:
FRDEventMessage.h:45
FRDEventHeader_V2::lumi_
uint32 lumi_
Definition:
FRDEventMessage.h:53
uint8
unsigned char uint8
Definition:
MsgTools.h:11
FRDEventMsgView::event
uint32 event() const
Definition:
FRDEventMessage.h:76
MsgTools.h
FRDEventMsgView::paddingSize
uint32 paddingSize() const
Definition:
FRDEventMessage.h:78
FRDEventHeader_V3
Definition:
FRDEventMessage.h:38
FRDEventHeader_V3::adler32_
uint32 adler32_
Definition:
FRDEventMessage.h:46
FRDEventMsgView::size_
uint32 size_
Definition:
FRDEventMessage.h:85
FRDEventHeader_V2::version_
uint32 version_
Definition:
FRDEventMessage.h:51
FRDEventHeader_V3::event_
uint32 event_
Definition:
FRDEventMessage.h:43
Generated for CMSSW Reference Manual by
1.8.5