#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. |
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
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 |
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.