StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StMcSsdHitCollection.hh
1 /***************************************************************************
2  *
3  * $Id: StMcSsdHitCollection.hh,v 2.4 2012/03/22 01:08:54 perev Exp $
4  * $Log: StMcSsdHitCollection.hh,v $
5  * Revision 2.4 2012/03/22 01:08:54 perev
6  * private => protected
7  *
8  * Revision 2.3 2005/11/22 21:44:52 fisyak
9  * Add compress Print for McEvent, add Ssd collections
10  *
11  * Revision 2.2 2005/01/27 23:40:48 calderon
12  * Adding persistency to StMcEvent as a step for Virtual MonteCarlo.
13  *
14  * Revision 2.1 2004/09/14 05:00:30 calderon
15  * Added support for Ist, Ssd and changes to Pixel, from "El Kai".
16  *
17  * Revision 2.1 2003/08/20 18:50:21 calderon
18  * Addition of Tof classes and Ssd classes. Modified track, event, and
19  * container code to reflect this.
20  * Fix bug in StMcVertex and in clearing of some hit collections.
21  *
22  *
23  **************************************************************************/
24 #ifndef StMcSsdHitCollection_hh
25 #define StMcSsdHitCollection_hh
26 
27 #include "StMcSsdLadderHitCollection.hh"
28 
29 class StMcSsdHit;
30 
32 public:
33 
35  virtual ~StMcSsdHitCollection();
36 
37  bool addHit(StMcSsdHit*);
38  unsigned long numberOfHits() const;
39  unsigned int numberOfLadders() const;
40 
41  StMcSsdLadderHitCollection* ladder(unsigned int);
42  const StMcSsdLadderHitCollection* ladder(unsigned int) const;
43 protected:
44  enum { mNumberOfLadders = 20 };
45  StMcSsdLadderHitCollection mLadders[mNumberOfLadders];
46  ClassDef(StMcSsdHitCollection,1)
47 };
48 #endif