StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StPhmdClusterCollection.h
1 
5 /********************************************************************
6  *
7  * $Id: StPhmdClusterCollection.h,v 2.1 2002/12/20 22:33:00 ullrich Exp $
8  *
9  * Author: Subhasis Chattopadhyay, Dec 2002
10  ********************************************************************
11  *
12  * Description: Base class for PMD cluster collection
13  *
14  ********************************************************************
15  *
16  * $Log: StPhmdClusterCollection.h,v $
17  * Revision 2.1 2002/12/20 22:33:00 ullrich
18  * Initial Revision.
19  *
20  ********************************************************************/
21 #ifndef STAR_StPhmdClusterCollection
22 #define STAR_StPhmdClusterCollection
23 
24 #include "StContainers.h"
25 #include "StObject.h"
26 #include "StPhmdDetector.h"
27 #include "StPhmdCluster.h"
28 
29 
31 public:
34 
35  int numberOfclusters() const;
36  StSPtrVecPhmdCluster& clusters();
37  const StSPtrVecPhmdCluster& clusters() const;
38 
39  void addCluster(StPhmdCluster* );
40  void deleteCluster(StPhmdCluster* );
41  void deleteClusters();
42  int clusterFinderId() const;
43  int clusterFinderParamVersion() const;
44 
45  void setClusterFinderId(int);
46  void setClusterFinderParamVersion(int);
47 
48 private:
49  StDetectorId mDetector;
50  StSPtrVecPhmdCluster mClusters;
51 
52  Int_t mClusterFinderId;
53  Int_t mClusterFinderParamVersion;
54 
55  ClassDef(StPhmdClusterCollection,1)
56 };
57 
58 #endif
59 
60 
61 
62