Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
25
#include "
IOPool/Streamer/interface/MsgTools.h
"
26
27
struct
FRDEventHeader_V2
28
{
29
uint32
version_
;
30
uint32
run_
;
31
uint32
lumi_
;
32
uint32
event_
;
33
};
34
35
struct
FRDEventHeader_V1
36
{
37
uint32
run_
;
38
uint32
event_
;
39
};
40
41
class
FRDEventMsgView
42
{
43
public
:
44
45
FRDEventMsgView
(
void
* buf);
46
47
uint8
*
startAddress
()
const
{
return
buf_
; }
48
uint32
size
()
const
{
return
event_len_
; }
49
50
uint32
version
()
const
;
51
uint32
run
()
const
;
52
uint32
lumi
()
const
;
53
uint32
event
()
const
;
54
55
private
:
56
57
uint8
*
buf_
;
58
uint32
event_len_
;
59
};
60
61
#endif
FRDEventMsgView::buf_
uint8 * buf_
Definition:
FRDEventMessage.h:57
FRDEventMsgView
Definition:
FRDEventMessage.h:41
FRDEventHeader_V2::event_
uint32 event_
Definition:
FRDEventMessage.h:32
FRDEventHeader_V1::event_
uint32 event_
Definition:
FRDEventMessage.h:38
FRDEventMsgView::lumi
uint32 lumi() const
Definition:
FRDEventMessage.cc:83
FRDEventHeader_V1::run_
uint32 run_
Definition:
FRDEventMessage.h:37
FRDEventMsgView::size
uint32 size() const
Definition:
FRDEventMessage.h:48
FRDEventMsgView::FRDEventMsgView
FRDEventMsgView(void *buf)
Definition:
FRDEventMessage.cc:26
FRDEventMsgView::startAddress
uint8 * startAddress() const
Definition:
FRDEventMessage.h:47
FRDEventMsgView::run
uint32 run() const
Definition:
FRDEventMessage.cc:70
FRDEventHeader_V1
Definition:
FRDEventMessage.h:35
FRDEventHeader_V2::run_
uint32 run_
Definition:
FRDEventMessage.h:30
FRDEventMsgView::event_len_
uint32 event_len_
Definition:
FRDEventMessage.h:58
FRDEventMsgView::version
uint32 version() const
Definition:
FRDEventMessage.cc:58
uint32
unsigned int uint32
Definition:
MsgTools.h:13
FRDEventHeader_V2
Definition:
FRDEventMessage.h:27
FRDEventHeader_V2::lumi_
uint32 lumi_
Definition:
FRDEventMessage.h:31
uint8
unsigned char uint8
Definition:
MsgTools.h:11
FRDEventMsgView::event
uint32 event() const
Definition:
FRDEventMessage.cc:95
MsgTools.h
FRDEventHeader_V2::version_
uint32 version_
Definition:
FRDEventMessage.h:29
Generated for CMSSW Reference Manual by
1.8.5