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