StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StMcSvtLadderHitCollection.hh
1 /***************************************************************************
2  *
3  * $Id: StMcSvtLadderHitCollection.hh,v 2.6 2012/03/22 00:49:53 perev Exp $
4  *
5  * Author: Manuel Calderon de la Barca Sanchez, Oct 1999
6  ***************************************************************************
7  *
8  * Description: Monte Carlo Svt Ladder Hit Collection class
9  *
10  ***************************************************************************
11  *
12  * $Log: StMcSvtLadderHitCollection.hh,v $
13  * Revision 2.6 2012/03/22 00:49:53 perev
14  * private => protected
15  *
16  * Revision 2.5 2009/07/24 19:08:08 perev
17  * Cleanup + Btof added (Geurts)
18  *
19  * Revision 2.4 2005/01/27 23:40:48 calderon
20  * Adding persistency to StMcEvent as a step for Virtual MonteCarlo.
21  *
22  * Revision 2.3 2000/04/18 23:46:13 calderon
23  * Fix bug in reurning barrel number
24  * Enumerations for the Max barrels, ladders & wafers modified for
25  * SSD inclusion in current scheme.
26  *
27  * Revision 2.2 2000/03/06 18:05:22 calderon
28  * 1) Modified SVT Hits storage scheme from layer-ladder-wafer to
29  * barrel-ladder-wafer.
30  * 2) Added Rich Hit class and collection, and links to them in other
31  * classes.
32  *
33  * Revision 2.1 1999/11/19 19:06:33 calderon
34  * Recommit after redoing the files.
35  *
36  * Revision 2.0 1999/11/17 02:01:00 calderon
37  * Completely revised for new StEvent
38  *
39  *
40  **************************************************************************/
41 #ifndef StMcSvtLadderHitCollection_hh
42 #define StMcSvtLadderHitCollection_hh
43 
44 #include "StMcSvtWaferHitCollection.hh"
45 
47 {
48 public:
50  virtual ~StMcSvtLadderHitCollection();
51  // StMcSvtLadderHitCollection(const StMcSvtLadderHitCollection&); use default
52  // const StMcSvtLadderHitCollection& operator=(const StMcSvtLadderHitCollection&); use default
53 
54  unsigned long numberOfHits() const;
55  unsigned int numberOfWafers() const;
56 
57  StMcSvtWaferHitCollection* wafer(unsigned int);
58  const StMcSvtWaferHitCollection* wafer(unsigned int) const;
59 
60  void setBarrelNumber(int);
61 
62 protected:
63  enum { mMaxNumberOfWafers = 16 };
64  int mBarrelNumber;
65  StMcSvtWaferHitCollection mWafers[mMaxNumberOfWafers];
66  ClassDef(StMcSvtLadderHitCollection,1)
67 };
68 #endif