StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StSvtBarrelHitCollection.h
1 
5 /***************************************************************************
6  *
7  * $Id: StSvtBarrelHitCollection.h,v 2.3 2002/02/22 22:56:50 jeromel Exp $
8  *
9  * Author: Thomas Ullrich, Feb 2000
10  ***************************************************************************
11  *
12  * Description:
13  *
14  ***************************************************************************
15  *
16  * $Log: StSvtBarrelHitCollection.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/02/17 18:15:11 ullrich
25  * Initial Revision
26  *
27  **************************************************************************/
28 #ifndef StSvtBarrelHitCollection_hh
29 #define StSvtBarrelHitCollection_hh
30 
31 #include "StObject.h"
32 #include "StSvtLadderHitCollection.h"
33 
35 public:
38  // StSvtBarrelHitCollection(const StSvtBarrelHitCollection&); use default
39  // const StSvtBarrelHitCollection&
40  // operator=(const StSvtBarrelHitCollection&); use default
41 
42  unsigned int numberOfHits() const;
43  unsigned int numberOfLadders() const;
44 
45  StSvtLadderHitCollection* ladder(unsigned int);
46  const StSvtLadderHitCollection* ladder(unsigned int) const;
47 
48  void setBarrelNumber(int);
49 
50 private:
51  enum { mMaxNumberOfLadders = 16 };
52  Int_t mBarrelNumber;
53  StSvtLadderHitCollection mLadders[mMaxNumberOfLadders];
54 
55  ClassDef(StSvtBarrelHitCollection,1)
56 };
57 #endif