#include <EvffedFillerEP.h>
Public Member Functions | |
EvffedFillerEP () | |
void | setEPEventCount (uint32_t evc, unsigned char *payload) |
void | setEPEventHisto (uint64_t ehi, unsigned char *payload) |
void | setEPEventId (uint32_t eid, unsigned char *payload) |
void | setEPProcessId (pid_t pid, unsigned char *payload) |
void | setEPTimeStamp (uint64_t ts, unsigned char *payload) |
Definition at line 10 of file EvffedFillerEP.h.
evf::EvffedFillerEP::EvffedFillerEP | ( | ) | [inline] |
Definition at line 13 of file EvffedFillerEP.h.
{ }
void evf::EvffedFillerEP::setEPEventCount | ( | uint32_t | evc, |
unsigned char * | payload | ||
) | [inline] |
Definition at line 26 of file EvffedFillerEP.h.
References evf::fedinterface::EVFFED_EPEVTCT_OFFSET.
Referenced by evf::EvFRecordInserter::analyze().
{ *(uint32_t*)(payload+fedinterface::EVFFED_EPEVTCT_OFFSET) = evc; }
void evf::EvffedFillerEP::setEPEventHisto | ( | uint64_t | ehi, |
unsigned char * | payload | ||
) | [inline] |
Definition at line 30 of file EvffedFillerEP.h.
References evf::fedinterface::EVFFED_EPHISTO_OFFSET.
Referenced by evf::EvFRecordInserter::analyze().
{ *(uint64_t*)(payload+fedinterface::EVFFED_EPHISTO_OFFSET) = ehi; }
void evf::EvffedFillerEP::setEPEventId | ( | uint32_t | eid, |
unsigned char * | payload | ||
) | [inline] |
Definition at line 22 of file EvffedFillerEP.h.
References evf::fedinterface::EVFFED_EPEVENT_OFFSET.
Referenced by evf::EvFRecordInserter::analyze().
{ *(uint32_t*)(payload+fedinterface::EVFFED_EPEVENT_OFFSET) = eid; }
void evf::EvffedFillerEP::setEPProcessId | ( | pid_t | pid, |
unsigned char * | payload | ||
) | [inline] |
Definition at line 18 of file EvffedFillerEP.h.
References evf::fedinterface::EVFFED_EPIDENT_OFFSET, evf::fedinterface::EVFFED_EPPCIDE_MASK, and evf::fedinterface::EVFFED_EPPCIDE_SHIFT.
Referenced by evf::EvFRecordInserter::analyze().
{ *(uint32_t*)(payload+fedinterface::EVFFED_EPIDENT_OFFSET) = (pid & fedinterface::EVFFED_EPPCIDE_MASK) << fedinterface::EVFFED_EPPCIDE_SHIFT; }
void evf::EvffedFillerEP::setEPTimeStamp | ( | uint64_t | ts, |
unsigned char * | payload | ||
) | [inline] |
Definition at line 15 of file EvffedFillerEP.h.
References evf::fedinterface::EVFFED_EPWCTIM_OFFSET.
Referenced by evf::EvFRecordInserter::analyze().
{ *(uint64_t*) (payload + fedinterface::EVFFED_EPWCTIM_OFFSET) = ts; }