StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StMcFgtHitCollection.hh
1 /***************************************************************************
2  *
3  * $Id: StMcFgtHitCollection.hh,v 2.4 2012/03/22 00:39:27 perev Exp $
4  *
5  * $Log: StMcFgtHitCollection.hh,v $
6  * Revision 2.4 2012/03/22 00:39:27 perev
7  * private => protected
8  *
9  * Revision 2.3 2009/10/13 19:14:27 perev
10  * Wei-Ming update
11  *
12  * Revision 2.1 2005/04/18 20:11:33 calderon
13  * Addition of Fgt and Fst files. Modified other files to accomodate changes.
14  *
15  *
16  *
17  **************************************************************************/
18 #ifndef StMcFgtHitCollection_hh
19 #define StMcFgtHitCollection_hh
20 
21 #include "StMcFgtLayerHitCollection.hh"
22 class StMcFgtHit;
23 
25 public:
26 
29 
30  bool addHit(StMcFgtHit*);
31  unsigned long numberOfHits() const;
32  unsigned int numberOfLayers() const;
33 
34  StMcFgtLayerHitCollection* layer(unsigned int);
35  const StMcFgtLayerHitCollection* layer(unsigned int) const;
36 protected:
37  enum { mNumberOfLayers = 9 }; // layer = disk in StFgtGeom WMZ
38  StMcFgtLayerHitCollection mLayers[mNumberOfLayers];
39  ClassDef(StMcFgtHitCollection,1)
40 };
41 #endif