00001 /*************************************************************************** 00002 * 00003 * $Id: StMcIstHitCollection.hh,v 2.5 2012/03/22 00:43:52 perev Exp $ 00004 * $Log: StMcIstHitCollection.hh,v $ 00005 * Revision 2.5 2012/03/22 00:43:52 perev 00006 * private => protected 00007 * 00008 * Revision 2.4 2009/07/24 19:08:07 perev 00009 * Cleanup + Btof added (Geurts) 00010 * 00011 * Revision 2.3 2009/02/06 15:38:12 fisyak 00012 * Jonathan: decoding for upgr15 geometry 00013 * 00014 * Revision 2.2 2005/05/11 20:54:29 calderon 00015 * Added persistency: ClassImp, ClassDef and inheritance from StObject. 00016 * 00017 * Revision 2.1 2004/09/14 05:00:29 calderon 00018 * Added support for Ist, Ssd and changes to Pixel, from "El Kai". 00019 * 00020 * Revision 2.1 2003/08/20 18:50:21 calderon 00021 * Addition of Tof classes and Pixel classes. Modified track, event, and 00022 * container code to reflect this. 00023 * Fix bug in StMcVertex and in clearing of some hit collections. 00024 * 00025 * 00026 **************************************************************************/ 00027 #ifndef StMcIstHitCollection_hh 00028 #define StMcIstHitCollection_hh 00029 00030 #include "StMcIstLayerHitCollection.hh" 00031 class StMcIstHit; 00032 00033 class StMcIstHitCollection : public StObject { 00034 public: 00035 00036 StMcIstHitCollection(); 00037 virtual ~StMcIstHitCollection(); 00038 00039 bool addHit(StMcIstHit*); 00040 unsigned long numberOfHits() const; 00041 unsigned int numberOfLayers() const; 00042 00043 StMcIstLayerHitCollection* layer(unsigned int); 00044 const StMcIstLayerHitCollection* layer(unsigned int) const; 00045 protected: 00046 enum { mNumberOfLayers = 1 }; 00047 StMcIstLayerHitCollection mLayers[mNumberOfLayers]; 00048 ClassDef(StMcIstHitCollection,1) 00049 }; 00050 #endif
1.5.9