StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StIstCollection.h
1 #ifndef StIstCollection_hh
2 #define StIstCollection_hh
3 
4 #include "StObject.h"
6 #include "StIstRawHitCollection.h"
7 #include "StIstClusterCollection.h"
8 #include "StIstConsts.h"
9 
10 using namespace StIstConsts;
11 
12 
20 class StIstCollection : public StObject
21 {
22 public:
24  ~StIstCollection();
25 
26  size_t getNumRawHits() const; // overall
27  size_t getNumRawHits( int ladder) const; // per ladder
28  size_t getNumClusters() const; // overall
29  size_t getNumClusters( int ladder ) const; // per ladder
30  unsigned char getNumTimeBins() const;
31  void setNumTimeBins(unsigned char nTimebin);
32 
33  StIstRawHitCollection *getRawHitCollection( int ladder );
34  const StIstRawHitCollection *getRawHitCollection( int ladder ) const;
35 
36  StIstClusterCollection *getClusterCollection( int ladder );
37  const StIstClusterCollection *getClusterCollection( int ladder ) const;
38 
39 protected:
40  StIstRawHitCollection mRawHitCollection[kIstNumLadders];
41  StIstClusterCollection mClusterCollection[kIstNumLadders];
42  unsigned char mNumTimeBins;
43 
44  ClassDef(StIstCollection, 1);
45 };
46 
47 #endif
const int kIstNumLadders
24 IST Ladders