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

TimePix pixel chip. More...

#include <TimePixLocalRoadSearchProcessor.h>

Public Member Functions

 tp_PixelChip (const int, pixelListType &, const int, const double)
 Construct TimePix (macro) pixel bin. More...
 
 ~tp_PixelChip ()
 Destructor.
 
void print () const
 Print.
 
int getId () const
 Get Id.
 
int getNumPix () const
 Get (number of) pixels.
 
int getNumMPix () const
 Get (number of) macro pixels.
 
int getNumBins () const
 Get (number of) pixels bins.
 
int findSegments (const double, const int *, const double *)
 Find segments. More...
 
pixelSegmentListType getPixelSegments () const
 

Detailed Description

TimePix pixel chip.

Constructor & Destructor Documentation

marlintpc::tp_PixelChip::tp_PixelChip ( const int  chipId,
pixelListType &  pixelList,
const int  mpSize,
const double  sigmaZ 
)

Construct TimePix (macro) pixel bin.

Parameters
[in]chipIdchipID
[in]pixelListlist of pixels
[in]mpSizemacro pixel size
[in]sigmaZresolution in Z

Member Function Documentation

int marlintpc::tp_PixelChip::findSegments ( const double  bfac,
const int *  iCuts,
const double *  dCuts 
)

Find segments.

Use pairs of macro pixels as seed for road search (in XY, SZ), take road with minimal Chi2

Parameters
[in]bfacBz*c
[in]iCuts(int) cuts for segment finding : (maxMult, minPixels, minDist)
[in]dCuts(double) cuts for segment finding : (maxResXY, maxResZ, maxChi2, maxSvar, maxGap)
Returns
number of segments found
  • maxMult: max. number of macro pixels in bin for seeds
  • minPixels: min. number of pixels for seeding macro pixel
  • minDist: min. distance of seeding pair in XY (in macro pixels)
  • maxResXY: max. XY residuum (distance perpendicular to seed (line), ~ macro pixel size)
  • maxResZ: max. Z residuum
  • maxChi2: max Chi2 from residuals and spread inside macro pixels
  • maxSvar: max. (rel.) variance in S of macro pixels (sparse track: up to 0.25, uniform: 1./12.)
  • maxGap: max. gap (in arclength)

References marlintpc::tp_PixelRoad::getChi2(), marlintpc::tp_PixelRoad::getMacroPixels(), marlintpc::tp_PixelRoad::getNumMPix(), and marlintpc::tp_PixelRoad::isValid().

Referenced by marlintpc::TimePixLocalRoadSearchProcessor::processEvent().


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