14#define CBMTOFPOINT_H 1
16#include <FairMCPoint.h>
60 CbmTofPoint(int32_t trackID, int32_t detID, TVector3
pos, TVector3 mom,
double tof,
double length,
double eLoss);
94 void SetPx(
double pX) { fPx = pX; }
118 void SetGap(int32_t iGap);
124 virtual std::string
ToString()
const;
Geometric intersection of a MC track with a TOFb detector.
int32_t GetFirstGap() const
Index of first traversed gap @value First gap index.
int32_t GetNCells() const
Number of traversed cells @value Number of traversed cells.
int32_t GetNGaps() const
Number of traversed gaps @value Number of traversed gaps.
uint16_t fGapMask
Number of cells traversed.
void SetNCells(int32_t nCells)
Set the number of traversed cells.
void SetPz(double pZ)
Set z component of momentum.
CbmTofPoint()
Default constructor.
virtual ~CbmTofPoint()
Destructor.
virtual std::string ToString() const
String representation of the object. @value String representation of the object.
int32_t GetLastGap() const
Index of last traversed gap @value Last gap index.
void SetGap(int32_t iGap)
Set a gap in the gap mask.
void SetPx(double pX)
Set x component of momentum.
void SetPy(double pY)
Set y component of momentum.