/[PAMELA software]/PamCut/MiscCuts/LShellCut/LShellCut.cpp
ViewVC logotype

Diff of /PamCut/MiscCuts/LShellCut/LShellCut.cpp

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

revision 1.1 by pam-fi, Mon Jan 18 16:34:21 2010 UTC revision 1.2 by pam-fi, Fri Mar 26 10:12:19 2010 UTC
# Line 11  Line 11 
11    
12  int LShellCut::Check(PamLevel2 *event) {  int LShellCut::Check(PamLevel2 *event) {
13    
14   if (event->GetOrbitalInfo()->L <= _LShellMin) {    if (event->GetOrbitalInfo()->L <= _LShellMin) {
15     return 0;      if (_LShellMax > 0. && event->GetOrbitalInfo()->L >= _LShellMax)
16   }        return 0;
17      }
18    
19    return CUTOK;    return CUTOK;
20      
21  }  }

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

  ViewVC Help
Powered by ViewVC 1.1.23