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

TimePix pixel. More...

#include <TimePixLocalRoadSearchProcessor.h>

Public Member Functions

 tp_Pixel (const int iHit, const EVENT::TrackerHit &aHit, const double xOffset, const double yOffset)
 Construct TimePix pixel. More...
 
void print () const
 Print. More...
 
int getHitNum () const
 Get index to input hit collection. More...
 
int getChip () const
 Get chip number. More...
 
int getRow () const
 Get row number. More...
 
int getCol () const
 Get column number. More...
 
double getX () const
 Get X coordinate. More...
 
double getY () const
 Get Y coordinate. More...
 
double getZ () const
 Get Z coordinate. More...
 
void getPos (double *) const
 Get position. More...
 
double getSigma2XY () const
 Get XY variance. More...
 
double getSigma2Z () const
 Get Z variance. More...
 
double getArcLength () const
 Get arc length. More...
 
bool getUsed () const
 Get use flag. More...
 
void setUsed ()
 Set use flag. More...
 
void setArcLength (const double)
 Set arc length. More...
 

Private Attributes

const int _hitNum
 input hit collection index More...
 
const int _chipNum
 chip number More...
 
const int _rowNum
 row number More...
 
const int _colNum
 column number More...
 
const double _posX
 X position. More...
 
const double _posY
 Y position. More...
 
const double _posZ
 Z position. More...
 
const double _sigma2XY
 resolution (squared) for XY measurement More...
 
const double _sigma2Z
 resolution (squared) for Z measurement More...
 
bool _used
 used flag More...
 
double _sarc
 arc length (from segment fitting) More...
 

Detailed Description

TimePix pixel.

Definition at line 132 of file TimePixLocalRoadSearchProcessor.h.

Constructor & Destructor Documentation

◆ tp_Pixel()

marlintpc::tp_Pixel::tp_Pixel ( const int  iHit,
const EVENT::TrackerHit &  aHit,
const double  xOffset,
const double  yOffset 
)

Construct TimePix pixel.

Parameters
[in]iHitindex in input hit collection
[in]aHitTPC hit
[in]xOffsetoffset in x of (local) coordinate system
[in]yOffsetoffset in y of (local) coordinate system

Definition at line 351 of file TimePixLocalRoadSearchProcessor.cc.

Member Function Documentation

◆ getArcLength()

double marlintpc::tp_Pixel::getArcLength ( ) const

Get arc length.

Definition at line 424 of file TimePixLocalRoadSearchProcessor.cc.

References _sarc.

◆ getChip()

int marlintpc::tp_Pixel::getChip ( ) const

Get chip number.

Definition at line 369 of file TimePixLocalRoadSearchProcessor.cc.

References _chipNum.

◆ getCol()

int marlintpc::tp_Pixel::getCol ( ) const

Get column number.

Definition at line 379 of file TimePixLocalRoadSearchProcessor.cc.

References _colNum.

◆ getHitNum()

int marlintpc::tp_Pixel::getHitNum ( ) const

Get index to input hit collection.

Definition at line 364 of file TimePixLocalRoadSearchProcessor.cc.

References _hitNum.

◆ getPos()

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

Get position.

Parameters
[out]positionposition

Definition at line 402 of file TimePixLocalRoadSearchProcessor.cc.

References _posX, _posY, and _posZ.

◆ getRow()

int marlintpc::tp_Pixel::getRow ( ) const

Get row number.

Definition at line 374 of file TimePixLocalRoadSearchProcessor.cc.

References _rowNum.

◆ getSigma2XY()

double marlintpc::tp_Pixel::getSigma2XY ( ) const

Get XY variance.

Definition at line 409 of file TimePixLocalRoadSearchProcessor.cc.

References _sigma2XY.

◆ getSigma2Z()

double marlintpc::tp_Pixel::getSigma2Z ( ) const

Get Z variance.

Definition at line 414 of file TimePixLocalRoadSearchProcessor.cc.

References _sigma2Z.

◆ getUsed()

bool marlintpc::tp_Pixel::getUsed ( ) const

Get use flag.

Definition at line 419 of file TimePixLocalRoadSearchProcessor.cc.

References _used.

◆ getX()

double marlintpc::tp_Pixel::getX ( ) const

Get X coordinate.

Definition at line 384 of file TimePixLocalRoadSearchProcessor.cc.

References _posX.

◆ getY()

double marlintpc::tp_Pixel::getY ( ) const

Get Y coordinate.

Definition at line 389 of file TimePixLocalRoadSearchProcessor.cc.

References _posY.

◆ getZ()

double marlintpc::tp_Pixel::getZ ( ) const

Get Z coordinate.

Definition at line 394 of file TimePixLocalRoadSearchProcessor.cc.

References _posZ.

◆ print()

void marlintpc::tp_Pixel::print ( ) const

Print.

Definition at line 358 of file TimePixLocalRoadSearchProcessor.cc.

References _chipNum, _colNum, _hitNum, _posX, _posY, _posZ, _rowNum, _sigma2XY, and _sigma2Z.

◆ setArcLength()

void marlintpc::tp_Pixel::setArcLength ( const double  sArc)

Set arc length.

Definition at line 434 of file TimePixLocalRoadSearchProcessor.cc.

References _sarc.

◆ setUsed()

void marlintpc::tp_Pixel::setUsed ( )

Set use flag.

Definition at line 429 of file TimePixLocalRoadSearchProcessor.cc.

References _used.

Member Data Documentation

◆ _chipNum

const int marlintpc::tp_Pixel::_chipNum
private

chip number

Definition at line 153 of file TimePixLocalRoadSearchProcessor.h.

Referenced by getChip(), and print().

◆ _colNum

const int marlintpc::tp_Pixel::_colNum
private

column number

Definition at line 155 of file TimePixLocalRoadSearchProcessor.h.

Referenced by getCol(), and print().

◆ _hitNum

const int marlintpc::tp_Pixel::_hitNum
private

input hit collection index

Definition at line 152 of file TimePixLocalRoadSearchProcessor.h.

Referenced by getHitNum(), and print().

◆ _posX

const double marlintpc::tp_Pixel::_posX
private

X position.

Definition at line 156 of file TimePixLocalRoadSearchProcessor.h.

Referenced by getPos(), getX(), and print().

◆ _posY

const double marlintpc::tp_Pixel::_posY
private

Y position.

Definition at line 157 of file TimePixLocalRoadSearchProcessor.h.

Referenced by getPos(), getY(), and print().

◆ _posZ

const double marlintpc::tp_Pixel::_posZ
private

Z position.

Definition at line 158 of file TimePixLocalRoadSearchProcessor.h.

Referenced by getPos(), getZ(), and print().

◆ _rowNum

const int marlintpc::tp_Pixel::_rowNum
private

row number

Definition at line 154 of file TimePixLocalRoadSearchProcessor.h.

Referenced by getRow(), and print().

◆ _sarc

double marlintpc::tp_Pixel::_sarc
private

arc length (from segment fitting)

Definition at line 162 of file TimePixLocalRoadSearchProcessor.h.

Referenced by getArcLength(), and setArcLength().

◆ _sigma2XY

const double marlintpc::tp_Pixel::_sigma2XY
private

resolution (squared) for XY measurement

Definition at line 159 of file TimePixLocalRoadSearchProcessor.h.

Referenced by getSigma2XY(), and print().

◆ _sigma2Z

const double marlintpc::tp_Pixel::_sigma2Z
private

resolution (squared) for Z measurement

Definition at line 160 of file TimePixLocalRoadSearchProcessor.h.

Referenced by getSigma2Z(), and print().

◆ _used

bool marlintpc::tp_Pixel::_used
private

used flag

Definition at line 161 of file TimePixLocalRoadSearchProcessor.h.

Referenced by getUsed(), and setUsed().


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