Function caerEventPacketEquals

Function Documentation

static inline bool caerEventPacketEquals(caerEventPacketHeaderConst firstPacket, caerEventPacketHeaderConst secondPacket)

Verify if two event packets are equal. This means that the header and all events are equal.

Parameters:
  • firstPacket – an event packet to be compared.

  • secondPacket – the other event packet to compare against.

Returns:

true if both are the same, false otherwise.