00001 00005 /*************************************************************************** 00006 * 00007 * $Id: StFtpcHitCollection.h,v 2.3 2002/02/22 22:56:48 jeromel Exp $ 00008 * 00009 * Author: Thomas Ullrich, Aug 1999 00010 *************************************************************************** 00011 * 00012 * Description: 00013 * 00014 *************************************************************************** 00015 * 00016 * $Log: StFtpcHitCollection.h,v $ 00017 * Revision 2.3 2002/02/22 22:56:48 jeromel 00018 * Doxygen basic documentation in all header files. None of this is required 00019 * for QM production. 00020 * 00021 * Revision 2.2 2001/04/05 04:00:36 ullrich 00022 * Replaced all (U)Long_t by (U)Int_t and all redundant ROOT typedefs. 00023 * 00024 * Revision 2.1 1999/10/13 19:43:06 ullrich 00025 * Initial Revision 00026 * 00027 **************************************************************************/ 00028 #ifndef StFtpcHitCollection_hh 00029 #define StFtpcHitCollection_hh 00030 00031 #include "StObject.h" 00032 #include "StFtpcPlaneHitCollection.h" 00033 class StFtpcHit; 00034 00035 class StFtpcHitCollection : public StObject { 00036 public: 00037 StFtpcHitCollection(); 00038 // StFtpcHitCollection(const StFtpcHitCollection&); use default 00039 // StFtpcHitCollection& operator=(const StFtpcHitCollection&); use default 00040 ~StFtpcHitCollection(); 00041 00042 bool addHit(StFtpcHit*); 00043 unsigned int numberOfHits() const; 00044 unsigned int numberOfPlanes() const; 00045 00046 StFtpcPlaneHitCollection* plane(unsigned int); 00047 const StFtpcPlaneHitCollection* plane(unsigned int) const; 00048 00049 private: 00050 enum { mNumberOfPlanes = 20 }; 00051 StFtpcPlaneHitCollection mPlanes[mNumberOfPlanes]; 00052 00053 ClassDef(StFtpcHitCollection,1) 00054 }; 00055 #endif
1.5.9