MarlinTPC
1.2.0
|
TimePix pixel segment. More...
#include <TimePixLocalRoadSearchProcessor.h>
Public Member Functions | |
tp_PixelSegment (const int, const int, const double, macroPixelListType &) | |
Construct TimePix pixel segment. More... | |
~tp_PixelSegment () | |
Destructor. | |
void | print () const |
Print. | |
int | getNumPar () const |
Get number of parameters. | |
int | getLevel () const |
Get level. | |
double | getChi2 () const |
Get Chi2/Ndf. | |
int | getNdf () const |
Get Chi2/Ndf. | |
double | getLength () const |
Get length. | |
void | getRefPoint (double *) const |
Get reference point. More... | |
void | getPar (double *) const |
Get (all five helix) parameters from segment fit. More... | |
const TVectorD & | getPar () const |
Get parameter vector. | |
const TMatrixDSym & | getCov () const |
Get covariance matrix. | |
bool | match (tp_PixelSegment *, const double, const double) const |
Compare the (4 (line) or 5 (helix)) track parameters (at the mid point). More... | |
macroPixelListType | getMacroPixels () const |
Get macro pixels. | |
void | getLCIOStateAtRefPoint (const double *, TVectorD &, TMatrixDSym &) const |
Get segment state at reference point. More... | |
TimePix pixel segment.
marlintpc::tp_PixelSegment::tp_PixelSegment | ( | const int | segId, |
const int | level, | ||
const double | Bzc, | ||
macroPixelListType & | macroPixels | ||
) |
Construct TimePix pixel segment.
[in] | segId | segment ID |
[in] | level | level |
[in] | Bzc | Bz*c |
[in] | macroPixels | list of macro pixels |
int nParZS;
References marlintpc::simpleFitXY::addPoint(), marlintpc::simpleFitZS::addPoint(), marlintpc::simpleFitXY::fit(), marlintpc::simpleFitZS::fit(), marlintpc::simpleHelix::getArcLengthXY(), marlintpc::simpleFitXY::getCov(), marlintpc::simpleFitZS::getCov(), marlintpc::simpleFitXY::getPar(), and marlintpc::simpleFitZS::getPar().
void marlintpc::tp_PixelSegment::getLCIOStateAtRefPoint | ( | const double * | refPos, |
TVectorD & | newPar, | ||
TMatrixDSym & | newCov | ||
) | const |
Get segment state at reference point.
Propagate track state at point and transform from helix to LCIO representation.
[in] | refPos | reference point (X coordinate) |
[out] | newPar | parameter vector |
[out] | newCov | covariance matrix |
References getCov(), getPar(), getRefPoint(), marlintpc::simpleHelix::getStateAt(), and marlintpc::simpleHelix::helixToLCIOJacobian().
void marlintpc::tp_PixelSegment::getPar | ( | double * | par | ) | const |
Get (all five helix) parameters from segment fit.
[out] | par | helix parameter (curvature is zero for Bz*c = 0.) |
Referenced by match().
void marlintpc::tp_PixelSegment::getRefPoint | ( | double * | position | ) | const |
Get reference point.
[out] | position | position of reference point |
Referenced by getLCIOStateAtRefPoint(), and match().
bool marlintpc::tp_PixelSegment::match | ( | tp_PixelSegment * | seg, |
const double | chi2Cut, | ||
const double | distCut | ||
) | const |
Compare the (4 (line) or 5 (helix)) track parameters (at the mid point).
The segments must not overlap (in rows) and the (row) gap must be smaller than the average length.
[in] | seg | segment to compare with |
[in] | chi2Cut | chi2/ndf cut for segment matching |
[in] | distCut | distance cut |
References getCov(), getLength(), getPar(), getRefPoint(), and marlintpc::simpleHelix::getStateAt().