StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StPxlLadderHitCollection.h
1 
5 /***************************************************************************
6  *
7  * $Id: StPxlLadderHitCollection.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: StPxlLadderHitCollection.h,v $
17  * Revision 2.1 2013/03/05 14:40:41 ullrich
18  * Initial Revision.
19  *
20  **************************************************************************/
21 #ifndef StPxlLadderHitCollection_hh
22 #define StPxlLadderHitCollection_hh
23 
24 #include "StObject.h"
25 #include "StPxlSensorHitCollection.h"
26 
28 public:
31 
32  unsigned int numberOfHits() const;
33  unsigned int numberOfSensors() const;
34 
35  StPxlSensorHitCollection* sensor(unsigned int);
36  const StPxlSensorHitCollection* sensor(unsigned int) const;
37 
38 private:
39  enum { mNumberOfSensors = 10 };
40  StPxlSensorHitCollection mSensors[mNumberOfSensors];
41 
42  ClassDef(StPxlLadderHitCollection,1)
43 };
44 
45 inline unsigned int StPxlLadderHitCollection::numberOfSensors() const { return mNumberOfSensors; }
46 
47 #endif