--- PamCut/TrkCuts/TrkGeomCut/TrkGeomCut.h 2010/03/10 08:54:20 1.2 +++ PamCut/TrkCuts/TrkGeomCut/TrkGeomCut.h 2015/03/25 17:38:09 1.4 @@ -24,16 +24,18 @@ * * The parameters are the width of the regions on each side of a view that define the * fiducial acceptance region. The detector size is therefore reduce by an amount of xTol - * (yTol) on each side of the X (Y) view. + * (yTol) on each side of the X (Y) view for all the GF planes except fot M1 and M2. For these, + * xMagnTol and yMagnTol will be used as parameters. * * @param cutName The cut's name. - * @param xTol The fiducial border on X view for a generic plane in cm. - * @param yTol The fiducial border on Y view for a generic plane in cm. + * @param trkAlg The tracking algorythm used to check the track. + * @param xTol The fiducial border on X view for a generic plane in cm (except M1 and M2). + * @param yTol The fiducial border on Y view for a generic plane in cm (except M1 and M2). * @param xMagnTol The fiducial border on X view for M1 and M2 in cm. * @param yMagnTol The fiducial border on Y view for M1 and M2 in cm. */ - TrkGeomCut(const char *cutName, Float_t xTol=0.15, Float_t yTol=0.15, Float_t xMagnTol=0.15, Float_t yMagnTol=0.15) : - PamCut(cutName), _xTol(xTol), _yTol(yTol), _xMagnTol(xMagnTol), _yMagnTol(yMagnTol) { + TrkGeomCut(const char *cutName, const char *trkAlg, Float_t xTol=0.15, Float_t yTol=0.15, Float_t xMagnTol=0.15, Float_t yMagnTol=0.15) : + PamCut(cutName), _trkAlg(trkAlg), _xTol(xTol), _yTol(yTol), _xMagnTol(xMagnTol), _yMagnTol(yMagnTol) { } /*! @brief Destructor. */ ~TrkGeomCut() { @@ -47,8 +49,12 @@ */ int Check(PamLevel2 *event); + + + private: + const char *_trkAlg; Float_t _xTol, _yTol; Float_t _xMagnTol, _yMagnTol;