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

TimePix macro pixel. More...

#include <TimePixLocalRoadSearchProcessor.h>

Public Member Functions

 tp_MacroPixel (const int, pixelListType &, const int)
 Construct TimePix macro pixel. More...
 
 ~tp_MacroPixel ()
 Destructor. More...
 
void print () const
 Print. More...
 
int getId () const
 Get Id. More...
 
int getSize () const
 Get size. More...
 
int getEntries () const
 Get (number of) entries. More...
 
int getRow () const
 Get row number. More...
 
int getCol () const
 Get column number. More...
 
double getX () const
 Get X-position. More...
 
double getY () const
 Get Y-position. More...
 
double getZ () const
 
void getPos (double *) const
 Get position. More...
 
double getVarXY (const double, const double) const
 Get XY variance. More...
 
double getVarZ () const
 Get Z variance. More...
 
double getSigma2XY () const
 Get XY resolution (squared). More...
 
double getSigma2Z () const
 Get Z resolution (squared). More...
 
bool getUsed () const
 Get use flag. More...
 
void setUsed ()
 Set use flag. More...
 
pixelListType getPixels () const
 Get pixels. More...
 

Private Attributes

const int _mpId
 ID (row/col bin: z bin) More...
 
const int _size
 size More...
 
const int _entries
 entries More...
 
pixelListType _pixels
 pixels More...
 
bool _used
 used flag More...
 
double _posX
 X position. More...
 
double _posY
 Y position. More...
 
double _posZ
 Z position. More...
 
double _varXX
 variance XX More...
 
double _varXY
 variance XY More...
 
double _varYY
 variance YY More...
 
double _varZZ
 variance ZZ More...
 
double _sigma2XY
 resolution (squared) for XY measurement More...
 
double _sigma2Z
 resolution (squared) for Z measurement More...
 
int _locRow
 local row More...
 
int _locCol
 local col More...
 

Detailed Description

TimePix macro pixel.

Definition at line 170 of file TimePixLocalRoadSearchProcessor.h.

Constructor & Destructor Documentation

◆ tp_MacroPixel()

marlintpc::tp_MacroPixel::tp_MacroPixel ( const int  mpId,
pixelListType pixelList,
const int  mpSize 
)

Construct TimePix macro pixel.

Parameters
[in]mpIdmacro pixel ID
[in]pixelListlist of pixels
[in]mpSizemacro pixel size

Definition at line 444 of file TimePixLocalRoadSearchProcessor.cc.

References _entries, _locCol, _locRow, _pixels, _posX, _posY, _posZ, _sigma2XY, _sigma2Z, _varXX, _varXY, _varYY, and _varZZ.

◆ ~tp_MacroPixel()

marlintpc::tp_MacroPixel::~tp_MacroPixel ( )

Destructor.

Definition at line 486 of file TimePixLocalRoadSearchProcessor.cc.

References _pixels.

Member Function Documentation

◆ getCol()

int marlintpc::tp_MacroPixel::getCol ( ) const

Get column number.

Definition at line 518 of file TimePixLocalRoadSearchProcessor.cc.

References _locCol.

◆ getEntries()

int marlintpc::tp_MacroPixel::getEntries ( ) const

Get (number of) entries.

Definition at line 508 of file TimePixLocalRoadSearchProcessor.cc.

References _entries.

◆ getId()

int marlintpc::tp_MacroPixel::getId ( ) const

Get Id.

Definition at line 498 of file TimePixLocalRoadSearchProcessor.cc.

References _mpId.

◆ getPixels()

pixelListType marlintpc::tp_MacroPixel::getPixels ( ) const

Get pixels.

Definition at line 573 of file TimePixLocalRoadSearchProcessor.cc.

References _pixels.

◆ getPos()

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

Get position.

Parameters
[out]positionposition

Definition at line 546 of file TimePixLocalRoadSearchProcessor.cc.

References _posX, _posY, and _posZ.

◆ getRow()

int marlintpc::tp_MacroPixel::getRow ( ) const

Get row number.

Definition at line 513 of file TimePixLocalRoadSearchProcessor.cc.

References _locRow.

◆ getSigma2XY()

double marlintpc::tp_MacroPixel::getSigma2XY ( ) const

Get XY resolution (squared).

Definition at line 523 of file TimePixLocalRoadSearchProcessor.cc.

References _sigma2XY.

◆ getSigma2Z()

double marlintpc::tp_MacroPixel::getSigma2Z ( ) const

Get Z resolution (squared).

Definition at line 528 of file TimePixLocalRoadSearchProcessor.cc.

References _sigma2Z.

◆ getSize()

int marlintpc::tp_MacroPixel::getSize ( ) const

Get size.

Definition at line 503 of file TimePixLocalRoadSearchProcessor.cc.

References _size.

◆ getUsed()

bool marlintpc::tp_MacroPixel::getUsed ( ) const

Get use flag.

Definition at line 563 of file TimePixLocalRoadSearchProcessor.cc.

References _used.

◆ getVarXY()

double marlintpc::tp_MacroPixel::getVarXY ( const double  ex,
const double  ey 
) const

Get XY variance.

Definition at line 553 of file TimePixLocalRoadSearchProcessor.cc.

References _varXX, _varXY, and _varYY.

◆ getVarZ()

double marlintpc::tp_MacroPixel::getVarZ ( ) const

Get Z variance.

Definition at line 558 of file TimePixLocalRoadSearchProcessor.cc.

References _varZZ.

◆ getX()

double marlintpc::tp_MacroPixel::getX ( ) const

Get X-position.

Definition at line 533 of file TimePixLocalRoadSearchProcessor.cc.

References _posX.

◆ getY()

double marlintpc::tp_MacroPixel::getY ( ) const

Get Y-position.

Definition at line 538 of file TimePixLocalRoadSearchProcessor.cc.

References _posY.

◆ getZ()

double marlintpc::tp_MacroPixel::getZ ( ) const

◆ print()

void marlintpc::tp_MacroPixel::print ( ) const

Print.

Definition at line 492 of file TimePixLocalRoadSearchProcessor.cc.

References _entries, _locCol, _locRow, _mpId, _posX, _posY, _posZ, _varXX, _varXY, _varYY, and _varZZ.

◆ setUsed()

void marlintpc::tp_MacroPixel::setUsed ( )

Set use flag.

Definition at line 568 of file TimePixLocalRoadSearchProcessor.cc.

References _used.

Member Data Documentation

◆ _entries

const int marlintpc::tp_MacroPixel::_entries
private

entries

Definition at line 195 of file TimePixLocalRoadSearchProcessor.h.

Referenced by getEntries(), print(), and tp_MacroPixel().

◆ _locCol

int marlintpc::tp_MacroPixel::_locCol
private

local col

Definition at line 208 of file TimePixLocalRoadSearchProcessor.h.

Referenced by getCol(), print(), and tp_MacroPixel().

◆ _locRow

int marlintpc::tp_MacroPixel::_locRow
private

local row

Definition at line 207 of file TimePixLocalRoadSearchProcessor.h.

Referenced by getRow(), print(), and tp_MacroPixel().

◆ _mpId

const int marlintpc::tp_MacroPixel::_mpId
private

ID (row/col bin: z bin)

Definition at line 193 of file TimePixLocalRoadSearchProcessor.h.

Referenced by getId(), and print().

◆ _pixels

pixelListType marlintpc::tp_MacroPixel::_pixels
private

pixels

Definition at line 196 of file TimePixLocalRoadSearchProcessor.h.

Referenced by getPixels(), tp_MacroPixel(), and ~tp_MacroPixel().

◆ _posX

double marlintpc::tp_MacroPixel::_posX
private

X position.

Definition at line 198 of file TimePixLocalRoadSearchProcessor.h.

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

◆ _posY

double marlintpc::tp_MacroPixel::_posY
private

Y position.

Definition at line 199 of file TimePixLocalRoadSearchProcessor.h.

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

◆ _posZ

double marlintpc::tp_MacroPixel::_posZ
private

Z position.

Definition at line 200 of file TimePixLocalRoadSearchProcessor.h.

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

◆ _sigma2XY

double marlintpc::tp_MacroPixel::_sigma2XY
private

resolution (squared) for XY measurement

Definition at line 205 of file TimePixLocalRoadSearchProcessor.h.

Referenced by getSigma2XY(), and tp_MacroPixel().

◆ _sigma2Z

double marlintpc::tp_MacroPixel::_sigma2Z
private

resolution (squared) for Z measurement

Definition at line 206 of file TimePixLocalRoadSearchProcessor.h.

Referenced by getSigma2Z(), and tp_MacroPixel().

◆ _size

const int marlintpc::tp_MacroPixel::_size
private

size

Definition at line 194 of file TimePixLocalRoadSearchProcessor.h.

Referenced by getSize().

◆ _used

bool marlintpc::tp_MacroPixel::_used
private

used flag

Definition at line 197 of file TimePixLocalRoadSearchProcessor.h.

Referenced by getUsed(), and setUsed().

◆ _varXX

double marlintpc::tp_MacroPixel::_varXX
private

variance XX

Definition at line 201 of file TimePixLocalRoadSearchProcessor.h.

Referenced by getVarXY(), print(), and tp_MacroPixel().

◆ _varXY

double marlintpc::tp_MacroPixel::_varXY
private

variance XY

Definition at line 202 of file TimePixLocalRoadSearchProcessor.h.

Referenced by getVarXY(), print(), and tp_MacroPixel().

◆ _varYY

double marlintpc::tp_MacroPixel::_varYY
private

variance YY

Definition at line 203 of file TimePixLocalRoadSearchProcessor.h.

Referenced by getVarXY(), print(), and tp_MacroPixel().

◆ _varZZ

double marlintpc::tp_MacroPixel::_varZZ
private

variance ZZ

Definition at line 204 of file TimePixLocalRoadSearchProcessor.h.

Referenced by getVarZ(), print(), and tp_MacroPixel().


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