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