StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StMuRHICfCollection.h
1 #ifndef StMuRHICfCollection_hh
2 #define StMuRHICfCollection_hh
3 
4 #include "St_base/StObject.h"
5 #include "TClonesArray.h"
6 
7 class StMuRHICfRawHit;
8 class StMuRHICfHit;
9 class StMuRHICfPoint;
10 
11 class StMuRHICfCollection : public TObject
12 {
13  public:
16 
17  void init();
18 
19  unsigned int numberOfPoints() const;
20 
21  StMuRHICfRawHit* addRawHit();
22  StMuRHICfHit* addHit();
23  StMuRHICfPoint* addPoint();
24 
25  StMuRHICfRawHit* getRawHit();
26  StMuRHICfHit* getHit();
27  StMuRHICfPoint* getPoint(Int_t index);
28 
29  TClonesArray* getPointArray();
30 
31  void setRHICfRawHitArray(TClonesArray *array);
32  void setRHICfHitArray(TClonesArray *array);
33  void setRHICfPointArray(TClonesArray* array);
34 
35  private:
36  TClonesArray* mRawHit;
37  TClonesArray* mHit;
38  TClonesArray* mPoint;
39 
40  ClassDef(StMuRHICfCollection,1)
41 };
42 
43 #endif