2 |
* TrkHitQualCut.cpp |
* TrkHitQualCut.cpp |
3 |
* |
* |
4 |
* Created on: 13-mar-2009 |
* Created on: 13-mar-2009 |
5 |
* Author: Sergio Ricciarini, Nicola Mori |
* Author: Sergio Ricciarini |
6 |
*/ |
*/ |
7 |
|
|
8 |
/*! @file TrkHitQualCut.cpp The TrkHitQualCut class implementation file */ |
/*! @file TrkHitQualCut.cpp The TrkHitQualCut class implementation file */ |
15 |
|
|
16 |
if (trkTrack->GetNX() < _xMinHit || // minimum number of X planes included in the track |
if (trkTrack->GetNX() < _xMinHit || // minimum number of X planes included in the track |
17 |
trkTrack->GetNY() < _yMinHit || // minimum number of Y planes included in the track |
trkTrack->GetNY() < _yMinHit || // minimum number of Y planes included in the track |
18 |
trkTrack->GetLeverArmX() < _xLeverArm) // minimum LA for X view |
trkTrack->GetLeverArmX() < _xLeverArm || // minimum LA for X view |
19 |
|
trkTrack->axv[0]<_xAngMin || // minimum XZ angle |
20 |
|
trkTrack->axv[0]>_xAngMax) // maximum XZ angle |
21 |
return 0; |
return 0; |
22 |
|
|
23 |
return CUTOK; |
return CUTOK; |