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