#include <TrkHitQualCut.h>
Public Member Functions | |
TrkHitQualCut (const char *cutName, int xMinHit, int yMinHit, int xLeverArm) | |
Constructor. | |
~TrkHitQualCut () | |
Destructor. | |
int | Check (PamLevel2 *event) |
The tracker hit quality check. | |
Private Attributes | |
int | _xMinHit |
int | _yMinHit |
int | _xLeverArm |
This cut performs a check on the number of hits on X and Y view and on the lever arm.
CUT DEPENDENCIES: TrkPhysSin for object trkTrack
Definition at line 23 of file TrkHitQualCut.h.
TrkHitQualCut::TrkHitQualCut | ( | const char * | cutName, | |
int | xMinHit, | |||
int | yMinHit, | |||
int | xLeverArm | |||
) | [inline] |
Constructor.
cutName | The cut's name. | |
xMinHit | The minimum hits along the track for X view | |
yMinHit | The minimum hits along the track for X view | |
xLeverArm | The Minimum lever arm |
Definition at line 33 of file TrkHitQualCut.h.
TrkHitQualCut::~TrkHitQualCut | ( | ) | [inline] |
int TrkHitQualCut::Check | ( | PamLevel2 * | event | ) | [virtual] |
The tracker hit quality check.
The event is rejected if X hits or Y hist or X lever arm is less than the parameter passed to the constructor.
event | The event to analyze. |
0 if at least one of the above conditions is not matched.
Implements PamCut.
Definition at line 12 of file TrkHitQualCut.cpp.
References _xLeverArm, _xMinHit, _yMinHit, and CUTOK.
int TrkHitQualCut::_xLeverArm [private] |
int TrkHitQualCut::_xMinHit [private] |
int TrkHitQualCut::_yMinHit [private] |