00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef StMcPixelHitCollection_hh
00022 #define StMcPixelHitCollection_hh
00023
00024 #include "StMcPixelLayerHitCollection.hh"
00025 class StMcPixelHit;
00026
00027 class StMcPixelHitCollection : public StObject {
00028 public:
00029
00030 StMcPixelHitCollection();
00031 virtual ~StMcPixelHitCollection();
00032
00033 bool addHit(StMcPixelHit*);
00034 unsigned long numberOfHits() const;
00035 unsigned int numberOfLayers() const;
00036
00037 StMcPixelLayerHitCollection* layer(unsigned int);
00038 const StMcPixelLayerHitCollection* layer(unsigned int) const;
00039 protected:
00040 enum { mNumberOfLayers = 2 };
00041 StMcPixelLayerHitCollection mLayers[mNumberOfLayers];
00042 ClassDef(StMcPixelHitCollection,1)
00043 };
00044 #endif