108 virtual std::string
ToString()
const;
118 std::vector<std::tuple<CbmTrdPoint, double, int>>
fTrdPoints =
121 static int fSx[5][2];
Data Container for TRD clusters.
Class for hits in TRD detector.
Data Container for TRD clusters.
TRD hit to MC point correlation class.
CbmTrdHitMC(const CbmTrdHitMC &)=default
Copy Constructor.
std::vector< std::pair< double, int > > fTrdSignals
size_t AddPoint(const CbmTrdPoint *p, double t, int id)
Add MC points to the hit. The first time this function is called is for the best matched MC point.
virtual std::string ToString() const
Verbosity functionality.
double GetSignal(uint idx=0) const
return signal at position
std::vector< std::tuple< CbmTrdPoint, double, int > > fTrdPoints
double GetSy() const
Calculate error for the azimuth direction.
const CbmTrdPoint * GetPoint(uint idx=0) const
Register a MC point.
void SetErrorMsg(std::string msg)
Store error message.
std::string GetErrorMsg() const
return MC pile-up size
eCbmTrdHitMCshape GetClShape() const
return cluster shape according to the eCbmTrdHitMCshape definitions
void AddCluster(const CbmTrdCluster *c)
Copy cluster details.
double GetSx() const
Calculate error in the bending plane.
CbmTrdHitMC & operator=(const CbmTrdHitMC &)=default
Assignment operator.
size_t GetNPoints() const
return MC pile-up size
double GetDt() const
Calculate residuals for time.
size_t PurgeSignals()
Applies to TRD2D and remove 0 charges from the boundaries of the cluster.
size_t AddSignal(const CbmTrdDigi *d, uint64_t t0)
Add signal values in the increasing order of pad index.
double GetDy() const
Calculate residuals for the azimuth direction.
virtual ~CbmTrdHitMC()
Destructor.
size_t GetNSignals() const
return cluster size
double GetDx() const
Calculate residuals in the bending plane.
CbmTrdHitMC()
Default constructor.
data class for a reconstructed Energy-4D measurement in the TRD