--- PamCut/CaloCuts/CaloGeomCut/CaloGeomCut.h 2010/07/08 10:43:12 1.3.2.1 +++ PamCut/CaloCuts/CaloGeomCut/CaloGeomCut.h 2011/09/02 16:25:39 1.6 @@ -52,17 +52,16 @@ * @param yTolCaloTrack The tolerance for Y view which defines the fiducial acceptance. * @param mass The particle's mass (used only when iMethod = 1). Default is #H_MASS. * @param resMax Default: 10. (equivalent to beta[12]) + * @param zeta The particle Z, with sign (used only when iMethod = 1). Default is +1. * @param qualCut Default: 10. (equivalent to beta[12]) * @param chi2Cut Default: 20. (equivalent to beta[12]) */ - CaloGeomCut(const char *cutName, CaloAxis *xCaloAxis, CaloAxis *yCaloAxis, UInt_t iMethod, Float_t xTolCaloTrack = - 0.7, Float_t yTolCaloTrack = 0.7, Float_t mass = H_MASS, Float_t resMax = 10., Float_t qualCut = 10., Float_t chi2Cut = 20.) : - PamCut(cutName), _xCaloAxis(xCaloAxis), _yCaloAxis(yCaloAxis), _iMethod(iMethod), _xTolCaloTrack(xTolCaloTrack), - _yTolCaloTrack(yTolCaloTrack), _mass(mass), _resMax(resMax), _qualCut(qualCut), _chi2Cut(chi2Cut) { - } + CaloGeomCut(const char *cutName, CaloAxis *xCaloAxis, CaloAxis *yCaloAxis, UInt_t iMethod, + Float_t xTolCaloTrack = 0.7, Float_t yTolCaloTrack = 0.7, Float_t mass = H_MASS, Float_t zeta = +1., + Float_t resMax = 10., Float_t qualCut = 10., Float_t chi2Cut = 20.); + /*! @brief Destructor. */ - ~CaloGeomCut() { - } + ~CaloGeomCut(); /*! @brief The geometry check using the calorimeter's track. * @@ -76,8 +75,13 @@ CaloAxis *_xCaloAxis, *_yCaloAxis; UInt_t _iMethod; Float_t _xTolCaloTrack, _yTolCaloTrack; - Float_t _mass; + Float_t _mass, _zeta; Float_t _resMax, _qualCut, _chi2Cut; + + Trajectory* _traj; + static const Int_t _nPoint; + vector _zIn; // MUST be Float_t + static const Float_t _zCaloTop; // cm MUST be Float_t }; #endif /* CALOGEOMCUT_H_ */