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