StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StIstClusterCollection.h
1 #ifndef StIstClusterCollection_hh
2 #define StIstClusterCollection_hh
3 
4 #include "StObject.h"
5 #include "StIstCluster.h"
6 
7 
16 {
17 public:
18 
19  StIstClusterCollection(int ladder = 0);
21 
22  vector<StIstCluster *> &getClusterVec();
23  const vector<StIstCluster *> &getClusterVec() const;
24 
25  //size of internal vector
26  size_t getNumClusters() const;
27 
28  //modify/access the ladder
29  unsigned char getLadder() const;
30  void setLadder( int ladder );
31 
32  void Clear( Option_t *opt = "" );
33  virtual void Print(Option_t *opt = "") const;
34 
35 protected:
36 
37  unsigned char mLadder;
38  std::vector<StIstCluster *> mClusterVec;
39 
40  ClassDef(StIstClusterCollection, 1);
41 };
42 
43 #endif