00001
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef STAR_StPmdClusterCollection
00021 #define STAR_StPmdClusterCollection
00022
00023 #include <TObjArray.h>
00024 #include <TArrayI.h>
00025 #include <TArrayF.h>
00026 #include <TMatrix.h>
00027 #include "StPmdDetector.h"
00028 #include "StPmdCluster.h"
00029
00030
00031 class StPmdClusterCollection : public StObject {
00032 private:
00033
00034 Int_t mNclusters;
00035 TObjArray mClusters;
00036
00037 protected:
00038 public:
00039
00040 StPmdClusterCollection();
00041 virtual ~StPmdClusterCollection();
00042
00043 Int_t Nclusters() const;
00044 TObjArray* Clusters();
00045
00046 void setNclusters(Int_t);
00047
00048 virtual void DeleteCluster();
00049
00050
00051 virtual void addCluster(StPmdCluster* cluster);
00052
00053
00054 ClassDef(StPmdClusterCollection,1)
00055 };
00056
00057 inline Int_t StPmdClusterCollection::Nclusters() const {return mNclusters;}
00058 inline TObjArray* StPmdClusterCollection::Clusters() {return &mClusters;}
00059 inline void StPmdClusterCollection::setNclusters(Int_t var) {mNclusters = var;}
00060
00061 #endif
00062
00063
00064
00065