#include <PktQualCut.h>
Public Member Functions | |
PktQualCut (const char *cutName) | |
Constructor. | |
~PktQualCut () | |
Destructor. | |
int | Check (PamLevel2 *event) |
The packet number quality check. |
This cut rejects events whose packet number is less than that of the previous event. When a new run starts, the previous packet number is set to the current one and the current event (ie., the first event of the run) is discarded.
int PktQualCut::Check | ( | PamLevel2 * | event | ) | [virtual] |
The packet number quality check.
event | The event to analyze. |
PKT_NEWRUN if the event has been discarded since it is the first of the run
PKT_INVALID if packet number > previous packet number.
Implements PamCut.