00001 /*************************************************************************** 00002 * 00003 * $Id: StMcRichHitCollection.hh,v 2.5 2012/03/22 00:47:08 perev Exp $ 00004 * 00005 * Author: Manuel Calderon de la Barca Sanchez, March 2000 00006 *************************************************************************** 00007 * 00008 * Description: Container for StMcRichHit 00009 * 00010 *************************************************************************** 00011 * 00012 * $Log: StMcRichHitCollection.hh,v $ 00013 * Revision 2.5 2012/03/22 00:47:08 perev 00014 * private => protected 00015 * 00016 * Revision 2.4 2012/03/01 16:48:29 perev 00017 * method Browse() added 00018 * 00019 * Revision 2.3 2009/07/24 19:08:08 perev 00020 * Cleanup + Btof added (Geurts) 00021 * 00022 * Revision 2.2 2005/01/27 23:40:47 calderon 00023 * Adding persistency to StMcEvent as a step for Virtual MonteCarlo. 00024 * 00025 * Revision 2.1 2000/03/06 18:05:22 calderon 00026 * 1) Modified SVT Hits storage scheme from layer-ladder-wafer to 00027 * barrel-ladder-wafer. 00028 * 2) Added Rich Hit class and collection, and links to them in other 00029 * classes. 00030 * 00031 * 00032 **************************************************************************/ 00033 #ifndef StMcRichHitCollection_hh 00034 #define StMcRichHitCollection_hh 00035 #include "StMcContainers.hh" 00036 #include "StObject.h" 00037 00038 class StMcRichHit; 00039 00040 class StMcRichHitCollection : public StObject { 00041 public: 00042 StMcRichHitCollection(); 00043 virtual ~StMcRichHitCollection(); 00044 // StMcRichHitCollection(const StMcRichHitCollection&); use default 00045 // StMcRichHitCollection& operator=(const StMcRichHitCollection&); use default 00046 void Clear(const char* opt=""); 00047 bool IsFolder() const { return true;}; 00048 virtual void Browse(TBrowser *b); 00049 00050 bool addHit(StMcRichHit*); 00051 unsigned long numberOfHits() const; 00052 00053 StSPtrVecMcRichHit& hits(); 00054 const StSPtrVecMcRichHit& hits() const; 00055 00056 protected: 00057 StSPtrVecMcRichHit mHits; 00058 ClassDef(StMcRichHitCollection,1) 00059 }; 00060 #endif
1.5.9