MarlinTPC
1.2.0
|
Row based hit. More...
#include <RowTripletBasedTrackFinderProcessor.h>
Public Member Functions | |
rb_Hit (const int iHit, const int mod, const int row, const EVENT::TrackerHit &aHit) | |
Construct row based hit. More... | |
void | print () const |
Print. | |
int | getHitNum () const |
Get index to input hit collection. | |
int | getMod () const |
Get module number. | |
int | getRow () const |
Get row number. | |
double | getX () const |
Get X coordinate. | |
double | getY () const |
Get Y coordinate. | |
double | getZ () const |
Get Z coordinate. | |
void | getPos (double *) const |
Get position. More... | |
double | getVarXY (const double=0.) const |
Get XY variance. More... | |
double | getVarZ (const double=0.) const |
Get Z variance. More... | |
double | getPhiMeas () const |
Get XY measurement direction. | |
bool | getUsed () const |
Get use flag. | |
void | setUsed (const double) |
Set use flag. More... | |
double | getCosBeta () const |
Get cos(beta). | |
double | getDistXY (const double, const double, const double, const double) const |
Get distance to point in XY (along direction) More... | |
double | getDistZ (const double) const |
Get distance to point in Z. More... | |
Row based hit.
Has identification and measurements with directions and errors.
marlintpc::rb_Hit::rb_Hit | ( | const int | iHit, |
const int | mod, | ||
const int | row, | ||
const EVENT::TrackerHit & | aHit | ||
) |
Construct row based hit.
[in] | iHit | index in input hit collection |
[in] | mod | module number |
[in] | row | row number |
[in] | aHit | TPC hit |
double marlintpc::rb_Hit::getDistXY | ( | const double | x, |
const double | y, | ||
const double | ex, | ||
const double | ey | ||
) | const |
Get distance to point in XY (along direction)
[in] | x | x position |
[in] | y | y position |
[in] | ex | x direction |
[in] | ey | y direction |
Referenced by marlintpc::rb_Doublet::match().
double marlintpc::rb_Hit::getDistZ | ( | const double | z | ) | const |
Get distance to point in Z.
[in] | z | z position |
Referenced by marlintpc::rb_Doublet::match().
void marlintpc::rb_Hit::getPos | ( | double * | position | ) | const |
Get position.
[out] | position | position |
Referenced by marlintpc::rb_Segment::match(), and marlintpc::rb_Doublet::rb_Doublet().
double marlintpc::rb_Hit::getVarXY | ( | const double | der2 = 0. | ) | const |
Get XY variance.
[in] | der2 | derivative (dxy/dr) squared |
Referenced by marlintpc::rb_Doublet::match(), marlintpc::rb_Segment::match(), and marlintpc::rb_Doublet::rb_Doublet().
double marlintpc::rb_Hit::getVarZ | ( | const double | der2 = 0. | ) | const |
Get Z variance.
[in] | der2 | derivative (dz/dr) squared |
Referenced by marlintpc::rb_Doublet::match(), marlintpc::rb_Segment::match(), and marlintpc::rb_Doublet::rb_Doublet().
void marlintpc::rb_Hit::setUsed | ( | const double | cosb = 1. | ) |
Set use flag.
[in] | cosb | cos(beta) |
Referenced by marlintpc::rb_Segment::addHit(), and marlintpc::rb_Segment::rb_Segment().