10#define BMNSSDCLUSTER_H 1
80 Double_t
GetTime()
const {
return fTime; }
110 Double_t positionError, Double_t time = 0.,
111 Double_t timeError = 0.) {
113 fPosition = position;
114 fPositionError = positionError;
116 fTimeError = timeError;
130 virtual std::string
ToString()
const;
139 Double_t fPositionError;
Base class for cluster objects.
Base class for cluster objects.
Data class for SSD clusters.
Int_t GetSize() const
Set size of the cluster (number of channels) @value size Number of channels from first to last.
Double_t GetPosition() const
Cluster position @value Cluster position in channel number units.
void SetIndex(Int_t index)
Set cluster index To keep track of the input during hit finding.
Int_t GetIndex() const
Get cluster index.
Double_t GetPositionError() const
Cluster position error @value Error (r.m.s.) of cluster position in channel number units.
virtual ~BmnSsdCluster()
Destructor.
BmnSsdCluster()
Default constructor.
void SetProperties(Double_t charge, Double_t position, Double_t positionError, Double_t time=0., Double_t timeError=0.)
void SetSize(Int_t size)
Set size of the cluster (number of channels)
Double_t GetCharge() const
Get cluster charge @value Total cluster charge [e].
void SetPositionError(Double_t error)
Set the position error.
virtual std::string ToString() const
Double_t GetTime() const
Get cluster time.
Double_t GetTimeError() const
Get error of cluster time.