00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #include "StPmdClusterCollection.h"
00017 #include <TBrowser.h>
00018 #include <TTableSorter.h>
00019 #include <TDataSetIter.h>
00020 #include <math.h>
00021 #include "StPmdUtil/StPmdGeom.h"
00022 #include "StPmdHit.h"
00023
00024 ClassImp(StPmdClusterCollection)
00025
00026
00027
00028
00029 StPmdClusterCollection::StPmdClusterCollection()
00030 {
00031 mNclusters=0;
00032 }
00033
00034
00035 StPmdClusterCollection::~StPmdClusterCollection()
00036 {
00037 DeleteCluster();
00038 }
00039
00040 void
00041 StPmdClusterCollection::DeleteCluster()
00042 {
00043 Option_t* opt="ALL";
00044 mClusters.Delete(opt);
00045 }
00046
00047
00048
00049 void StPmdClusterCollection::addCluster(StPmdCluster* cluster)
00050 {
00051
00052 mClusters.Add(cluster);
00053 mNclusters += 1;
00054
00055 }
00056
00057
00058
00059