27 Lutz(
unsigned int n,
unsigned int N);
54 void Fit(
double *
a,
double*
b,
double* alpha,
double*
chi2);
59 double Chi2XIi(
unsigned int i)
const;
79 double X(
double z)
const;
92 std::vector<double>
fz;
94 std::vector<double>
fwx;
95 std::vector<double>
fZ;
97 std::vector< std::vector<double> >
fZeta;
103 std::vector<double>
fx;
TMatrixTSym< double > fAinv
System of equations, Eqn. 29.
std::vector< double > fz
Measurement plane longitudinal locations.
double Chi2XIi(unsigned int i) const
After fit, contribution to chi^2 of the ith measurement.
void SetScatteringPlane(unsigned int j, double Z, double sigSJ)
Set Z location of a scattering plane j.
void SetMeasurement(unsigned int i, double z, double x, double sigx)
Add measurements.
Lutz(unsigned int n, unsigned int N)
Construct a fitter for n measurements and N scattering planes.
std::vector< double > fZ
Location of scattering planes.
unsigned int fn
Number of measurements.
double fa
Fitted intercept.
double X(double z) const
After fit, best-fit x location of track at location z.
void Fit(double *a, double *b, double *alpha, double *chi2)
Do the fit.
Break-point track fitter.
TMatrixT< double > fD
Eqn. 31.
TVectorT< double > fXI
Measurements in transverse location.
std::vector< double > fwx
Measurement weight (1/sigx^2)
std::vector< double > fwSJ
Scattering angle weight (1/sigSJ^2)
double Chi2BetaJ(unsigned int j) const
After fit, contribution to chi^2 of the jth scattering plane.
std::vector< double > fAlpha
Fitted scatters.
std::vector< std::vector< double > > fZeta
measurement-scattering plane distances
unsigned int fN
Number of scattering planes.
std::vector< double > fx
Fitted track locations.