00001 00005 /*************************************************************************** 00006 * 00007 * $Id: StTpcHitCollection.h,v 2.4 2009/11/23 16:34:07 fisyak Exp $ 00008 * 00009 * Author: Thomas Ullrich, July 1999 00010 *************************************************************************** 00011 * 00012 * Description: 00013 * 00014 *************************************************************************** 00015 * 00016 * $Log: StTpcHitCollection.h,v $ 00017 * Revision 2.4 2009/11/23 16:34:07 fisyak 00018 * Cleanup, remove dependence on dst tables, clean up software monitors 00019 * 00020 * Revision 2.3 2002/02/22 22:56:52 jeromel 00021 * Doxygen basic documentation in all header files. None of this is required 00022 * for QM production. 00023 * 00024 * Revision 2.2 2001/04/05 04:00:44 ullrich 00025 * Replaced all (U)Long_t by (U)Int_t and all redundant ROOT typedefs. 00026 * 00027 * Revision 2.1 1999/10/13 19:44:00 ullrich 00028 * Initial Revision 00029 * 00030 **************************************************************************/ 00031 #ifndef StTpcHitCollection_hh 00032 #define StTpcHitCollection_hh 00033 00034 #include "StObject.h" 00035 #include "StTpcSectorHitCollection.h" 00036 00037 class StTpcHit; 00038 00039 class StTpcHitCollection : public StObject { 00040 public: 00041 StTpcHitCollection(); 00042 ~StTpcHitCollection(); 00043 // StTpcHitCollection(const StTpcHitCollection&); use default 00044 // StTpcHitCollection& operator=(const StTpcHitCollection&); use default 00045 00046 bool addHit(StTpcHit*); 00047 unsigned int numberOfHits() const; 00048 unsigned int numberOfSectors() const {return mNumberOfSectors; } 00049 00050 StTpcSectorHitCollection* sector(unsigned int); 00051 const StTpcSectorHitCollection* sector(unsigned int) const; 00052 00053 private: 00054 enum { mNumberOfSectors = 24 }; 00055 StTpcSectorHitCollection mSectors[mNumberOfSectors]; 00056 00057 ClassDef(StTpcHitCollection,1) 00058 }; 00059 #endif
1.5.9