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

Diff of /PamCut/TrkCuts/RigFillCut/RigFillCut.cpp

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

revision 1.2 by pam-fi, Wed Jun 10 12:44:55 2009 UTC revision 1.3 by pam-fi, Wed Aug 5 13:34:27 2009 UTC
# Line 45  int RigFillCut::Check(PamLevel2 *event) Line 45  int RigFillCut::Check(PamLevel2 *event)
45    
46    float rig = event->GetTrack(0)->GetTrkTrack()->GetRigidity();    float rig = event->GetTrack(0)->GetTrkTrack()->GetRigidity();
47    
48    if (rig > _binning[_binning.size() - 1] || rig < _binning[0]) {    if (rig >= _binning[_binning.size() - 1] || rig < _binning[0]) {
49      return RIGOUT;      return RIGOUT;
50    }    }
51    

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

  ViewVC Help
Powered by ViewVC 1.1.23