|
MarlinTPC
1.2.0
|
Simple fit in XY. More...
#include <SimpleHelixTrackModel.h>
Public Member Functions | |
| simpleFitXY (bool, double, double) | |
| Constructor for simple fit in XY. More... | |
| void | addPoint (double, double, double) |
| Add point. More... | |
| void | addTrack (EVENT::Track const *) |
| add a complete Track. 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 XY.
Fit circle (Karimaki) or straight line.
| marlintpc::simpleFitXY::simpleFitXY | ( | bool | flag, |
| double | xr, | ||
| double | yr | ||
| ) |
Constructor for simple fit in XY.
| [in] | flag | curvature flag (true: circle, false: line) |
| [in] | xr | X of reference point |
| [in] | yr | Y of reference point |
| void marlintpc::simpleFitXY::addPoint | ( | double | x, |
| double | y, | ||
| double | w | ||
| ) |
Add point.
| [in] | x | X of point |
| [in] | y | Y of point |
| [in] | w | weight of point |
Referenced by addTrack(), and marlintpc::tp_PixelSegment::tp_PixelSegment().
| void marlintpc::simpleFitXY::addTrack | ( | EVENT::Track const * | seedTrack | ) |
| int marlintpc::simpleFitXY::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::simpleFitXY::getCov | ( | ) | const |
Get covariance matrix.
Referenced by marlintpc::tp_PixelSegment::tp_PixelSegment().
| TVectorD marlintpc::simpleFitXY::getPar | ( | ) | const |
Get parameters vector.
Referenced by marlintpc::tp_PixelSegment::tp_PixelSegment().
1.8.6