27#ifndef CBMSTSCLUSTER_H
28#define CBMSTSCLUSTER_H 1
30#include "FairMultiLinkedData.h"
47 CbmStsCluster(Double_t digiSig, Int_t iStation, Int_t iSector, Int_t iSide);
52 void AddDigi(Int_t idigi) { fDigis[fNofDigis++] = idigi; }
56 void SetMean (Double_t chan) { fChannel = chan; }
63 return ( fDetectorId & (255<<16) ) >> 16; }
65 return ( fDetectorId & (4095<<4) ) >> 4; }
67 return ( fDetectorId & (1<<0) ) >> 0; }
70 Int_t
GetDigi(Int_t inum ) {
return fDigis[inum]; }
71 Double_t
GetMean()
const {
return fChannel; }
73 Double_t
GetQtot()
const {
return fQtot; }
74 Int_t
GetLeft()
const {
return fLeftEdge; }
75 void SetQtot(Double_t qtot) { fQtot = qtot; }
76 void SetLeft(Int_t left) { fLeftEdge = left; }
void SetMeanError(Double_t err)
void SetMean(Double_t chan)
Int_t GetStationNr() const
Int_t GetSectorNr() const
void SetQtot(Double_t qtot)
CbmStsCluster(Double_t digiSig, Int_t iStation, Int_t iSector, Int_t iSide)
Int_t GetDetectorId() const
Double_t GetMeanError() const
Int_t GetDigi(Int_t inum)
void AddDigi(Int_t idigi)