StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StTpcSectorHitCollection.h
1 
5 /***************************************************************************
6  *
7  * $Id: StTpcSectorHitCollection.h,v 2.7 2012/06/01 14:18:38 fisyak Exp $
8  *
9  * Author: Thomas Ullrich, July 1999
10  ***************************************************************************
11  *
12  * Description:
13  *
14  ***************************************************************************
15  *
16  * $Log: StTpcSectorHitCollection.h,v $
17  * Revision 2.7 2012/06/01 14:18:38 fisyak
18  * Increment version to account change in max. no. of pad rows
19  *
20  * Revision 2.6 2012/05/16 21:35:03 fisyak
21  * replace StDigitalPair by its reference
22  *
23  * Revision 2.5 2012/05/07 14:42:58 fisyak
24  * Add handilings for Track to Fast Detectors Matching
25  *
26  * Revision 2.4 2009/11/23 16:34:07 fisyak
27  * Cleanup, remove dependence on dst tables, clean up software monitors
28  *
29  * Revision 2.3 2002/02/22 22:56:52 jeromel
30  * Doxygen basic documentation in all header files. None of this is required
31  * for QM production.
32  *
33  * Revision 2.2 2001/04/05 04:00:44 ullrich
34  * Replaced all (U)Long_t by (U)Int_t and all redundant ROOT typedefs.
35  *
36  * Revision 2.1 1999/10/13 19:44:06 ullrich
37  * Initial Revision
38  *
39  **************************************************************************/
40 #ifndef StTpcSectorHitCollection_hh
41 #define StTpcSectorHitCollection_hh
42 
43 #include "StObject.h"
44 #include "StTpcPadrowHitCollection.h"
45 
47 public:
50  // StTpcSectorHitCollection(const StTpcSectorHitCollection&); use default
51  // StTpcSectorHitCollection& operator=(const StTpcSectorHitCollection&); use default
52 
53  unsigned int numberOfHits() const;
54  unsigned int numberOfPadrows() const { return mNumberOfPadrows; }
55 
56  StTpcPadrowHitCollection* padrow(unsigned int);
57  const StTpcPadrowHitCollection* padrow(unsigned int) const;
58 
59 private:
60  enum { mNumberOfPadrows = 100 }; // Keep in mind that it could be changed
61  StTpcPadrowHitCollection mPadrows[mNumberOfPadrows];
62 
63  ClassDef(StTpcSectorHitCollection,2)
64 };
65 #endif