StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StMcIstHitCollection.hh
1 /***************************************************************************
2  *
3  * $Id: StMcIstHitCollection.hh,v 2.8 2015/03/13 18:44:58 perev Exp $
4  * $Log: StMcIstHitCollection.hh,v $
5  * Revision 2.8 2015/03/13 18:44:58 perev
6  * Roll back
7  *
8  * Revision 2.6 2012/12/18 21:02:06 perev
9  * Ist development (Jonathan)
10  *
11  * Revision 2.5 2012/03/22 00:43:52 perev
12  * private => protected
13  *
14  * Revision 2.4 2009/07/24 19:08:07 perev
15  * Cleanup + Btof added (Geurts)
16  *
17  * Revision 2.3 2009/02/06 15:38:12 fisyak
18  * Jonathan: decoding for upgr15 geometry
19  *
20  * Revision 2.2 2005/05/11 20:54:29 calderon
21  * Added persistency: ClassImp, ClassDef and inheritance from StObject.
22  *
23  * Revision 2.1 2004/09/14 05:00:29 calderon
24  * Added support for Ist, Ssd and changes to Pixel, from "El Kai".
25  *
26  * Revision 2.1 2003/08/20 18:50:21 calderon
27  * Addition of Tof classes and Pixel classes. Modified track, event, and
28  * container code to reflect this.
29  * Fix bug in StMcVertex and in clearing of some hit collections.
30  *
31  *
32  **************************************************************************/
33 #ifndef StMcIstHitCollection_hh
34 #define StMcIstHitCollection_hh
35 
36 #include "StMcIstLayerHitCollection.hh"
37 class StMcIstHit;
38 
40 public:
41 
43  virtual ~StMcIstHitCollection();
44 
45  bool addHit(StMcIstHit*);
46  unsigned long numberOfHits() const;
47  unsigned int numberOfLayers() const;
48 
49  StMcIstLayerHitCollection* layer(unsigned int);
50  const StMcIstLayerHitCollection* layer(unsigned int) const;
51 protected:
52  enum { mNumberOfLayers = 24 };
53  StMcIstLayerHitCollection mLayers[mNumberOfLayers];
54  ClassDef(StMcIstHitCollection,1)
55 };
56 #endif