TofTopS1Cut Class Reference

The TofTopS1 cut. This cut ensures that no more than 2 PMT's on S1 are hit. More...

#include <TofTopS1Cut.h>

Inheritance diagram for TofTopS1Cut:

PamCut

List of all members.

Public Member Functions

 TofTopS1Cut (const char *cutName)
 Constructor.
 ~TofTopS1Cut ()
 Destructor.
int Check (PamLevel2 *event)
 The TofTopS1 check.

Private Attributes

int _nHitPmtPl [2]


Detailed Description

The TofTopS1 cut. This cut ensures that no more than 2 PMT's on S1 are hit.

Definition at line 20 of file TofTopS1Cut.h.


Constructor & Destructor Documentation

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

Constructor.

Definition at line 24 of file TofTopS1Cut.h.

TofTopS1Cut::~TofTopS1Cut (  )  [inline]

Destructor.

Definition at line 27 of file TofTopS1Cut.h.


Member Function Documentation

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

The TofTopS1 check.

Parameters:
event The event to analyze.
Returns:
CUTOK if no more than 2 PMTs are hit on each layer of S1

0 otherwise

Implements PamCut.

Definition at line 12 of file TofTopS1Cut.cpp.

References _nHitPmtPl, and CUTOK.


Member Data Documentation

int TofTopS1Cut::_nHitPmtPl[2] [private]

Definition at line 40 of file TofTopS1Cut.h.

Referenced by Check().


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

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