PktQualCut Class Reference

The packet number quality cut. More...

#include <PktQualCut.h>

Inheritance diagram for PktQualCut:

PamCut

List of all members.

Public Member Functions

 PktQualCut (const char *cutName)
 Constructor.
 ~PktQualCut ()
 Destructor.
int Check (PamLevel2 *event)
 The packet number quality check.


Detailed Description

The packet number quality cut.

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.


Member Function Documentation

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

The packet number quality check.

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

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.


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