23 #include "StEmcClusterCollection.h"
27 static const char rcsid[] =
"$Id: StEmcClusterCollection.cxx,v 2.3 2001/04/05 04:00:47 ullrich Exp $";
29 StEmcClusterCollection::StEmcClusterCollection() {};
31 StEmcClusterCollection::~StEmcClusterCollection() {};
34 StEmcClusterCollection::detector()
const {
return mDetector;}
37 StEmcClusterCollection::setDetector(StDetectorId var) {mDetector = var;}
40 StEmcClusterCollection::numberOfClusters()
const{
return mClusters.size();}
43 StEmcClusterCollection::addCluster(
StEmcCluster* cluster)
45 mClusters.push_back(cluster);
49 StEmcClusterCollection::clusters() {
return mClusters;}
51 const StSPtrVecEmcCluster&
52 StEmcClusterCollection::clusters()
const {
return mClusters;}
55 StEmcClusterCollection::clusterFinderId()
const {
return mClusterFinderId;}
58 StEmcClusterCollection::clusterFinderParamVersion()
const {
return mClusterFinderParamVersion;}
61 StEmcClusterCollection::setClusterFinderId(
int var) {mClusterFinderId = var;}
64 StEmcClusterCollection::setClusterFinderParamVersion(
int var) {mClusterFinderParamVersion = var;}