--- PamCut/MiscCuts/LShellCut/LShellCut.cpp 2010/01/18 16:34:21 1.1 +++ PamCut/MiscCuts/LShellCut/LShellCut.cpp 2010/03/26 10:12:19 1.2 @@ -11,10 +11,11 @@ int LShellCut::Check(PamLevel2 *event) { - if (event->GetOrbitalInfo()->L <= _LShellMin) { - return 0; - } + if (event->GetOrbitalInfo()->L <= _LShellMin) { + if (_LShellMax > 0. && event->GetOrbitalInfo()->L >= _LShellMax) + return 0; + } return CUTOK; - + }