StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StEmcClusterCollection.h
1 
5 /***************************************************************************
6  *
7  * $Id: StEmcClusterCollection.h,v 2.3 2002/02/22 22:56:47 jeromel Exp $
8  *
9  * Author: Akio Ogawa, Jan 2000
10  ***************************************************************************
11  *
12  * Description:
13  *
14  ***************************************************************************
15  *
16  * $Log: StEmcClusterCollection.h,v $
17  * Revision 2.3 2002/02/22 22:56:47 jeromel
18  * Doxygen basic documentation in all header files. None of this is required
19  * for QM production.
20  *
21  * Revision 2.2 2001/04/05 04:00:34 ullrich
22  * Replaced all (U)Long_t by (U)Int_t and all redundant ROOT typedefs.
23  *
24  * Revision 2.1 2000/02/23 17:34:04 ullrich
25  * Initial Revision
26  *
27  **************************************************************************/
28 #ifndef StEmcClusterCollection_hh
29 #define StEmcClusterCollection_hh
30 
31 #include "StContainers.h"
32 #include "StObject.h"
33 #include "StEnumerations.h"
34 
36 public:
38  // StEmcClusterCollection(const StEmcClusterCollection&); use default
39  // StEmcClusterCollection& operator=(const StEmcClusterCollection&); use default
40  virtual ~StEmcClusterCollection();
41 
42  StDetectorId detector() const;
43  void setDetector(StDetectorId);
44 
45  int numberOfClusters() const;
46  StSPtrVecEmcCluster& clusters();
47  const StSPtrVecEmcCluster& clusters() const;
48 
49  void addCluster(StEmcCluster*);
50 
51  int clusterFinderId() const;
52  int clusterFinderParamVersion() const;
53  void setClusterFinderId(int);
54  void setClusterFinderParamVersion(int);
55 
56 private:
57  StDetectorId mDetector;
58  StSPtrVecEmcCluster mClusters;
59 
60  Int_t mClusterFinderId;
61  Int_t mClusterFinderParamVersion;
62 
63  ClassDef(StEmcClusterCollection,1)
64 };
65 
66 #endif
67 
68 
69 
70