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