StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StMcTpcSectorHitCollection.hh
1 /***************************************************************************
2  *
3  * $Id: StMcTpcSectorHitCollection.hh,v 2.5 2012/05/16 21:36:15 fisyak Exp $
4  *
5  * Author: Manuel Calderon de la Barca Sanchez, Oct 1999
6  ***************************************************************************
7  *
8  * Description: Monte Carlo Tpc Sector Hit Collection class
9  *
10  ***************************************************************************
11  *
12  * $Log: StMcTpcSectorHitCollection.hh,v $
13  * Revision 2.5 2012/05/16 21:36:15 fisyak
14  * Incresa no. possible row to 100
15  *
16  * Revision 2.4 2012/03/22 01:02:31 perev
17  * private => protected
18  *
19  * Revision 2.3 2009/07/24 19:08:09 perev
20  * Cleanup + Btof added (Geurts)
21  *
22  * Revision 2.2 2005/01/27 23:40:49 calderon
23  * Adding persistency to StMcEvent as a step for Virtual MonteCarlo.
24  *
25  * Revision 2.1 2000/03/06 18:05:23 calderon
26  * 1) Modified SVT Hits storage scheme from layer-ladder-wafer to
27  * barrel-ladder-wafer.
28  * 2) Added Rich Hit class and collection, and links to them in other
29  * classes.
30  *
31  * Revision 2.0 1999/11/17 02:01:00 calderon
32  * Completely revised for new StEvent
33  *
34  *
35  **************************************************************************/
36 #ifndef StMcTpcSectorHitCollection_hh
37 #define StMcTpcSectorHitCollection_hh
38 
39 #include "StMcTpcPadrowHitCollection.hh"
40 
42 {
43 public:
45  virtual ~StMcTpcSectorHitCollection();
46  // StMcTpcSectorHitCollection(const StMcTpcSectorHitCollection&); use default
47  // StMcTpcSectorHitCollection& operator=(const StMcTpcSectorHitCollection&); use default
48 
49  unsigned long numberOfHits() const;
50  unsigned int numberOfPadrows() const;
51 
52  StMcTpcPadrowHitCollection* padrow(unsigned int);
53  const StMcTpcPadrowHitCollection* padrow(unsigned int) const;
54 
55 protected:
56  enum { mNumberOfPadrows = 100 };
57  StMcTpcPadrowHitCollection mPadrows[mNumberOfPadrows];
58  ClassDef(StMcTpcSectorHitCollection,1)
59 };
60 #endif