52 #ifndef StEmcCluster_hh
53 #define StEmcCluster_hh
57 #include "StContainers.h"
68 float sigmaEta()
const;
69 float sigmaPhi()
const;
72 int nNeighbors()
const;
75 StPtrVecEmcRawHit&
hit();
76 const StPtrVecEmcRawHit& hit()
const;
77 StPtrVecEmcCluster& neighbor();
78 const StPtrVecEmcCluster& neighbor()
const;
79 StPtrVecTrack&
track();
80 const StPtrVecTrack& track()
const;
84 void setSigmaEta(
float);
85 void setSigmaPhi(
float);
86 void setEnergy(
float);
88 StDetectorId detector()
const;
93 void Print(Option_t *option =
"")
const;
101 StPtrVecEmcRawHit mHits;
102 StPtrVecEmcCluster mNeighbors;
103 StPtrVecTrack mTracks;
108 inline StDetectorId StEmcCluster::detector()
const {
return static_cast<StDetectorId
>(StHit::bits(0, 4));}