Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
public
:
10
EventMsgBuilder
(
void
*
buf
,
11
uint32
size
,
12
uint32
run
,
13
uint64
event
,
14
uint32
lumi
,
15
uint32
outModId,
16
uint32
droppedEventsCount,
17
std::vector<bool>& l1_bits,
18
uint8
* hlt_bits,
19
uint32
hlt_bit_count,
20
uint32
adler32_chksum,
21
const
char
* host_name);
22
23
void
setOrigDataSize
(
uint32
);
24
uint8
*
startAddress
()
const
{
return
buf_
; }
25
void
setEventLength
(
uint32
len);
26
void
setBufAddr
(
uint8
* buf_addr) {
buf_
= buf_addr; }
27
void
setEventAddr
(
uint8
* event_addr) {
event_addr_
= event_addr; }
28
uint8
*
eventAddr
()
const
{
return
event_addr_
; }
29
uint32
headerSize
()
const
{
return
event_addr_
-
buf_
; }
30
uint32
size
()
const
;
31
uint32
bufferSize
()
const
{
return
size_
; }
32
33
private
:
34
uint8
*
buf_
;
35
uint32
size_
;
36
uint8
*
event_addr_
;
37
};
38
39
#endif
edmPickEvents.event
tuple event
Definition:
edmPickEvents.py:273
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:95
visDQMUpload.buf
tuple buf
Definition:
visDQMUpload.py:153
EventMsgBuilder::startAddress
uint8 * startAddress() const
Definition:
EventMsgBuilder.h:24
EventMsgBuilder
Definition:
EventMsgBuilder.h:8
EventMsgBuilder::eventAddr
uint8 * eventAddr() const
Definition:
EventMsgBuilder.h:28
EventMsgBuilder::buf_
uint8 * buf_
Definition:
EventMsgBuilder.h:34
EventMsgBuilder::setOrigDataSize
void setOrigDataSize(uint32)
Definition:
EventMsgBuilder.cc:90
submitPVValidationJobs.run
tuple run
Definition:
submitPVValidationJobs.py:227
EventMsgBuilder::size_
uint32 size_
Definition:
EventMsgBuilder.h:35
dqmdumpme.lumi
list lumi
Definition:
dqmdumpme.py:53
uint32
unsigned int uint32
Definition:
MsgTools.h:13
EventMsgBuilder::setEventAddr
void setEventAddr(uint8 *event_addr)
Definition:
EventMsgBuilder.h:27
uint64
unsigned long long uint64
Definition:
MsgTools.h:14
uint8
unsigned char uint8
Definition:
MsgTools.h:11
EventMsgBuilder::setBufAddr
void setBufAddr(uint8 *buf_addr)
Definition:
EventMsgBuilder.h:26
EventMsgBuilder::headerSize
uint32 headerSize() const
Definition:
EventMsgBuilder.h:29
MsgTools.h
EventMsgBuilder::bufferSize
uint32 bufferSize() const
Definition:
EventMsgBuilder.h:31
EventMsgBuilder::event_addr_
uint8 * event_addr_
Definition:
EventMsgBuilder.h:36
EventMsgBuilder::size
uint32 size() const
Definition:
EventMsgBuilder.cc:101
Generated for CMSSW Reference Manual by
1.8.5