StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StMcFtpcHitCollection.hh
1 /***************************************************************************
2  *
3  * $Id: StMcFtpcHitCollection.hh,v 2.5 2012/03/22 00:41:15 perev Exp $
4  * $Log: StMcFtpcHitCollection.hh,v $
5  * Revision 2.5 2012/03/22 00:41:15 perev
6  * private => protected
7  *
8  * Revision 2.4 2009/07/24 19:08:07 perev
9  * Cleanup + Btof added (Geurts)
10  *
11  * Revision 2.3 2005/01/27 23:40:47 calderon
12  * Adding persistency to StMcEvent as a step for Virtual MonteCarlo.
13  *
14  * Revision 2.2 2000/04/17 23:01:15 calderon
15  * Added local momentum to hits as per Lee's request
16  *
17  * Revision 2.1 1999/11/19 19:06:32 calderon
18  * Recommit after redoing the files.
19  *
20  * Revision 2.0 1999/11/17 02:12:16 calderon
21  * Completely revised for new StEvent
22  *
23  * Revision 1.2 1999/09/23 21:25:51 calderon
24  * Added Log & Id
25  * Modified includes according to Yuri
26  *
27  *
28  **************************************************************************/
29 #ifndef StMcFtpcHitCollection_hh
30 #define StMcFtpcHitCollection_hh
31 
32 #include "StMcFtpcPlaneHitCollection.hh"
33 class StMcFtpcHit;
34 
36 public:
37 
39  virtual ~StMcFtpcHitCollection();
40 
41  bool addHit(StMcFtpcHit*);
42  unsigned long numberOfHits() const;
43  unsigned int numberOfPlanes() const;
44 
45  StMcFtpcPlaneHitCollection* plane(unsigned int);
46  const StMcFtpcPlaneHitCollection* plane(unsigned int) const;
47 protected:
48  enum { mNumberOfPlanes = 20 };
49  StMcFtpcPlaneHitCollection mPlanes[mNumberOfPlanes];
50  ClassDef(StMcFtpcHitCollection,1)
51 };
52 #endif