/[PAMELA software]/PamCut/TrkCuts/TrkHitQualCut/TrkHitQualCut.cpp
ViewVC logotype

Diff of /PamCut/TrkCuts/TrkHitQualCut/TrkHitQualCut.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by pam-fi, Wed May 27 13:30:08 2009 UTC revision 1.2 by pam-fi, Mon Jan 18 16:34:52 2010 UTC
# Line 2  Line 2 
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 */
# Line 15  int TrkHitQualCut::Check(PamLevel2 *even Line 15  int TrkHitQualCut::Check(PamLevel2 *even
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;

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.23