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