00001 /*************************************************************************** 00002 * 00003 * $Id: StMcIstLayerHitCollection.hh,v 2.5 2012/03/22 00:44:33 perev Exp $ 00004 * 00005 * Author: Fabrice Retiere/Kai Schweda, Aug 2003 00006 *************************************************************************** 00007 * 00008 * Description: Monte Carlo Ist Layer Hit Collection class from Kai 00009 * 00010 * The pixel detector hits are stored here. 00011 * 00012 *************************************************************************** 00013 * 00014 * $Log: StMcIstLayerHitCollection.hh,v $ 00015 * Revision 2.5 2012/03/22 00:44:33 perev 00016 * private => protected 00017 * 00018 * Revision 2.4 2012/03/01 16:48:29 perev 00019 * method Browse() added 00020 * 00021 * Revision 2.3 2009/07/24 19:08:07 perev 00022 * Cleanup + Btof added (Geurts) 00023 * 00024 * Revision 2.2 2005/05/11 20:54:29 calderon 00025 * Added persistency: ClassImp, ClassDef and inheritance from StObject. 00026 * 00027 * Revision 2.1 2004/09/14 05:00:30 calderon 00028 * Added support for Ist, Ssd and changes to Pixel, from "El Kai". 00029 * 00030 * Revision 2.1 2003/08/20 18:50:21 calderon 00031 * Addition of Tof classes and Ist classes. Modified track, event, and 00032 * container code to reflect this. 00033 * Fix bug in StMcVertex and in clearing of some hit collections. 00034 * 00035 * 00036 * 00037 **************************************************************************/ 00038 #ifndef StMcIstLayerHitCollection_hh 00039 #define StMcIstLayerHitCollection_hh 00040 00041 #include "StMcContainers.hh" 00042 #include "StObject.h" 00043 00044 class StMcIstHit; 00045 00046 class StMcIstLayerHitCollection : public StObject { 00047 public: 00048 StMcIstLayerHitCollection(); 00049 virtual ~StMcIstLayerHitCollection(); 00050 void Clear(const char* opt=""); 00051 bool IsFolder() const { return true;}; 00052 virtual void Browse(TBrowser *b); 00053 00054 unsigned long numberOfHits() const; 00055 00056 StSPtrVecMcIstHit& hits(); 00057 const StSPtrVecMcIstHit& hits() const; 00058 00059 protected: 00060 StSPtrVecMcIstHit mHits; 00061 ClassDef(StMcIstLayerHitCollection,1) 00062 }; 00063 #endif
1.5.9