00001 /*************************************************************************** 00002 * 00003 * $Id: StMcTpcHitCollection.hh,v 2.4 2012/03/22 00:50:46 perev Exp $ 00004 * $Log: StMcTpcHitCollection.hh,v $ 00005 * Revision 2.4 2012/03/22 00:50:46 perev 00006 * private => protected 00007 * 00008 * Revision 2.3 2009/07/24 19:08:09 perev 00009 * Cleanup + Btof added (Geurts) 00010 * 00011 * Revision 2.2 2005/01/27 23:40:49 calderon 00012 * Adding persistency to StMcEvent as a step for Virtual MonteCarlo. 00013 * 00014 * Revision 2.1 1999/11/19 19:06:34 calderon 00015 * Recommit after redoing the files. 00016 * 00017 * Revision 2.0 1999/11/17 02:12:16 calderon 00018 * Completely revised for new StEvent 00019 * 00020 * Revision 1.2 1999/09/23 21:25:53 calderon 00021 * Added Log & Id 00022 * Modified includes according to Yuri 00023 * 00024 * 00025 **************************************************************************/ 00026 #ifndef StMcTpcHitCollection_hh 00027 #define StMcTpcHitCollection_hh 00028 00029 #include "StMcTpcSectorHitCollection.hh" 00030 00031 class StMcTpcHit; 00032 00033 class StMcTpcHitCollection : public StObject { 00034 public: 00035 StMcTpcHitCollection(); 00036 virtual ~StMcTpcHitCollection(); 00037 // StMcTpcHitCollection(const StMcTpcHitCollection&); use default 00038 // StMcTpcHitCollection& operator=(const StMcTpcHitCollection&); use default 00039 00040 bool addHit(StMcTpcHit*); 00041 unsigned long numberOfHits() const; 00042 unsigned int numberOfSectors() const; 00043 00044 StMcTpcSectorHitCollection* sector(unsigned int); 00045 const StMcTpcSectorHitCollection* sector(unsigned int) const; 00046 00047 protected: 00048 enum { mNumberOfSectors = 24 }; 00049 StMcTpcSectorHitCollection mSectors[mNumberOfSectors]; 00050 ClassDef(StMcTpcHitCollection,1) 00051 }; 00052 00053 #endif
1.5.9