#include <EOFRecordBuilder.h>
Public Member Functions | |
EOFRecordBuilder (uint32 run, uint32 events, uint32 statusCode, const std::vector< uint32 > &hltStats, uint64 first_event_offset, uint64 last_event_offset) | |
uint8 * | recAddress () const |
uint32 | size () const |
Private Attributes | |
std::vector< uint8 > | buf_ |
Definition at line 10 of file EOFRecordBuilder.h.
EOFRecordBuilder::EOFRecordBuilder | ( | uint32 | run, |
uint32 | events, | ||
uint32 | statusCode, | ||
const std::vector< uint32 > & | hltStats, | ||
uint64 | first_event_offset, | ||
uint64 | last_event_offset | ||
) |
Bring the Pos at enof of Message
pos - &buf_ gives legth of message
Code is 4 for EOF
Definition at line 8 of file EOFRecordBuilder.cc.
References buf_, convert(), Header::EOFRECORD, EOFRecordHeader::events_, h, EOFRecordHeader::header_, i, pos, EOFRecordHeader::run_, EOFRecordHeader::status_code_, and v.
|
inline |
|
inline |
|
private |
Definition at line 24 of file EOFRecordBuilder.h.
Referenced by EOFRecordBuilder(), recAddress(), and size().