/[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.3 by pam-fi, Thu Sep 2 15:07:58 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.) { // Check also the upper limit
16   }        if (event->GetOrbitalInfo()->L >= _LShellMax)
17            return 0;
18        }
19        else
20          return 0;
21      }
22    
23    return CUTOK;    return CUTOK;
24      
25  }  }

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

  ViewVC Help
Powered by ViewVC 1.1.23