OBTQualCut Class Reference

The On Board Time quality cut. More...

#include <OBTQualCut.h>

Inheritance diagram for OBTQualCut:

PamCut

List of all members.

Public Member Functions

 OBTQualCut (const char *cutName)
 Constructor.
 ~OBTQualCut ()
 Destructor.
int Check (PamLevel2 *event)
 The On Board Time quality check.


Detailed Description

The On Board Time quality cut.

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.


Member Function Documentation

int OBTQualCut::Check ( PamLevel2 *  event  )  [virtual]

The On Board Time quality check.

Parameters:
event The event to analyze.
Returns:
CUTOK if OBT > previous OBT.

OBT_NEWRUN if the event has been discarded since it is the first of the run

OBT_INVALID if OBT < previous OBT

Implements PamCut.


The documentation for this class was generated from the following files:

Generated on Fri Jun 5 15:09:03 2009 for PamCut by  doxygen 1.5.9