/[PAMELA software]/PamCut/CaloCuts/CaloGeomCut/CaloGeomCut.h
ViewVC logotype

Diff of /PamCut/CaloCuts/CaloGeomCut/CaloGeomCut.h

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

revision 1.3 by pam-fi, Fri Apr 30 06:38:55 2010 UTC revision 1.6 by pam-fi, Fri Sep 2 16:25:39 2011 UTC
# Line 7  Line 7 
7    
8  /*! @file CaloGeomCut.h The CaloGeomCut class definition file */  /*! @file CaloGeomCut.h The CaloGeomCut class definition file */
9    
10    #ifndef NO_CALOAXIS
11    
12  #ifndef CALOGEOMCUT_H_  #ifndef CALOGEOMCUT_H_
13  #define CALOGEOMCUT_H_  #define CALOGEOMCUT_H_
14    
15  #include "../../PamCutBase/PamCutBase.h"  #include "../../PamCutBase/PamCutBase.h"
16  #include "../../CaloAxis2.h"  #include <CaloAxis.h>
17    
18  /*! @brief The geometric cut using the calorimeter track.  /*! @brief The geometric cut using the calorimeter track.
19   *   *
# Line 50  public: Line 52  public:
52     * @param yTolCaloTrack The tolerance for Y view which defines the fiducial acceptance.     * @param yTolCaloTrack The tolerance for Y view which defines the fiducial acceptance.
53     * @param mass The particle's mass (used only when iMethod = 1). Default is #H_MASS.     * @param mass The particle's mass (used only when iMethod = 1). Default is #H_MASS.
54     * @param resMax Default: 10. (equivalent to beta[12])     * @param resMax Default: 10. (equivalent to beta[12])
55       * @param zeta The particle Z, with sign (used only when iMethod = 1). Default is +1.
56     * @param qualCut Default: 10. (equivalent to beta[12])     * @param qualCut Default: 10. (equivalent to beta[12])
57     * @param chi2Cut Default: 20. (equivalent to beta[12])     * @param chi2Cut Default: 20. (equivalent to beta[12])
58     */     */
59    CaloGeomCut(const char *cutName, CaloAxis *xCaloAxis, CaloAxis *yCaloAxis, UInt_t iMethod, Float_t xTolCaloTrack =    CaloGeomCut(const char *cutName, CaloAxis *xCaloAxis, CaloAxis *yCaloAxis, UInt_t iMethod,
60        0.7, Float_t yTolCaloTrack = 0.7, Float_t mass = H_MASS, Float_t resMax = 10., Float_t qualCut = 10., Float_t chi2Cut = 20.) :        Float_t xTolCaloTrack = 0.7, Float_t yTolCaloTrack = 0.7, Float_t mass = H_MASS, Float_t zeta = +1.,
61      PamCut(cutName), _xCaloAxis(xCaloAxis), _yCaloAxis(yCaloAxis), _iMethod(iMethod), _xTolCaloTrack(xTolCaloTrack),        Float_t resMax = 10., Float_t qualCut = 10., Float_t chi2Cut = 20.);
62          _yTolCaloTrack(yTolCaloTrack), _mass(mass), _resMax(resMax), _qualCut(qualCut), _chi2Cut(chi2Cut) {  
   }  
63    /*! @brief Destructor. */    /*! @brief Destructor. */
64    ~CaloGeomCut() {    ~CaloGeomCut();
   }  
65    
66    /*! @brief The geometry check using the calorimeter's track.    /*! @brief The geometry check using the calorimeter's track.
67     *     *
# Line 74  private: Line 75  private:
75    CaloAxis *_xCaloAxis, *_yCaloAxis;    CaloAxis *_xCaloAxis, *_yCaloAxis;
76    UInt_t _iMethod;    UInt_t _iMethod;
77    Float_t _xTolCaloTrack, _yTolCaloTrack;    Float_t _xTolCaloTrack, _yTolCaloTrack;
78    Float_t _mass;    Float_t _mass, _zeta;
79    Float_t _resMax, _qualCut, _chi2Cut;    Float_t _resMax, _qualCut, _chi2Cut;
80    
81      Trajectory* _traj;
82      static const Int_t _nPoint;
83      vector<Float_t> _zIn; // MUST be Float_t
84      static const Float_t _zCaloTop; // cm MUST be Float_t
85  };  };
86    
87  #endif /* CALOGEOMCUT_H_ */  #endif /* CALOGEOMCUT_H_ */
88    #endif /* NO_CALOAXIS */

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.23