/* * LShellCut.h * * Created on: 14-jan-2010 * Author: S. Ricciarini */ /*! @file LShellCut.h The LShellCut class definition file */ #ifndef LSHELLCUT_H_ #define LSHELLCUT_H_ #include "../../PamCutBase/PamCutBase.h" /*! @brief The geomagnetic field cut. */ class LShellCut: public PamCut { public: /*! @brief Constructor. * * * @param cutName The cut's name.. * @param LShellMin The minimum threshold value of the L shell (in units of earth radius) */ LShellCut(const char *cutName, Float_t LShellMin) : PamCut(cutName), _LShellMin(LShellMin) { } /*! @brief Destructor. */ ~LShellCut() { } /*! @brief Apply the geomagnetic cut. * * This routine rejects the events with |B| < bAbs. * @param event The event to analyze. * @return CUTOK if |B| > bAbs, 0 otherwise. */ int Check(PamLevel2 *event); private: float _LShellMin; }; #endif /* LSHELLCUT_H_ */