Function caerEventPacketCopyOnlyEvents
Defined in File common.h
Function Documentation
-
static inline caerEventPacketHeader caerEventPacketCopyOnlyEvents(caerEventPacketHeaderConst packet)
Make a copy of an event packet, sized down to only include the currently present events (eventNumber, valid+invalid), and not including the possible extra unused events (up to eventCapacity).
- Parameters:
packet – an event packet to copy.
- Returns:
a sized down copy of an event packet.