StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StSvtLadderHitCollection.h
1 
5 /***************************************************************************
6  *
7  * $Id: StSvtLadderHitCollection.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: StSvtLadderHitCollection.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:19 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:46 ullrich
29  * Initial Revision
30  *
31  **************************************************************************/
32 #ifndef StSvtLadderHitCollection_hh
33 #define StSvtLadderHitCollection_hh
34 
35 #include "StObject.h"
36 #include "StSvtWaferHitCollection.h"
37 
39 public:
42  // StSvtLadderHitCollection(const StSvtLadderHitCollection&); use default
43  // const StSvtLadderHitCollection&
44  // operator=(const StSvtLadderHitCollection&); use default
45 
46  unsigned int numberOfHits() const;
47  unsigned int numberOfWafers() const;
48 
49  StSvtWaferHitCollection* wafer(unsigned int);
50  const StSvtWaferHitCollection* wafer(unsigned int) const;
51 
52  void setBarrelNumber(int);
53 
54 private:
55  enum { mMaxNumberOfWafers = 7 };
56  Int_t mBarrelNumber;
57  StSvtWaferHitCollection mWafers[mMaxNumberOfWafers];
58 
59  ClassDef(StSvtLadderHitCollection,1)
60 };
61 #endif