Package org.jlab.rec.cvt.fit
Class CosmicFitter
java.lang.Object
org.jlab.rec.cvt.fit.CosmicFitter
A fitter which does sequential fit (for x, y coordinates) and then (for r, z
coordinates) to a line using LineFitter.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Status of the HelicalTrackFit -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfit
(List<Double> X, List<Double> Y, List<Double> Z, List<Double> Y_prime, List<Double> errRt, List<Double> errY_prime, List<Double> errZ) Does fit to 2 sets of inputs : circle fit to array X[i] Y[i] and line fit to array Y_prime[j] Z[j]fit2
(List<Double> X, List<Double> Y, List<Double> Z, List<Double> Rho, List<Double> errRt, List<Double> errRho, List<Double> ErrZ) getray()
void
void
setrayfitoutput
(CosmicFitPars _rayfitoutput)
-
Constructor Details
-
CosmicFitter
public CosmicFitter()Creates a new instance of HelicalTrackFitter.
-
-
Method Details
-
fit
public CosmicFitter.FitStatus fit(List<Double> X, List<Double> Y, List<Double> Z, List<Double> Y_prime, List<Double> errRt, List<Double> errY_prime, List<Double> errZ) Does fit to 2 sets of inputs : circle fit to array X[i] Y[i] and line fit to array Y_prime[j] Z[j]- Parameters:
X
- array iY
- array iZ
- array jY_prime
- array jerrRt
- error on XYerrY_prime
- error on Y_primeerrZ
- array j- Returns:
-
fit2
-
getray
-
setray
-
getrayfitoutput
-
setrayfitoutput
-