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