1 #ifndef IOPool_Streamer_Messages_h
2 #define IOPool_Streamer_Messages_h
36 unsigned int a=v[0],
b=v[1],
c=v[2], d=v[3];
37 a|=(b<<8)|(c<<16)|(d<<24);
214 assert(
sizeof(
edm::EventNumber_t) ==
sizeof(
int) &&
"event ID streaming only knows how to work with 4 byte event ID numbers right now");
220 assert(
sizeof(
edm::RunNumber_t) ==
sizeof(
int) &&
"run number streaming only knows how to work with 4 byte event ID numbers right now");
226 assert(
sizeof(
edm::EventNumber_t) ==
sizeof(
int) &&
"event ID streaming only knows how to work with 4 byte event ID numbers right now");
232 assert(
sizeof(
edm::RunNumber_t) ==
sizeof(
int) &&
"run number streaming only knows how to work with 4 byte event ID numbers right now");
void encodeInt(unsigned int i, unsigned char *v)
unsigned int EventNumber_t
MsgCode(void *buffer, int size)
void setRunNumber(edm::RunNumber_t r)
void setEventNumber(edm::EventNumber_t e)
MsgCode(void *buffer, Codes c)
EventMsg(void *buffer, int size=0)
InitMsg(void *buffer, int size, bool setcode=false)
MsgCode(void *buffer, int size, Codes c)
edm::RunNumber_t getRunNumber() const
edm::EventNumber_t event_num_
edm::EventNumber_t getEventNumber() const
unsigned int decodeInt(unsigned char *v)
edm::RunNumber_t run_num_
tuple size
Write out results.
EventMsg(void *buffer, int size, edm::EventNumber_t e, edm::RunNumber_t r, int which_seg, int total_segs)