Go to the documentation of this file.
12 #ifndef CBMSTSCLUSTER_H
13 #define CBMSTSCLUSTER_H 1
16 #include <RtypesCore.h>
121 Double_t positionError,
123 Double_t timeError = 0.) {
142 virtual std::string
ToString()
const;
virtual ~CbmStsCluster()
Destructor.
Double_t GetPosition() const
Cluster position @value Cluster position in channel number units.
Data class for STS clusters.
Int_t GetSize() const
Set size of the cluster (number of channels) @value size Number of channels from first to last.
Double_t fTime
Cluster time (average of digi times) [ns].
void SetSize(Int_t size)
Set size of the cluster (number of channels)
CbmStsCluster()
Default constructor.
Double_t GetCharge() const
Get cluster charge @value Total cluster charge [e].
Double_t fPositionError
Cluster centre error (r.m.s.) in channel number units.
void SetIndex(Int_t index)
Set cluster index To keep track of the input during hit finding.
void SetProperties(Double_t charge, Double_t position, Double_t positionError, Double_t time=0., Double_t timeError=0.)
Double_t GetTime() const
Get cluster time.
virtual std::string ToString() const
Int_t fSize
Difference between first and last channel.
Int_t GetIndex() const
Get cluster index.
Double_t fPosition
Cluster centre in channel number units.
Double_t GetPositionError() const
Cluster position error @value Error (r.m.s.) of cluster position in channel number units.
CbmStsCluster(const CbmStsCluster &)=default
Copy constructor.
Base class for cluster objects.
Double_t fCharge
Total charge.
Int_t fIndex
Index of cluster in input array.
void SetPositionError(Double_t error)
Set the position error.
ClassDef(CbmStsCluster, 7)
Base class for cluster objects.
Double_t GetTimeError() const
Get error of cluster time.
Double_t fTimeError
Error of cluster time [ns].