diff --git a/src/geomlib/TVSurface.cxx b/src/geomlib/TVSurface.cxx index 326be83..650346b 100644 --- a/src/geomlib/TVSurface.cxx +++ b/src/geomlib/TVSurface.cxx @@ -48,11 +48,10 @@ Int_t TVSurface::CalcXingPointWith(const TVTrack &hel, Int_t mode, Double_t eps) const { - eps = 1.e-5; - + // eps = 1.e-5; // do we really want to ignore the input value? // this Newtonian method is used for non-uniform b field, // for this case mode is currently set to 0 - mode = 0; + // mode = 0; // do we really want to ignore the input value? static const Int_t maxcount = 100; static const Double_t initlambda = 1.e-10; diff --git a/src/geomlib/TVSurface.h b/src/geomlib/TVSurface.h index be0a085..3717f77 100644 --- a/src/geomlib/TVSurface.h +++ b/src/geomlib/TVSurface.h @@ -36,12 +36,12 @@ class TVSurface : public TObject { virtual Int_t CalcXingPointWith(const TVTrack &hel, TVector3 &xx, Double_t &phi, - Double_t eps = 1.e-8) const; + Double_t eps = 1.e-5) const; virtual Int_t CalcXingPointWith(const TVTrack &hel, TVector3 &xx, Double_t &phi, Int_t mode, - Double_t eps = 1.e-8) const; + Double_t eps = 1.e-5) const; virtual Double_t CalcS (const TVector3 &xx) const = 0; virtual TMatrixD CalcDSDx (const TVector3 &xx) const = 0;