/[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.2 by pam-fi, Mon Jan 18 16:34:52 2010 UTC revision 1.3 by pam-fi, Wed Mar 25 17:38:09 2015 UTC
# Line 11  Line 11 
11    
12  int TrkHitQualCut::Check(PamLevel2 *event) {  int TrkHitQualCut::Check(PamLevel2 *event) {
13    
14    TrkTrack *trkTrack = event->GetTrack(0)->GetTrkTrack();      if(event->GetNTracks(_trkAlg)==0)return 0;
15        
16    //  TrkTrack *trkTrack = event->GetTrack(0)->GetTrkTrack();
17        ExtTrack *trkTrack = event->GetTrack(0,_trkAlg)->GetExtTrack();
18    
19    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
20        trkTrack->GetNY() < _yMinHit || // minimum number of Y planes included in the track        trkTrack->GetNY() < _yMinHit || // minimum number of Y planes included in the track

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

  ViewVC Help
Powered by ViewVC 1.1.23