CMS 3D CMS Logo

EventMsgBuilder.h
Go to the documentation of this file.
1 #ifndef IOPool_Streamer_EventMsgBuilder_h
2 #define IOPool_Streamer_EventMsgBuilder_h
3 
5 
6 // ------------------ event message builder ----------------
7 
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  uint8* eventAddr() const { return event_addr_; }
27  uint32 headerSize() const { return event_addr_ - buf_; }
28  uint32 size() const;
29  uint32 bufferSize() const { return size_; }
30 
31 private:
35 };
36 
37 #endif
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)
void setEventLength(uint32 len)
uint8 * startAddress() const
uint8 * eventAddr() const
void setOrigDataSize(uint32)
unsigned int uint32
Definition: MsgTools.h:13
unsigned long long uint64
Definition: MsgTools.h:14
unsigned char uint8
Definition: MsgTools.h:11
uint32 headerSize() const
uint32 bufferSize() const
Definition: event.py:1
uint32 size() const