61 |
|
|
62 |
}; |
}; |
63 |
|
|
64 |
TrkParams::SetTrackingMode(); |
// TrkParams::SetTrackingMode(); |
65 |
TrkParams::SetPrecisionFactor(); |
// TrkParams::SetPrecisionFactor(); |
66 |
TrkParams::SetStepMin(); |
// TrkParams::SetStepMin(); |
67 |
|
TrkParams::SetMiniDefault(); |
68 |
TrkParams::SetPFA(); |
TrkParams::SetPFA(); |
69 |
|
|
70 |
}; |
}; |
106 |
ypu[ip] = t.ypu[ip]; |
ypu[ip] = t.ypu[ip]; |
107 |
}; |
}; |
108 |
|
|
109 |
TrkParams::SetTrackingMode(); |
// TrkParams::SetTrackingMode(); |
110 |
TrkParams::SetPrecisionFactor(); |
// TrkParams::SetPrecisionFactor(); |
111 |
TrkParams::SetStepMin(); |
// TrkParams::SetStepMin(); |
112 |
|
TrkParams::SetMiniDefault(); |
113 |
TrkParams::SetPFA(); |
TrkParams::SetPFA(); |
114 |
|
|
115 |
}; |
}; |
623 |
// path_.error = 0; |
// path_.error = 0; |
624 |
// readb_(); |
// readb_(); |
625 |
|
|
626 |
TrkParams::SetTrackingMode(); |
// TrkParams::SetTrackingMode(); |
627 |
TrkParams::SetPrecisionFactor(); |
// TrkParams::SetPrecisionFactor(); |
628 |
TrkParams::SetStepMin(); |
// TrkParams::SetStepMin(); |
629 |
|
TrkParams::SetMiniDefault(); |
630 |
|
|
631 |
TrkParams::Set(path,1); |
TrkParams::Set(path,1); |
632 |
TrkParams::Load(1); |
TrkParams::Load(1); |
775 |
* @see EvaluateClusterPositions() |
* @see EvaluateClusterPositions() |
776 |
* |
* |
777 |
* The fitting procedure can be varied by changing the tracking mode, |
* The fitting procedure can be varied by changing the tracking mode, |
778 |
* the fit-precision factor and the minimum number of step. |
* the fit-precision factor, the minimum number of step, etc. |
779 |
* @see SetTrackingMode(int) |
* @see SetTrackingMode(int) |
780 |
* @see SetPrecisionFactor(double) |
* @see SetPrecisionFactor(double) |
781 |
* @see SetStepMin(int) |
* @see SetStepMin(int) |
782 |
|
* @see SetDeltaB(int,double) |
783 |
*/ |
*/ |
784 |
void TrkTrack::Fit(double pfixed, int& fail, int iprint, int froml1){ |
void TrkTrack::Fit(double pfixed, int& fail, int iprint, int froml1){ |
785 |
|
|
882 |
track_.istepmin = istepmin; |
track_.istepmin = istepmin; |
883 |
} |
} |
884 |
/** |
/** |
885 |
|
* Set deltaB parameters (id=0,1). By default they are set to zero. |
886 |
|
*/ |
887 |
|
void TrkTrack::SetDeltaB(int id, double db){ |
888 |
|
if(id!=0 && id!=1)cout << "void TrkTrack::SetDeltaB(int id,double db) -- wrong input parameters: "<<id<<" "<<db<<endl; |
889 |
|
TrkParams::SetDeltaB(id,db); |
890 |
|
} |
891 |
|
|
892 |
|
/** |
893 |
* Returns 1 if the track is inside the magnet cavity |
* Returns 1 if the track is inside the magnet cavity |
894 |
* Set the minimum number of steps for tracking precision |
* Set the minimum number of steps for tracking precision |
895 |
*/ |
*/ |
1623 |
// path_.error = 0; |
// path_.error = 0; |
1624 |
// readb_(); |
// readb_(); |
1625 |
|
|
1626 |
TrkParams::SetTrackingMode(); |
// TrkParams::SetTrackingMode(); |
1627 |
TrkParams::SetPrecisionFactor(); |
// TrkParams::SetPrecisionFactor(); |
1628 |
TrkParams::SetStepMin(); |
// TrkParams::SetStepMin(); |
1629 |
|
TrkParams::SetMiniDefault(); |
1630 |
|
|
1631 |
TrkParams::Set(path,1); |
TrkParams::Set(path,1); |
1632 |
TrkParams::Load(1); |
TrkParams::Load(1); |