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

Contents of /PamCut/MiscCuts/LShellCut/LShellCut.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Mar 26 10:12:19 2010 UTC (14 years, 8 months ago) by pam-fi
Branch: MAIN
CVS Tags: Root_V8, MergedToHEAD_1, nuclei_reproc, MergedFromV8_1, BeforeMergingFromV8_1
Branch point for: V8
Changes since 1.1: +5 -4 lines
Upper limit added. Bug in documentation fixed.

1 /*
2 * LShellCut.cpp
3 *
4 * Created on: 14-jan-2010
5 * Author: S. Ricciarini
6 */
7
8 /*! @file LShellCut.cpp The LShellCut class implementation file */
9
10 #include "LShellCut.h"
11
12 int LShellCut::Check(PamLevel2 *event) {
13
14 if (event->GetOrbitalInfo()->L <= _LShellMin) {
15 if (_LShellMax > 0. && event->GetOrbitalInfo()->L >= _LShellMax)
16 return 0;
17 }
18
19 return CUTOK;
20
21 }

  ViewVC Help
Powered by ViewVC 1.1.23