LTQualCut Class Reference

The live-time data quality cut: rejects the first event of each run and events with LT greater than an upper threshold (or with LT smaller than 0). More...

#include <LTQualCut.h>

Inheritance diagram for LTQualCut:

PamCut

List of all members.

Public Member Functions

 LTQualCut (const char *cutName, float threshold=4500)
 Constructor.
 ~LTQualCut ()
 Destructor.
int Check (PamLevel2 *event)
 The live time quality check.
float GetLT ()
 Returns the live time of the last examined event.


Detailed Description

The live-time data quality cut: rejects the first event of each run and events with LT greater than an upper threshold (or with LT smaller than 0).

Constructor & Destructor Documentation

LTQualCut::LTQualCut ( const char *  cutName,
float  threshold = 4500 
) [inline]

Constructor.

Parameters:
cutName The cut's name.
threshold The live time maximum accepted value in ms. It is the value above which a live time is considered invalid. It must be less than the trigger timeout on IDAQ board, which is ~ 4600 ms. Default is 4500 (use of different values must be justified).


Member Function Documentation

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

The live time quality check.

Parameters:
event The event to analyze.
Returns:
CUTOK if LT < timeout.

LT_INVALID if LT > timeout.

LT_NEWRUN if the event is at the beginning of the run.

Implements PamCut.

float LTQualCut::GetLT (  )  [inline]

Returns the live time of the last examined event.

Returns:
The live time of the last examined event in ms (-1 -> first event of the run).


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