MarlinTPC
1.2.0
|
Simple fit in ZS. More...
#include <SimpleHelixTrackModel.h>
Public Member Functions | |
simpleFitZS () | |
Constructor for simple fit in ZS. | |
void | addPoint (double, double, double) |
Add point. More... | |
int | fit (double &, int &) |
Perform fit. More... | |
TVectorD | getPar () const |
Get parameters vector. More... | |
TMatrixDSym | getCov () const |
Get covariance matrix. More... | |
Simple fit in ZS.
Fit straight line.
void marlintpc::simpleFitZS::addPoint | ( | double | x, |
double | y, | ||
double | w | ||
) |
Add point.
[in] | x | arc-length S of point |
[in] | y | Z of point |
[in] | w | weight of point |
Referenced by marlintpc::tp_PixelSegment::tp_PixelSegment().
int marlintpc::simpleFitZS::fit | ( | double & | Chi2, |
int & | nPoints | ||
) |
Perform fit.
[out] | Chi2 | chi2 of fit |
[out] | nPoints | number of points |
Referenced by marlintpc::tp_PixelSegment::tp_PixelSegment().
TMatrixDSym marlintpc::simpleFitZS::getCov | ( | ) | const |
Get covariance matrix.
Referenced by marlintpc::tp_PixelSegment::tp_PixelSegment().
TVectorD marlintpc::simpleFitZS::getPar | ( | ) | const |
Get parameters vector.
Referenced by marlintpc::tp_PixelSegment::tp_PixelSegment().