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

Contents of /PamCut/MiscCuts/GeoFieldCut/GeoFieldCut.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (download) (vendor branch)
Wed May 27 13:30:09 2009 UTC (15 years, 6 months ago) by pam-fi
Branch: DEV
CVS Tags: v0r00
Changes since 1.1: +0 -0 lines
File MIME type: text/plain
Error occurred while calculating annotation data.
First import

1 /*
2 * GeoFieldCut.h
3 *
4 * Created on: 10-mar-2009
5 * Author: Nicola Mori
6 */
7
8 /*! @file GeoFieldCut.h The GeoFieldCut class definition file */
9
10 #ifndef GEOFIELDCUT_H_
11 #define GEOFIELDCUT_H_
12
13 #include "../../PamCutBase/PamCutBase.h"
14
15 /*! @brief The geomagnetic cut. */
16 class GeoFieldCut: public PamCut {
17 public:
18
19 /*! @brief Constructor.
20 *
21 * @param cutName The cut's name..
22 * @param bAbs The lower threshold value of the geomagnetic field, in gauss.
23 */
24 GeoFieldCut(const char *cutName, Float_t bAbs) :
25 PamCut(cutName), _bAbs(bAbs) {
26 }
27
28 /*! @brief Destructor. */
29 ~GeoFieldCut() {
30 }
31
32 /*! @brief Apply the geomagnetic cut.
33 *
34 * This routine rejects the events with |B| < bAbs.
35 * @param event The event to analyze.
36 * @return CUTOK if |B| > bAbs, 0 otherwise.
37 */
38 int Check(PamLevel2 *event);
39
40 private:
41 float _bAbs;
42
43 };
44
45 #endif /* GEOFIELDCUT_H_ */

  ViewVC Help
Powered by ViewVC 1.1.23