00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef StMcMtdHitCollection_hh
00017 #define StMcMtdHitCollection_hh
00018 #include "StMcContainers.hh"
00019 #include "StObject.h"
00020
00021 class TBrowser;
00022 class StMcMtdHit;
00023
00024 class StMcMtdHitCollection : public StObject {
00025 public:
00026 StMcMtdHitCollection();
00027 virtual ~StMcMtdHitCollection();
00028 void Clear(const char* opt="");
00029 bool IsFolder() const { return true;};
00030 virtual void Browse(TBrowser *b);
00031 bool addHit(StMcMtdHit*);
00032 unsigned long numberOfHits() const;
00033
00034 StSPtrVecMcMtdHit& hits();
00035 const StSPtrVecMcMtdHit& hits() const;
00036
00037 protected:
00038 StSPtrVecMcMtdHit mHits;
00039 ClassDef(StMcMtdHitCollection,1)
00040 };
00041 #endif