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

Diff of /PamCut/MiscCuts/GeoFieldCut/GeoFieldCut.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.1.1 by pam-fi, Wed May 27 13:30:09 2009 UTC revision 1.2 by pam-fi, Wed Jun 17 13:07:27 2009 UTC
# Line 12  Line 12 
12    
13  #include "../../PamCutBase/PamCutBase.h"  #include "../../PamCutBase/PamCutBase.h"
14    
15  /*! @brief The geomagnetic cut. */  /*! @brief The geomagnetic field cut. */
16  class GeoFieldCut: public PamCut {  class GeoFieldCut: public PamCut {
17  public:  public:
18    
19    /*! @brief Constructor.    /*! @brief Constructor.
20     *     *
21       * If the upper value is less than the lower value, it will be ignored.
22       *
23     * @param cutName The cut's name..     * @param cutName The cut's name..
24     * @param bAbs The lower threshold value of the geomagnetic field, in gauss.     * @param bAbsMin The lower threshold value of the geomagnetic field, in gauss.
25       * @param bAbsMax The upper threshold value of the geomagnetic field, in gauss.
26     */     */
27    GeoFieldCut(const char *cutName, Float_t bAbs) :    GeoFieldCut(const char *cutName, Float_t bAbsMin, Float_t bAbsMax = -1.) :
28      PamCut(cutName), _bAbs(bAbs) {      PamCut(cutName), _bAbsMin(bAbsMin), _bAbsMax(bAbsMax) {
29    }    }
30    
31    /*! @brief Destructor. */    /*! @brief Destructor. */
# Line 38  public: Line 41  public:
41    int Check(PamLevel2 *event);    int Check(PamLevel2 *event);
42    
43  private:  private:
44    float _bAbs;    float _bAbsMin, _bAbsMax;
45    
46  };  };
47    

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.23