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

Contents of /PamCut/MiscCuts/PitchAngleCut/PitchAngleCut.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Apr 20 10:07:13 2010 UTC (14 years, 7 months ago) by pam-mep
Branch: MAIN
CVS Tags: Root_V8, MergedToHEAD_1, nuclei_reproc, MergedFromV8_1, BeforeMergingFromV8_1, V9, HEAD
Branch point for: V8
Changes since 1.1: +1 -1 lines
Bugs fixed

1 /*
2 * PitchAngleCut.cpp
3 *
4 * Created on: 27-Marth-2010
5 * Author: Vitaly Malakhov
6 */
7
8 /*! @file PitchAngleCut.cpp The PitchAngleCut class implementation file */
9
10 #include "PitchAngleCut.h"
11
12 int PitchAngleCut::Check(PamLevel2 *event) {
13
14 if (event->GetOrbitalInfoStoredTrack(-1)->pitch <= _pitchMin || event->GetOrbitalInfoStoredTrack(-1)->pitch > _pitchMax ) {
15 return 0;
16 }
17
18 return CUTOK;
19
20 }

  ViewVC Help
Powered by ViewVC 1.1.23