--- DarthVader/TrackerLevel2/src/TrkLevel2.cpp 2007/08/31 14:56:51 1.40 +++ DarthVader/TrackerLevel2/src/TrkLevel2.cpp 2007/11/27 11:43:50 1.41 @@ -61,9 +61,10 @@ }; - TrkParams::SetTrackingMode(); - TrkParams::SetPrecisionFactor(); - TrkParams::SetStepMin(); +// TrkParams::SetTrackingMode(); +// TrkParams::SetPrecisionFactor(); +// TrkParams::SetStepMin(); + TrkParams::SetMiniDefault(); TrkParams::SetPFA(); }; @@ -105,9 +106,10 @@ ypu[ip] = t.ypu[ip]; }; - TrkParams::SetTrackingMode(); - TrkParams::SetPrecisionFactor(); - TrkParams::SetStepMin(); +// TrkParams::SetTrackingMode(); +// TrkParams::SetPrecisionFactor(); +// TrkParams::SetStepMin(); + TrkParams::SetMiniDefault(); TrkParams::SetPFA(); }; @@ -621,9 +623,10 @@ // path_.error = 0; // readb_(); - TrkParams::SetTrackingMode(); - TrkParams::SetPrecisionFactor(); - TrkParams::SetStepMin(); +// TrkParams::SetTrackingMode(); +// TrkParams::SetPrecisionFactor(); +// TrkParams::SetStepMin(); + TrkParams::SetMiniDefault(); TrkParams::Set(path,1); TrkParams::Load(1); @@ -772,10 +775,11 @@ * @see EvaluateClusterPositions() * * The fitting procedure can be varied by changing the tracking mode, - * the fit-precision factor and the minimum number of step. + * the fit-precision factor, the minimum number of step, etc. * @see SetTrackingMode(int) * @see SetPrecisionFactor(double) * @see SetStepMin(int) + * @see SetDeltaB(int,double) */ void TrkTrack::Fit(double pfixed, int& fail, int iprint, int froml1){ @@ -878,6 +882,14 @@ track_.istepmin = istepmin; } /** + * Set deltaB parameters (id=0,1). By default they are set to zero. + */ +void TrkTrack::SetDeltaB(int id, double db){ + if(id!=0 && id!=1)cout << "void TrkTrack::SetDeltaB(int id,double db) -- wrong input parameters: "<