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

Contents of /PamCut/MiscCuts/PitchAngleCut/PitchAngleCut.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (download) (vendor branch)
Mon Apr 5 09:07:45 2010 UTC (14 years, 8 months ago) by pam-mep
Branch: yoyo, MAIN
CVS Tags: Root_V8, start, MergedToHEAD_1, MergedFromV8_1, BeforeMergingFromV8_1, V9, HEAD
Branch point for: V8
Changes since 1.1: +0 -0 lines
File MIME type: text/plain
first releaze

1 /*
2 * PitchAngleCut.h
3 *
4 * Created on: 27-Marth-2010
5 * Author: Vitaly Malakhov
6 */
7
8 /*! @file PitchAngleCut.h The PitchAngleCut class definition file */
9
10 #ifndef PITCHANGLECUT_H_
11 #define PITCHANGLECUT_H_
12
13 #include "../../PamCutBase/PamCutBase.h"
14
15 /*! @brief The pitch-angle cut. */
16 class PitchAngleCut: public PamCut {
17 public:
18
19 /*! @brief Constructor.
20 *
21 *
22 * @param cutName The cut's name..
23 * @param PitchMin The minimum threshold value of the pitch-angle
24 * @param PitchMax The maximum threshold value of the pitch-angle
25 */
26 PitchAngleCut(const char *cutName, Float_t pitchMin, Float_t pitchMax) :
27 PamCut(cutName), _pitchMin(pitchMin), _pitchMax(pitchMax) {
28 }
29
30 /*! @brief Destructor. */
31 ~PitchAngleCut() {
32 }
33
34 /*! @brief Apply the geomagnetic cut.
35 *
36 * This routine rejects the events with pitch-angle > PitchMax and pitch-angle <= PitchMin.
37 * @param event The event to analyze.
38 * @return CUTOK if PitchMin < pitch-angle <= PitchMax , 0 otherwise.
39 */
40 int Check(PamLevel2 *event);
41
42 private:
43 float _pitchMin;
44 float _pitchMax;
45
46 };
47
48 #endif /* PITCHANGLECUT_H_ */

  ViewVC Help
Powered by ViewVC 1.1.23