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