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

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

Detailed Description

TimePix pixel segment.

Constructor & Destructor Documentation

marlintpc::tp_PixelSegment::tp_PixelSegment ( const int  segId,
const int  level,
const double  Bzc,
macroPixelListType &  macroPixels 
)

Member Function Documentation

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.

Parameters
[in]refPosreference point (X coordinate)
[out]newParparameter vector
[out]newCovcovariance 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.

Parameters
[out]parhelix parameter (curvature is zero for Bz*c = 0.)

Referenced by match().

void marlintpc::tp_PixelSegment::getRefPoint ( double *  position) const

Get reference point.

Parameters
[out]positionposition 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.

Parameters
[in]segsegment to compare with
[in]chi2Cutchi2/ndf cut for segment matching
[in]distCutdistance cut
Returns
matching flag

References getCov(), getLength(), getPar(), getRefPoint(), and marlintpc::simpleHelix::getStateAt().


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