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.

Private Attributes

UInt_t _previousOBT
UInt_t _previousRun


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.

Definition at line 28 of file OBTQualCut.h.


Constructor & Destructor Documentation

OBTQualCut::OBTQualCut ( const char *  cutName  )  [inline]

Constructor.

Definition at line 32 of file OBTQualCut.h.

OBTQualCut::~OBTQualCut (  )  [inline]

Destructor.

Definition at line 36 of file OBTQualCut.h.


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.

Definition at line 12 of file OBTQualCut.cpp.

References _previousOBT, _previousRun, CUTOK, and OBT_INVALID.


Member Data Documentation

UInt_t OBTQualCut::_previousOBT [private]

Definition at line 49 of file OBTQualCut.h.

Referenced by Check().

UInt_t OBTQualCut::_previousRun [private]

Definition at line 50 of file OBTQualCut.h.

Referenced by Check().


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

Generated on Wed May 27 15:21:40 2009 for PamCut by  doxygen 1.5.9