00001 /*************************************************************************** 00002 * 00003 * $Id: StMcPixelLayerHitCollection.hh,v 2.5 2012/03/22 00:46:36 perev Exp $ 00004 * 00005 * Author: Fabrice Retiere/Kai Schweda, Aug 2003 00006 *************************************************************************** 00007 * 00008 * Description: Monte Carlo Pixel Layer Hit Collection class from Kai 00009 * 00010 * The pixel detector hits are stored here. 00011 * 00012 *************************************************************************** 00013 * 00014 * $Log: StMcPixelLayerHitCollection.hh,v $ 00015 * Revision 2.5 2012/03/22 00:46:36 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:08 perev 00022 * Cleanup + Btof added (Geurts) 00023 * 00024 * Revision 2.2 2005/01/27 23:40:47 calderon 00025 * Adding persistency to StMcEvent as a step for Virtual MonteCarlo. 00026 * 00027 * Revision 2.1 2003/08/20 18:50:21 calderon 00028 * Addition of Tof classes and Pixel classes. Modified track, event, and 00029 * container code to reflect this. 00030 * Fix bug in StMcVertex and in clearing of some hit collections. 00031 * 00032 * 00033 * 00034 **************************************************************************/ 00035 #ifndef StMcPixelLayerHitCollection_hh 00036 #define StMcPixelLayerHitCollection_hh 00037 00038 #include "StMcContainers.hh" 00039 #include "StObject.h" 00040 00041 class StMcPixelHit; 00042 00043 class StMcPixelLayerHitCollection : public StObject 00044 { 00045 public: 00046 StMcPixelLayerHitCollection(); 00047 virtual ~StMcPixelLayerHitCollection(); 00048 void Clear(const char* opt=""); 00049 bool IsFolder() const { return true;}; 00050 virtual void Browse(TBrowser *b); 00051 00052 unsigned long numberOfHits() const; 00053 00054 StSPtrVecMcPixelHit& hits(); 00055 const StSPtrVecMcPixelHit& hits() const; 00056 00057 protected: 00058 StSPtrVecMcPixelHit mHits; 00059 ClassDef(StMcPixelLayerHitCollection,1) 00060 }; 00061 #endif
1.5.9