MarlinTPC
1.2.0
|
Row based doublet. More...
#include <RowTripletBasedTrackFinderProcessor.h>
Public Member Functions | |
rb_Doublet (rb_Hit *, rb_Hit *) | |
Construct row based doublet. More... | |
bool | match (rb_Hit *, const double, const double) const |
Match doublet with third hit. More... | |
rb_Hit * | getHit (const int) const |
Get hit. More... | |
void | getParameters (double &, double &, double &, double &, double &, double &, double &, double &, double &, double &) const |
Get parameters. More... | |
Row based doublet.
Is interpolation from outer hits (of triplet candidate). Has a position (with covariance) and (track and measurement) directions determined from first and last hit in XY and ZS.
Construct row based doublet.
[in] | hit1 | first hit |
[in] | hit2 | second hit |
References marlintpc::rb_Hit::getPhiMeas(), marlintpc::rb_Hit::getPos(), marlintpc::rb_Hit::getVarXY(), and marlintpc::rb_Hit::getVarZ().
rb_Hit * marlintpc::rb_Doublet::getHit | ( | const int | ihit | ) | const |
void marlintpc::rb_Doublet::getParameters | ( | double & | x, |
double & | y, | ||
double & | z, | ||
double & | phiMeas, | ||
double & | phi, | ||
double & | dzds, | ||
double & | ds, | ||
double & | cosb, | ||
double & | varXY, | ||
double & | varZ | ||
) | const |
Get parameters.
[out] | x | x position |
[out] | y | y position |
[out] | z | z position |
[out] | phiMeas | XY measurement direction |
[out] | phi | XY direction |
[out] | dzds | ZS slope |
[out] | ds | (arc) length |
[out] | cosb | cos(beta) (angle between measurement and normal to flight direction in XY) |
[out] | varXY | (combined) XY variance |
[out] | varZ | (combined) Z variance |
Referenced by marlintpc::rb_Triplet::rb_Triplet().
bool marlintpc::rb_Doublet::match | ( | rb_Hit * | hit, |
const double | distCut, | ||
const double | chi2Cut | ||
) | const |
Match doublet with third hit.
[in] | hit | (third) hit |
[in] | distCut | coarse distance cut |
[in] | chi2Cut | chi2 cut |
References marlintpc::rb_Hit::getDistXY(), marlintpc::rb_Hit::getDistZ(), marlintpc::rb_Hit::getVarXY(), and marlintpc::rb_Hit::getVarZ().
Referenced by marlintpc::RowTripletBasedTrackFinderProcessor::processEvent().