13 #include "StEmcPreCluster.h"
15 #ifndef StEmcPreClusterCollection_HH
16 #define StEmcPreClusterCollection_HH
17 #include "StEmcRawMaker/defines.h"
Int_t getDetector()
returns the detector id for the collection
Int_t getNClusters()
gets the number of clusters in the collection
void addCluster(StEmcPreCluster *)
add a previously created cluster to the collection
StEmcPreCluster * newCluster()
creates a new cluster in the collection. Returns its pointer
void deleteCluster(Int_t)
removes and deletes a cluster from the collection
void empty()
deletes all the cluster from the collection.
StEmcPreCluster * removeCluster(Int_t)
removes a cluster from the collection. DOES NOT delete it. Returns its pointer
StEmcPreCluster * getCluster(Int_t)
gets a cluster in the collection by its index