11 #ifndef STROOT_STMUDSTMAKER_COMMON_STMUFMSCLUSTER_H_
12 #define STROOT_STMUDSTMAKER_COMMON_STMUFMSCLUSTER_H_
15 #include <TRefArray.h>
32 float x = 0.f,
float y = 0.f);
38 virtual void Clear(Option_t* option =
"");
46 float x()
const {
return mX; }
48 float y()
const {
return mY; }
92 #endif // STROOT_STMUDSTMAKER_COMMON_STMUFMSCLUSTER_H_
Float_t mX
Mean x ("center of gravity")
UShort_t mDetectorId
Detector ID as defined in database.
void setEnergy(float energy)
virtual ~StMuFmsCluster()
UShort_t detectorId() const
TRefArray mPhotons
StMuFmsPoints in the cluster.
void setCategory(UShort_t category)
TRefArray mHits
StMuFmsHits in the current cluster.
StMuFmsCluster & operator=(const StMuFmsCluster &)
StMuFmsCluster(int detectorId=0, int category=-1, float energy=0.f, float x=0.f, float y=0.f)
UShort_t mCategory
Category of cluster (see EFmsClusterCategory)
const TRefArray * hits() const
Float_t mY
Mean y ("center of gravity")
void setDetectorId(UShort_t detector)
Float_t mEnergy
Total energy contained in the cluster.
const TRefArray * photons() const
virtual void Clear(Option_t *option="")
UShort_t category() const