StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StPxlSectorHitCollection.h
1 
5 /***************************************************************************
6  *
7  * $Id: StPxlSectorHitCollection.h,v 2.1 2013/03/05 14:40:41 ullrich Exp $
8  *
9  * Author: X. Dong, Jan 2013
10  ***************************************************************************
11  *
12  * Description:
13  *
14  ***************************************************************************
15  *
16  * $Log: StPxlSectorHitCollection.h,v $
17  * Revision 2.1 2013/03/05 14:40:41 ullrich
18  * Initial Revision.
19  *
20  **************************************************************************/
21 #ifndef StPxlSectorHitCollection_hh
22 #define StPxlSectorHitCollection_hh
23 
24 #include "StObject.h"
25 #include "StPxlLadderHitCollection.h"
26 
28 public:
31 
32  unsigned int numberOfHits() const;
33  unsigned int numberOfLadders() const;
34 
35  StPxlLadderHitCollection* ladder(unsigned int);
36  const StPxlLadderHitCollection* ladder(unsigned int) const;
37 
38 private:
39  enum { mNumberOfLadders = 4 };
40  StPxlLadderHitCollection mLadders[mNumberOfLadders];
41 
42  ClassDef(StPxlSectorHitCollection,1)
43 };
44 
45 inline unsigned int StPxlSectorHitCollection::numberOfLadders() const { return mNumberOfLadders; }
46 
47 #endif