/[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.2 by pam-fi, Fri Mar 26 10:12:19 2010 UTC revision 1.3 by pam-fi, Thu Sep 2 15:07:58 2010 UTC
# Line 12  Line 12 
12  int LShellCut::Check(PamLevel2 *event) {  int LShellCut::Check(PamLevel2 *event) {
13    
14    if (event->GetOrbitalInfo()->L <= _LShellMin) {    if (event->GetOrbitalInfo()->L <= _LShellMin) {
15      if (_LShellMax > 0. && event->GetOrbitalInfo()->L >= _LShellMax)      if (_LShellMax > 0.) { // Check also the upper limit
16          if (event->GetOrbitalInfo()->L >= _LShellMax)
17            return 0;
18        }
19        else
20        return 0;        return 0;
21    }    }
22    

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

  ViewVC Help
Powered by ViewVC 1.1.23