--- PamCut/TrkCuts/TrkGeomCut/TrkGeomCut.h 2010/03/26 10:37:54 1.3 +++ PamCut/TrkCuts/TrkGeomCut/TrkGeomCut.h 2015/03/25 17:38:09 1.4 @@ -28,13 +28,14 @@ * xMagnTol and yMagnTol will be used as parameters. * * @param cutName The cut's name. + * @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() { @@ -48,8 +49,12 @@ */ int Check(PamLevel2 *event); + + + private: + const char *_trkAlg; Float_t _xTol, _yTol; Float_t _xMagnTol, _yMagnTol;