MyMarlinTPC
170316
|
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... | |
TimePix pixel.
Definition at line 132 of file TimePixLocalRoadSearchProcessor.h.
marlintpc::tp_Pixel::tp_Pixel | ( | const int | iHit, |
const EVENT::TrackerHit & | aHit, | ||
const double | xOffset, | ||
const double | yOffset | ||
) |
Construct TimePix pixel.
[in] | iHit | index in input hit collection |
[in] | aHit | TPC hit |
[in] | xOffset | offset in x of (local) coordinate system |
[in] | yOffset | offset in y of (local) coordinate system |
Definition at line 351 of file TimePixLocalRoadSearchProcessor.cc.
double marlintpc::tp_Pixel::getArcLength | ( | ) | const |
Get arc length.
Definition at line 424 of file TimePixLocalRoadSearchProcessor.cc.
References _sarc.
int marlintpc::tp_Pixel::getChip | ( | ) | const |
Get chip number.
Definition at line 369 of file TimePixLocalRoadSearchProcessor.cc.
References _chipNum.
int marlintpc::tp_Pixel::getCol | ( | ) | const |
Get column number.
Definition at line 379 of file TimePixLocalRoadSearchProcessor.cc.
References _colNum.
int marlintpc::tp_Pixel::getHitNum | ( | ) | const |
Get index to input hit collection.
Definition at line 364 of file TimePixLocalRoadSearchProcessor.cc.
References _hitNum.
void marlintpc::tp_Pixel::getPos | ( | double * | position | ) | const |
Get position.
[out] | position | position |
Definition at line 402 of file TimePixLocalRoadSearchProcessor.cc.
int marlintpc::tp_Pixel::getRow | ( | ) | const |
Get row number.
Definition at line 374 of file TimePixLocalRoadSearchProcessor.cc.
References _rowNum.
double marlintpc::tp_Pixel::getSigma2XY | ( | ) | const |
Get XY variance.
Definition at line 409 of file TimePixLocalRoadSearchProcessor.cc.
References _sigma2XY.
double marlintpc::tp_Pixel::getSigma2Z | ( | ) | const |
Get Z variance.
Definition at line 414 of file TimePixLocalRoadSearchProcessor.cc.
References _sigma2Z.
bool marlintpc::tp_Pixel::getUsed | ( | ) | const |
double marlintpc::tp_Pixel::getX | ( | ) | const |
Get X coordinate.
Definition at line 384 of file TimePixLocalRoadSearchProcessor.cc.
References _posX.
double marlintpc::tp_Pixel::getY | ( | ) | const |
Get Y coordinate.
Definition at line 389 of file TimePixLocalRoadSearchProcessor.cc.
References _posY.
double marlintpc::tp_Pixel::getZ | ( | ) | const |
Get Z coordinate.
Definition at line 394 of file TimePixLocalRoadSearchProcessor.cc.
References _posZ.
void marlintpc::tp_Pixel::print | ( | ) | const |
void marlintpc::tp_Pixel::setArcLength | ( | const double | sArc | ) |
Set arc length.
Definition at line 434 of file TimePixLocalRoadSearchProcessor.cc.
References _sarc.
void marlintpc::tp_Pixel::setUsed | ( | ) |
|
private |
chip number
Definition at line 153 of file TimePixLocalRoadSearchProcessor.h.
|
private |
column number
Definition at line 155 of file TimePixLocalRoadSearchProcessor.h.
|
private |
input hit collection index
Definition at line 152 of file TimePixLocalRoadSearchProcessor.h.
Referenced by getHitNum(), and print().
|
private |
X position.
Definition at line 156 of file TimePixLocalRoadSearchProcessor.h.
|
private |
Y position.
Definition at line 157 of file TimePixLocalRoadSearchProcessor.h.
|
private |
Z position.
Definition at line 158 of file TimePixLocalRoadSearchProcessor.h.
|
private |
row number
Definition at line 154 of file TimePixLocalRoadSearchProcessor.h.
|
private |
arc length (from segment fitting)
Definition at line 162 of file TimePixLocalRoadSearchProcessor.h.
Referenced by getArcLength(), and setArcLength().
|
private |
resolution (squared) for XY measurement
Definition at line 159 of file TimePixLocalRoadSearchProcessor.h.
Referenced by getSigma2XY(), and print().
|
private |
resolution (squared) for Z measurement
Definition at line 160 of file TimePixLocalRoadSearchProcessor.h.
Referenced by getSigma2Z(), and print().
|
private |
used flag
Definition at line 161 of file TimePixLocalRoadSearchProcessor.h.