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

Diff of /PamCut/TrkCuts/TrkRigGeoCut/TrkRigGeoCut.cpp

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

revision 1.1.1.1 by pam-fi, Wed May 27 13:30:09 2009 UTC revision 1.2 by pam-fi, Wed Mar 25 17:38:08 2015 UTC
# Line 11  Line 11 
11    
12  int TrkRigGeoCut::Check(PamLevel2 *event) {  int TrkRigGeoCut::Check(PamLevel2 *event) {
13    
14    if (event->GetTrack(0)->GetTrkTrack()->GetRigidity() < _thresholdCoeff * event->GetOrbitalInfo()->GetCutoffSVL()) {      if(event->GetNTracks(_trkAlg)==0)return 0;    
15      return 0;      ExtTrack *track = event->GetTrack(0,_trkAlg)->GetExtTrack();
   }  
16    
17    return CUTOK;      if (track->GetRigidity() < _thresholdCoeff * event->GetOrbitalInfo()->GetCutoffSVL()) {
18            return 0;
19        }
20        
21        return CUTOK;
22  }  }

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

  ViewVC Help
Powered by ViewVC 1.1.23