StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StFstCollection.h
1 #ifndef StFstCollection_hh
2 #define StFstCollection_hh
3 
4 #include "StObject.h"
6 #include "StFstUtil/StFstRawHitCollection.h"
7 #include "StFstUtil/StFstClusterCollection.h"
8 #include "StEvent/StFstConsts.h"
9 
10 //using namespace StFstConsts;
18 class StFstCollection : public StObject
19 {
20 public:
22  ~StFstCollection();
23 
24  size_t getNumRawHits() const; // overall
25  size_t getNumRawHits( int wedge) const; // per wedge
26  size_t getNumClusters() const; // overall
27  size_t getNumClusters( int wedge ) const; // per wedge
28  unsigned char getNumTimeBins() const;
29  void setNumTimeBins(unsigned char nTimebin);
30 
31  StFstRawHitCollection *getRawHitCollection( int wedge );
32  const StFstRawHitCollection *getRawHitCollection( int wedge ) const;
33 
34  StFstClusterCollection *getClusterCollection( int wedge );
35  const StFstClusterCollection *getClusterCollection( int wedge ) const;
36 
37 protected:
38  StFstRawHitCollection mRawHitCollection[kFstNumWedges];
39  StFstClusterCollection mClusterCollection[kFstNumWedges];
40  unsigned char mNumTimeBins;
41 
42  ClassDef(StFstCollection, 1);
43 };
44 
45 #endif