StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StMcPxlLadderHitCollection.hh
1 /***************************************************************************
2  *
3  * $Id: StMcPxlLadderHitCollection.hh,v 2.1 2013/03/25 23:50:36 perev Exp $
4  * $Log: StMcPxlLadderHitCollection.hh,v $
5  * Revision 2.1 2013/03/25 23:50:36 perev
6  * Mustafa.Pxl add
7  *
8  *
9  **************************************************************************/
10 #ifndef StMcPxlLadderHitCollection_hh
11 #define StMcPxlLadderHitCollection_hh
12 
13 #include "StObject.h"
14 #include "StMcPxlSensorHitCollection.hh"
15 
16 
18 {
19 public:
21  virtual ~StMcPxlLadderHitCollection();
22 
23  unsigned int numberOfHits() const;
24  unsigned int numberOfSensors() const;
25 
26  StMcPxlSensorHitCollection* sensor(unsigned int);
27  const StMcPxlSensorHitCollection* sensor(unsigned int) const;
28 
29 protected:
30  enum { kNumberOfSensors = 10 };
31  StMcPxlSensorHitCollection mSensors[kNumberOfSensors];
32 
33  ClassDef(StMcPxlLadderHitCollection,1)
34 };
35 
36 inline unsigned int StMcPxlLadderHitCollection::numberOfSensors() const {return kNumberOfSensors;}
37 #endif