#include <TofBetaRigCut.h>
Public Member Functions | |
TofBetaRigCut (const char *cutName, float threshold, int charge=1, float mass=0.93827203) | |
Constructor. | |
~TofBetaRigCut () | |
Destructor. | |
int | Check (PamLevel2 *event) |
The rigidity check. | |
Private Attributes | |
float | _threshold |
int | _charge |
float | _mass |
Definition at line 22 of file TofBetaRigCut.h.
TofBetaRigCut::TofBetaRigCut | ( | const char * | cutName, | |
float | threshold, | |||
int | charge = 1 , |
|||
float | mass = 0.93827203 | |||
) | [inline] |
Constructor.
cutName | The cut's name. | |
charge | The particle charge (in units of proton charge: e.g. Z=1) | |
mass | The particle mass (in GeV; e.g. m=0.93827203 GeV) | |
threshold | The rigidity-difference threshold (in GV) |
Definition at line 32 of file TofBetaRigCut.h.
TofBetaRigCut::~TofBetaRigCut | ( | ) | [inline] |
int TofBetaRigCut::Check | ( | PamLevel2 * | event | ) | [virtual] |
The rigidity check.
event | The event to analyze. |
0 otherwise.
Implements PamCut.
Definition at line 12 of file TofBetaRigCut.cpp.
References _charge, _mass, _threshold, and CUTOK.
int TofBetaRigCut::_charge [private] |
float TofBetaRigCut::_mass [private] |
float TofBetaRigCut::_threshold [private] |