19#include <RtypesCore.h>
66 CbmTrdHit(int32_t address,
const TVector3&
pos,
const TVector3&
dpos,
double dxy, int32_t refId,
double eLoss,
67 double time = 0.,
double timeError = 0.);
76 virtual std::string
ToString()
const;
Helper class to convert unique channel ID back and forth.
int32_t GetAddress() const
static uint32_t GetLayerId(uint32_t address)
Return layer ID from address.
data class for a reconstructed Energy-4D measurement in the TRD
bool GetClassType() const
void SetELoss(double loss)
virtual std::string ToString() const
Inherited from CbmBaseHit.
void SetClassType(bool set=true)
Type of pad layout used in reconstruction R[0], T[1].
void SetOverFlow(bool set=true)
Mark overflow in one or more digits which define the hit.
virtual ~CbmTrdHit()
Destructor.
void SetMaxType(bool set=true)
Extra bool definition for the hit (e.g. the type of maximum for triangular pads).
@ kType
set type of pad layout
@ kOvfl
mark over-flow in the data
@ kMaxType
set type of pad on which the maximum charge is found
@ kRowCross
mark hit defined by 2 clusters
int32_t GetPlaneId() const
Inherited from CbmBaseHit.
CbmTrdHit()
Default constructor.
void SetRowCross(bool set=true)
Mark hit reconstructed between pad rows.