StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StMcSsdLadderHitCollection.hh
1 /***************************************************************************
2  *
3  * $Id: StMcSsdLadderHitCollection.hh,v 2.3 2012/03/22 00:47:25 perev Exp $
4  *
5  * Author: Fabrice Retiere/Kai Schweda, Aug 2003
6  ***************************************************************************
7  *
8  * Description: Monte Carlo Ssd Ladder Hit Collection class from Kai
9  *
10  * The ssd detector hits are stored here.
11  *
12  ***************************************************************************
13  *
14  * $Log: StMcSsdLadderHitCollection.hh,v $
15  * Revision 2.3 2012/03/22 00:47:25 perev
16  * private => protected
17  *
18  * Revision 2.2 2011/10/17 00:24:01 fisyak
19  * Add time of flight for hits
20  *
21  * Revision 2.1 2005/11/22 21:44:52 fisyak
22  * Add compress Print for McEvent, add Ssd collections
23  *
24  * Revision 2.2 2005/01/27 23:40:48 calderon
25  * Adding persistency to StMcEvent as a step for Virtual MonteCarlo.
26  *
27  * Revision 2.1 2004/09/14 05:00:30 calderon
28  * Added support for Ist, Ssd and changes to Pixel, from "El Kai".
29  *
30  * Revision 2.1 2003/08/20 18:50:21 calderon
31  * Addition of Tof classes and Ssd classes. Modified track, event, and
32  * container code to reflect this.
33  * Fix bug in StMcVertex and in clearing of some hit collections.
34  *
35  *
36  *
37  **************************************************************************/
38 #ifndef StMcSsdLadderHitCollection_hh
39 #define StMcSsdLadderHitCollection_hh
40 
41 #include "StMcContainers.hh"
42 #include "StObject.h"
43 
44 #include "StMcSsdWaferHitCollection.hh"
45 
47 {
48 public:
50  virtual ~StMcSsdLadderHitCollection() {}
51 protected:
52  enum { mMaxNumberOfWafers = 16 };
53  StMcSsdWaferHitCollection mWafers[mMaxNumberOfWafers];
54 public:
55  unsigned long numberOfHits() const;
56  unsigned int numberOfWafers() const {return mMaxNumberOfWafers;}
57 
58  StMcSsdWaferHitCollection* wafer(unsigned int);
59  const StMcSsdWaferHitCollection* wafer(unsigned int) const;
60 
61  ClassDef(StMcSsdLadderHitCollection,1)
62 };
63 #endif