MarlinTPC  1.2.0
Public Member Functions | List of all members
marlintpc::rb_Hit Class Reference

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...
 

Detailed Description

Row based hit.

Has identification and measurements with directions and errors.

Constructor & Destructor Documentation

marlintpc::rb_Hit::rb_Hit ( const int  iHit,
const int  mod,
const int  row,
const EVENT::TrackerHit &  aHit 
)

Construct row based hit.

Parameters
[in]iHitindex in input hit collection
[in]modmodule number
[in]rowrow number
[in]aHitTPC hit

Member Function Documentation

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)

Parameters
[in]xx position
[in]yy position
[in]exx direction
[in]eyy direction

Referenced by marlintpc::rb_Doublet::match().

double marlintpc::rb_Hit::getDistZ ( const double  z) const

Get distance to point in Z.

Parameters
[in]zz position

Referenced by marlintpc::rb_Doublet::match().

void marlintpc::rb_Hit::getPos ( double *  position) const

Get position.

Parameters
[out]positionposition

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.

Parameters
[in]der2derivative (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.

Parameters
[in]der2derivative (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.

Parameters
[in]cosbcos(beta)

Referenced by marlintpc::rb_Segment::addHit(), and marlintpc::rb_Segment::rb_Segment().


The documentation for this class was generated from the following files: