StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StFtpcHitCollection.h
1 
5 /***************************************************************************
6  *
7  * $Id: StFtpcHitCollection.h,v 2.3 2002/02/22 22:56:48 jeromel Exp $
8  *
9  * Author: Thomas Ullrich, Aug 1999
10  ***************************************************************************
11  *
12  * Description:
13  *
14  ***************************************************************************
15  *
16  * $Log: StFtpcHitCollection.h,v $
17  * Revision 2.3 2002/02/22 22:56:48 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:36 ullrich
22  * Replaced all (U)Long_t by (U)Int_t and all redundant ROOT typedefs.
23  *
24  * Revision 2.1 1999/10/13 19:43:06 ullrich
25  * Initial Revision
26  *
27  **************************************************************************/
28 #ifndef StFtpcHitCollection_hh
29 #define StFtpcHitCollection_hh
30 
31 #include "StObject.h"
32 #include "StFtpcPlaneHitCollection.h"
33 class StFtpcHit;
34 
35 class StFtpcHitCollection : public StObject {
36 public:
38  // StFtpcHitCollection(const StFtpcHitCollection&); use default
39  // StFtpcHitCollection& operator=(const StFtpcHitCollection&); use default
41 
42  bool addHit(StFtpcHit*);
43  unsigned int numberOfHits() const;
44  unsigned int numberOfPlanes() const;
45 
46  StFtpcPlaneHitCollection* plane(unsigned int);
47  const StFtpcPlaneHitCollection* plane(unsigned int) const;
48 
49 private:
50  enum { mNumberOfPlanes = 20 };
51  StFtpcPlaneHitCollection mPlanes[mNumberOfPlanes];
52 
53  ClassDef(StFtpcHitCollection,1)
54 };
55 #endif