Main Page
Namespaces
Classes
Package Documentation
src
IOPool
Streamer
interface
EventMsgBuilder.h
Go to the documentation of this file.
1
#ifndef IOPool_Streamer_EventMsgBuilder_h
2
#define IOPool_Streamer_EventMsgBuilder_h
3
4
#include "
IOPool/Streamer/interface/MsgTools.h
"
5
6
// ------------------ event message builder ----------------
7
8
class
EventMsgBuilder
9
{
10
public
:
11
EventMsgBuilder
(
void
* buf,
uint32
size
,
12
uint32
run
,
uint64
event
,
uint32
lumi
,
uint32
outModId,
13
uint32
droppedEventsCount,
14
std::vector<bool>& l1_bits,
15
uint8
* hlt_bits,
uint32
hlt_bit_count,
16
uint32
adler32_chksum,
const
char
* host_name);
17
18
void
setOrigDataSize
(
uint32
);
19
uint8
*
startAddress
()
const
{
return
buf_
; }
20
void
setEventLength
(
uint32
len);
21
uint8
*
eventAddr
()
const
{
return
event_addr_
; }
22
uint32
headerSize
()
const
{
return
event_addr_
-
buf_
;}
23
uint32
size
()
const
;
24
uint32
bufferSize
()
const
{
return
size_
;}
25
26
private
:
27
uint8
*
buf_
;
28
uint32
size_
;
29
uint8
*
event_addr_
;
30
};
31
32
#endif
33
EventMsgBuilder::EventMsgBuilder
EventMsgBuilder(void *buf, uint32 size, uint32 run, uint64 event, uint32 lumi, uint32 outModId, uint32 droppedEventsCount, std::vector< bool > &l1_bits, uint8 *hlt_bits, uint32 hlt_bit_count, uint32 adler32_chksum, const char *host_name)
Definition:
EventMsgBuilder.cc:9
EventMsgBuilder::setEventLength
void setEventLength(uint32 len)
Definition:
EventMsgBuilder.cc:89
EventMsgBuilder::startAddress
uint8 * startAddress() const
Definition:
EventMsgBuilder.h:19
EventMsgBuilder
Definition:
EventMsgBuilder.h:8
EventMsgBuilder::eventAddr
uint8 * eventAddr() const
Definition:
EventMsgBuilder.h:21
EventMsgBuilder::buf_
uint8 * buf_
Definition:
EventMsgBuilder.h:27
EventMsgBuilder::setOrigDataSize
void setOrigDataSize(uint32)
Definition:
EventMsgBuilder.cc:83
EventMsgBuilder::size_
uint32 size_
Definition:
EventMsgBuilder.h:28
findQualityFiles.run
run
Definition:
findQualityFiles.py:408
uint32
unsigned int uint32
Definition:
MsgTools.h:13
uint64
unsigned long long uint64
Definition:
MsgTools.h:14
uint8
unsigned char uint8
Definition:
MsgTools.h:11
EventMsgBuilder::headerSize
uint32 headerSize() const
Definition:
EventMsgBuilder.h:22
MsgTools.h
EventMsgBuilder::bufferSize
uint32 bufferSize() const
Definition:
EventMsgBuilder.h:24
lumi
Definition:
LumiSectionData.h:20
EventMsgBuilder::event_addr_
uint8 * event_addr_
Definition:
EventMsgBuilder.h:29
event
Definition:
event.py:1
EventMsgBuilder::size
uint32 size() const
Definition:
EventMsgBuilder.cc:96
Generated for CMSSW Reference Manual by
1.8.11