00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #include "StEmcClusterCollection.h"
00024
00025 ClassImp(StEmcClusterCollection);
00026
00027 static const char rcsid[] = "$Id: StEmcClusterCollection.cxx,v 2.3 2001/04/05 04:00:47 ullrich Exp $";
00028
00029 StEmcClusterCollection::StEmcClusterCollection() {};
00030
00031 StEmcClusterCollection::~StEmcClusterCollection() {};
00032
00033 StDetectorId
00034 StEmcClusterCollection::detector() const {return mDetector;}
00035
00036 void
00037 StEmcClusterCollection::setDetector(StDetectorId var) {mDetector = var;}
00038
00039 int
00040 StEmcClusterCollection::numberOfClusters() const{return mClusters.size();}
00041
00042 void
00043 StEmcClusterCollection::addCluster(StEmcCluster* cluster)
00044 {
00045 mClusters.push_back(cluster);
00046 }
00047
00048 StSPtrVecEmcCluster&
00049 StEmcClusterCollection::clusters() {return mClusters;}
00050
00051 const StSPtrVecEmcCluster&
00052 StEmcClusterCollection::clusters() const {return mClusters;}
00053
00054 int
00055 StEmcClusterCollection::clusterFinderId() const {return mClusterFinderId;}
00056
00057 int
00058 StEmcClusterCollection::clusterFinderParamVersion() const {return mClusterFinderParamVersion;}
00059
00060 void
00061 StEmcClusterCollection::setClusterFinderId(int var) {mClusterFinderId = var;}
00062
00063 void
00064 StEmcClusterCollection::setClusterFinderParamVersion(int var) {mClusterFinderParamVersion = var;}