12#ifndef ALICEO2_TRD_COORDINATE_TRANSFORMER_H_
13#define ALICEO2_TRD_COORDINATE_TRANSFORMER_H_
28class CoordinateTransformer;
125 assert(
start.getDetector() ==
end.getDetector());
180 std::array<float, 3>
Local2RCT(
int det,
float x,
float y,
float z);
short GetDetectorID() const
ChamberSpacePoint(int det=-999)
ChamberSpacePoint(int id, int detector, float x, float y, float z, std::array< float, 3 > rct, bool inDrift)
float getX() const
spatial x coordinate of space point
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
int getPadRow() const
pad row within detector of space point
int getDetector() const
detector number corresponding to space point
float mX
calculate MCM corresponding to pad row/column
bool isValid() const
check if the space point has been initialized
float getZ() const
spatial z coordinate of space point
bool isFromDriftRegion() const
check if the space point is in the drift region
float getY() const
spatial y coordinate of space point
int getID() const
return the ID of the associated track (either MC or reconstructed)
float getTimeBin() const
time coordinate in drift direction
float getPadCol() const
pad position (a.k.a. column) within pad row
HitPoint(ChamberSpacePoint position, float charge)
int getDetector() const
detector number
float getPadColAtTimeBin(float timebin=0) const
position of track segment at timebin 0
ChamberSpacePoint mStartPoint
bool isValid() const
check if the space point has been initialized
TrackSegment(ChamberSpacePoint start, ChamberSpacePoint end, int id)
ChamberSpacePoint & getEndPoint()
ChamberSpacePoint & getStartPoint()
ChamberSpacePoint mEndPoint
GLdouble GLdouble GLdouble z
std::ostream & operator<<(std::ostream &stream, const Digit &d)