MyMarlinTPC
170316
|
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... | |
Private Attributes | |
rb_Hit * | _hit [2] |
pointers to hits More... | |
double | _phiMeas |
measurement direction in XY (tangential to row) More... | |
double | _cosPhi |
cos(_hitPhiMeas) More... | |
double | _sinPhi |
sin(_hitPhiMeas) More... | |
double | _xav |
average X coordinate More... | |
double | _yav |
average Y coordinate More... | |
double | _zav |
average Z coordinate More... | |
double | _phi |
XY direction. More... | |
double | _tanl |
slope in ZS More... | |
double | _length |
(arc) length More... | |
double | _cosb |
cos(beta) More... | |
double | _der2XY |
(dxy/dr)^2 More... | |
double | _der2Z |
(z/dr)^2 More... | |
double | _varXY |
variance in XY More... | |
double | _varZ |
variance in Z 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.
Definition at line 176 of file RowTripletBasedTrackFinderProcessor.h.
Construct row based doublet.
[in] | hit1 | first hit |
[in] | hit2 | second hit |
Definition at line 626 of file RowTripletBasedTrackFinderProcessor.cc.
References marlintpc::rb_Hit::_cosb, 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 |
Get hit.
[in] | ihit | hit index |
Definition at line 717 of file RowTripletBasedTrackFinderProcessor.cc.
Referenced by marlintpc::rb_Triplet::rb_Triplet().
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 |
Definition at line 698 of file RowTripletBasedTrackFinderProcessor.cc.
References marlintpc::rb_Hit::_cosb.
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 |
Definition at line 671 of file RowTripletBasedTrackFinderProcessor.cc.
References marlintpc::rb_Hit::getDistXY(), marlintpc::rb_Hit::getDistZ(), marlintpc::rb_Hit::getVarXY(), and marlintpc::rb_Hit::getVarZ().
Referenced by marlintpc::RowTripletBasedTrackFinderProcessor::processEvent().
|
private |
cos(beta)
Definition at line 194 of file RowTripletBasedTrackFinderProcessor.h.
|
private |
cos(_hitPhiMeas)
Definition at line 186 of file RowTripletBasedTrackFinderProcessor.h.
|
private |
(dxy/dr)^2
Definition at line 195 of file RowTripletBasedTrackFinderProcessor.h.
|
private |
(z/dr)^2
Definition at line 196 of file RowTripletBasedTrackFinderProcessor.h.
|
private |
pointers to hits
Definition at line 184 of file RowTripletBasedTrackFinderProcessor.h.
|
private |
(arc) length
Definition at line 193 of file RowTripletBasedTrackFinderProcessor.h.
|
private |
XY direction.
Definition at line 191 of file RowTripletBasedTrackFinderProcessor.h.
|
private |
measurement direction in XY (tangential to row)
Definition at line 185 of file RowTripletBasedTrackFinderProcessor.h.
|
private |
sin(_hitPhiMeas)
Definition at line 187 of file RowTripletBasedTrackFinderProcessor.h.
|
private |
slope in ZS
Definition at line 192 of file RowTripletBasedTrackFinderProcessor.h.
|
private |
variance in XY
Definition at line 197 of file RowTripletBasedTrackFinderProcessor.h.
|
private |
variance in Z
Definition at line 198 of file RowTripletBasedTrackFinderProcessor.h.
|
private |
average X coordinate
Definition at line 188 of file RowTripletBasedTrackFinderProcessor.h.
|
private |
average Y coordinate
Definition at line 189 of file RowTripletBasedTrackFinderProcessor.h.
|
private |
average Z coordinate
Definition at line 190 of file RowTripletBasedTrackFinderProcessor.h.