![]() |
Project
|
#include <CoordinateTransformer.h>
Inherited by o2::trd::HitPoint.
Public Member Functions | |
ChamberSpacePoint (int det=-999) | |
ChamberSpacePoint (int id, int detector, float x, float y, float z, std::array< float, 3 > rct, bool inDrift) | |
bool | isValid () const |
check if the space point has been initialized | |
bool | isFromDriftRegion () const |
check if the space point is in the drift region | |
int | getID () const |
return the ID of the associated track (either MC or reconstructed) | |
float | getX () const |
spatial x coordinate of space point | |
float | getY () const |
spatial y coordinate of space point | |
float | getZ () const |
spatial z coordinate of space point | |
int | getDetector () const |
detector number corresponding to space point | |
int | getPadRow () const |
pad row within detector of space point | |
float | getPadRowF () const |
float | getPadCol () const |
pad position (a.k.a. column) within pad row | |
float | getTimeBin () const |
time coordinate in drift direction | |
float | getMCMChannel (int mcmcol) const |
calculate the channel number within the MCM. 0..21 if valid, -1 if not within this MCM | |
bool | isInMCM (int detector, int padrow, int mcmcol) const |
Protected Attributes | |
float | mX |
calculate MCM corresponding to pad row/column | |
float | mY |
float | mZ |
bool | mInDrift |
int | mID |
int | mDetector |
float | mPadrow |
float | mPadcol |
float | mTimebin |
A position in spatial (x,y,z) and raw/digit coordinates (det,row,col,tb). This class is intended to store the converted coordinates of a space point, to avoid repeated transformations between spatial and row/col/tb coordinates.
Definition at line 33 of file CoordinateTransformer.h.
|
inline |
Definition at line 36 of file CoordinateTransformer.h.
|
inline |
Definition at line 37 of file CoordinateTransformer.h.
|
inline |
detector number corresponding to space point
Definition at line 59 of file CoordinateTransformer.h.
|
inline |
return the ID of the associated track (either MC or reconstructed)
Definition at line 47 of file CoordinateTransformer.h.
float ChamberSpacePoint::getMCMChannel | ( | int | mcmcol | ) | const |
calculate the channel number within the MCM. 0..21 if valid, -1 if not within this MCM
Definition at line 19 of file CoordinateTransformer.cxx.
|
inline |
pad position (a.k.a. column) within pad row
Definition at line 66 of file CoordinateTransformer.h.
|
inline |
pad row within detector of space point
Definition at line 62 of file CoordinateTransformer.h.
|
inline |
Definition at line 63 of file CoordinateTransformer.h.
|
inline |
time coordinate in drift direction
Definition at line 69 of file CoordinateTransformer.h.
|
inline |
spatial x coordinate of space point
Definition at line 50 of file CoordinateTransformer.h.
|
inline |
spatial y coordinate of space point
Definition at line 53 of file CoordinateTransformer.h.
|
inline |
spatial z coordinate of space point
Definition at line 56 of file CoordinateTransformer.h.
|
inline |
check if the space point is in the drift region
Definition at line 44 of file CoordinateTransformer.h.
Definition at line 29 of file CoordinateTransformer.cxx.
|
inline |
check if the space point has been initialized
Definition at line 41 of file CoordinateTransformer.h.
|
protected |
Definition at line 86 of file CoordinateTransformer.h.
|
protected |
Definition at line 85 of file CoordinateTransformer.h.
|
protected |
Definition at line 84 of file CoordinateTransformer.h.
|
protected |
Definition at line 87 of file CoordinateTransformer.h.
|
protected |
Definition at line 87 of file CoordinateTransformer.h.
|
protected |
Definition at line 87 of file CoordinateTransformer.h.
|
protected |
calculate MCM corresponding to pad row/column
calculate readout board corresponding to pad row/column
Definition at line 83 of file CoordinateTransformer.h.
|
protected |
Definition at line 83 of file CoordinateTransformer.h.
|
protected |
Definition at line 83 of file CoordinateTransformer.h.