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