13 #ifndef StEmcMicroCollection__h
14 #define StEmcMicroCollection__h
17 #include "TObjArray.h"
18 #include "StEmcMicroHit.h"
19 #include "StEmcMicroCluster.h"
20 #include "StEmcMicroPoint.h"
29 Int_t
getNHits(Int_t EmcDet) {
return mEmcHits[EmcDet-1]->GetEntries(); }
32 Int_t
getNClusters(Int_t EmcDet) {
return mEmcClusters[EmcDet-1]->GetEntries(); }
37 void addHit(Int_t EmcDet,
StEmcMicroHit*
hit) { mEmcHits[EmcDet-1]->AddLast(hit); }
38 void addCluster(Int_t EmcDet,
StEmcMicroCluster* cluster) { mEmcClusters[EmcDet-1]->AddLast(cluster); }
40 void clear(Option_t *option=
"");
43 TObjArray* mEmcHits[4];
44 TObjArray* mEmcClusters[4];
45 TObjArray* mEmcPoints;
StEmcMicroHit * getHit(Int_t EmcDet, Int_t HitId)
Return Hit for a given EMC sub detector.
Int_t getNPoints()
Return Number of Points for a given EMC sub detector.
Int_t getNClusters(Int_t EmcDet)
Return Number of Cluster for a given EMC sub detector.
Int_t getNHits(Int_t EmcDet)
Return Number of Hits for a given EMC sub detector.
StEmcMicroPoint * getPoint(Int_t PtId)
Return Point for a given EMC sub detector.
StEmcMicroCluster * getCluster(Int_t EmcDet, Int_t ClId)
Return Cluster for a given EMC sub detector.