1 #include "StFstCluster.h"
2 #include "StFstClusterCollection.h"
3 #include "St_base/StMessMgr.h"
6 StFstClusterCollection::StFstClusterCollection(
int wedge ) :
StObject(), mWedge( wedge )
10 StFstClusterCollection::~StFstClusterCollection()
15 void StFstClusterCollection::Clear( Option_t *opt )
18 std::vector< StFstCluster * >::iterator vecIter;
20 for ( vecIter = mClusterVec.begin(); vecIter != mClusterVec.end(); ++vecIter ) {
21 if (*vecIter != NULL) {
31 void StFstClusterCollection::Print(Option_t *opt)
const
35 for (std::vector<StFstCluster*>::const_iterator it = mClusterVec.begin(); it != mClusterVec.end(); ++it, ++clusterIdx)
37 LOG_DEBUG <<
"cluster: Idx=" << clusterIdx << endm;
43 vector<StFstCluster *> &StFstClusterCollection::getClusterVec()
48 const vector<StFstCluster *> &StFstClusterCollection::getClusterVec()
const
53 size_t StFstClusterCollection::getNumClusters()
const
55 return mClusterVec.size();
58 void StFstClusterCollection::setWedge(
int wedge )
63 unsigned char StFstClusterCollection::getWedge()
const