MyMarlinTPC  170316
Public Member Functions | Private Attributes | List of all members
marlintpc::tp_PixelRoad Class Reference

TimePix (macro) pixel road. More...

#include <TimePixLocalRoadSearchProcessor.h>

Public Member Functions

 tp_PixelRoad (macroPixelPairType, pixelBinListType &, const double *)
 Construct TimePix (macro) pixel road. More...
 
 ~tp_PixelRoad ()
 Destructor. More...
 
void print () const
 Print. More...
 
bool isValid () const
 Get validity flag. More...
 
int getNumPix () const
 Get (number of) pixels. More...
 
int getNumMPix () const
 Get (number of) pixels. More...
 
double getChi2 () const
 Get Chi2/Ndf. More...
 
macroPixelListType getMacroPixels () const
 Get macro pixels. More...
 

Private Attributes

const int _mpId1
 ID of macro pixel 1. More...
 
const int _mpId2
 ID of macro pixel 2. More...
 
bool _valid
 flag for valid road More...
 
int _numPix
 number of pixels in macro pixels More...
 
double _chi2ByNdf
 sum of chi2 / Ndf More...
 
std::vector< double > _sList
 arc length list More...
 
macroPixelListType _macroPixels
 macro pixel More...
 

Detailed Description

TimePix (macro) pixel road.

Definition at line 238 of file TimePixLocalRoadSearchProcessor.h.

Constructor & Destructor Documentation

◆ tp_PixelRoad()

marlintpc::tp_PixelRoad::tp_PixelRoad ( macroPixelPairType  mPixPair,
pixelBinListType pixelBins,
const double *  cuts 
)

Construct TimePix (macro) pixel road.

Parameters
[in]mPixPairseeding macro pixel pair
[in]pixelBinslist of pixel bins
[in]cutscuts (maxResXY, maxResZ, maxChi2, maxSvar, maxGap)

Definition at line 722 of file TimePixLocalRoadSearchProcessor.cc.

References _chi2ByNdf, _macroPixels, _numPix, _sList, and _valid.

◆ ~tp_PixelRoad()

marlintpc::tp_PixelRoad::~tp_PixelRoad ( )

Destructor.

Definition at line 801 of file TimePixLocalRoadSearchProcessor.cc.

References _macroPixels.

Member Function Documentation

◆ getChi2()

double marlintpc::tp_PixelRoad::getChi2 ( ) const

Get Chi2/Ndf.

Definition at line 828 of file TimePixLocalRoadSearchProcessor.cc.

References _chi2ByNdf.

Referenced by marlintpc::tp_PixelChip::findSegments().

◆ getMacroPixels()

macroPixelListType marlintpc::tp_PixelRoad::getMacroPixels ( ) const

Get macro pixels.

Definition at line 833 of file TimePixLocalRoadSearchProcessor.cc.

References _macroPixels.

Referenced by marlintpc::tp_PixelChip::findSegments().

◆ getNumMPix()

int marlintpc::tp_PixelRoad::getNumMPix ( ) const

Get (number of) pixels.

Definition at line 823 of file TimePixLocalRoadSearchProcessor.cc.

References _macroPixels.

Referenced by marlintpc::tp_PixelChip::findSegments().

◆ getNumPix()

int marlintpc::tp_PixelRoad::getNumPix ( ) const

Get (number of) pixels.

Definition at line 818 of file TimePixLocalRoadSearchProcessor.cc.

References _numPix.

◆ isValid()

bool marlintpc::tp_PixelRoad::isValid ( ) const

Get validity flag.

Definition at line 813 of file TimePixLocalRoadSearchProcessor.cc.

References _valid.

Referenced by marlintpc::tp_PixelChip::findSegments().

◆ print()

void marlintpc::tp_PixelRoad::print ( ) const

Print.

Definition at line 807 of file TimePixLocalRoadSearchProcessor.cc.

References _chi2ByNdf, _macroPixels, _mpId1, _mpId2, _numPix, and _valid.

Member Data Documentation

◆ _chi2ByNdf

double marlintpc::tp_PixelRoad::_chi2ByNdf
private

sum of chi2 / Ndf

Definition at line 254 of file TimePixLocalRoadSearchProcessor.h.

Referenced by getChi2(), print(), and tp_PixelRoad().

◆ _macroPixels

macroPixelListType marlintpc::tp_PixelRoad::_macroPixels
private

macro pixel

Definition at line 256 of file TimePixLocalRoadSearchProcessor.h.

Referenced by getMacroPixels(), getNumMPix(), print(), tp_PixelRoad(), and ~tp_PixelRoad().

◆ _mpId1

const int marlintpc::tp_PixelRoad::_mpId1
private

ID of macro pixel 1.

Definition at line 250 of file TimePixLocalRoadSearchProcessor.h.

Referenced by print().

◆ _mpId2

const int marlintpc::tp_PixelRoad::_mpId2
private

ID of macro pixel 2.

Definition at line 251 of file TimePixLocalRoadSearchProcessor.h.

Referenced by print().

◆ _numPix

int marlintpc::tp_PixelRoad::_numPix
private

number of pixels in macro pixels

Definition at line 253 of file TimePixLocalRoadSearchProcessor.h.

Referenced by getNumPix(), print(), and tp_PixelRoad().

◆ _sList

std::vector<double> marlintpc::tp_PixelRoad::_sList
private

arc length list

Definition at line 255 of file TimePixLocalRoadSearchProcessor.h.

Referenced by tp_PixelRoad().

◆ _valid

bool marlintpc::tp_PixelRoad::_valid
private

flag for valid road

Definition at line 252 of file TimePixLocalRoadSearchProcessor.h.

Referenced by isValid(), print(), and tp_PixelRoad().


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