StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StSvtHitCollection.h
1 
5 /***************************************************************************
6  *
7  * $Id: StSvtHitCollection.h,v 2.4 2002/02/22 22:56:51 jeromel Exp $
8  *
9  * Author: Thomas Ullrich, Sep 1999
10  ***************************************************************************
11  *
12  * Description:
13  *
14  ***************************************************************************
15  *
16  * $Log: StSvtHitCollection.h,v $
17  * Revision 2.4 2002/02/22 22:56:51 jeromel
18  * Doxygen basic documentation in all header files. None of this is required
19  * for QM production.
20  *
21  * Revision 2.3 2001/04/05 04:00:43 ullrich
22  * Replaced all (U)Long_t by (U)Int_t and all redundant ROOT typedefs.
23  *
24  * Revision 2.2 2000/02/17 18:13:14 ullrich
25  * Changed the SVT hit storage model. Hits are now stored according
26  * to barrel/ladder/wafer not by layer/ladder/wafer.
27  *
28  * Revision 2.1 1999/10/13 19:43:44 ullrich
29  * Initial Revision
30  *
31  **************************************************************************/
32 #ifndef StSvtHitCollection_hh
33 #define StSvtHitCollection_hh
34 
35 #include "StObject.h"
36 #include "StSvtBarrelHitCollection.h"
37 class StSvtHit;
38 
39 class StSvtHitCollection : public StObject {
40 public:
43  // StSvtHitCollection(const StSvtHitCollection&); use default
44  // StSvtHitCollection& operator=(const StSvtHitCollection&); use default
45 
46  bool addHit(StSvtHit*);
47  unsigned int numberOfHits() const;
48  unsigned int numberOfBarrels() const;
49 
50  StSvtBarrelHitCollection* barrel(unsigned int);
51  const StSvtBarrelHitCollection* barrel(unsigned int) const;
52 
53 private:
54  enum { mNumberOfBarrels = 3 };
55  StSvtBarrelHitCollection mBarrels[mNumberOfBarrels];
56 
57  ClassDef(StSvtHitCollection,1)
58 };
59 #endif