PamCut: TofQualCut Class Reference

# TofQualCut Class Reference

The TofQual cut. This cut ensures that for each TOF plane (each pair of layers) at least one paddle is hit (according to standard TOF definition: both TDC's are hit and both hits are 'good'). More...

`#include <TofQualCut.h>`

Inheritance diagram for TofQualCut:

List of all members.

## Public Member Functions
| TofQualCut (const char *cutName)
| Constructor.
| ~TofQualCut ()
| Destructor.
int | Check (PamLevel2 *event)
| The TofQual check.
## Private Attributes
int | _nHitPadPair [3]

## Detailed Description

The TofQual cut. This cut ensures that for each TOF plane (each pair of layers) at least one paddle is hit (according to standard TOF definition: both TDC's are hit and both hits are 'good').

Definition at line 20 of file TofQualCut.h.

## Constructor & Destructor Documentation

TofQualCut::TofQualCut | ( | const char * | cutName | ) | `[inline]`

Constructor.

Definition at line 24 of file TofQualCut.h.

TofQualCut::~TofQualCut | ( |  | ) | `[inline]`

Destructor.

Definition at line 27 of file TofQualCut.h.

## Member Function Documentation

int TofQualCut::Check | ( | PamLevel2 * | event | ) | `[virtual]`

The TofQual check.

Parameters:

  | event | The event to analyze.

Returns:
  CUTOK if for each pair of layers at least one paddle is hit

  0 otherwise

Implements PamCut.

Definition at line 12 of file TofQualCut.cpp.

References _nHitPadPair, and CUTOK.

## Member Data Documentation

int TofQualCut::_nHitPadPair[3]`[private]`

Definition at line 40 of file TofQualCut.h.

Referenced by Check().

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

- TofCuts/TofQualCut/TofQualCut.h
- TofCuts/TofQualCut/TofQualCut.cpp