00001 00005 /*************************************************************************** 00006 * 00007 * $Id: StSvtBarrelHitCollection.h,v 2.3 2002/02/22 22:56:50 jeromel Exp $ 00008 * 00009 * Author: Thomas Ullrich, Feb 2000 00010 *************************************************************************** 00011 * 00012 * Description: 00013 * 00014 *************************************************************************** 00015 * 00016 * $Log: StSvtBarrelHitCollection.h,v $ 00017 * Revision 2.3 2002/02/22 22:56:50 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:42 ullrich 00022 * Replaced all (U)Long_t by (U)Int_t and all redundant ROOT typedefs. 00023 * 00024 * Revision 2.1 2000/02/17 18:15:11 ullrich 00025 * Initial Revision 00026 * 00027 **************************************************************************/ 00028 #ifndef StSvtBarrelHitCollection_hh 00029 #define StSvtBarrelHitCollection_hh 00030 00031 #include "StObject.h" 00032 #include "StSvtLadderHitCollection.h" 00033 00034 class StSvtBarrelHitCollection : public StObject { 00035 public: 00036 StSvtBarrelHitCollection(); 00037 ~StSvtBarrelHitCollection(); 00038 // StSvtBarrelHitCollection(const StSvtBarrelHitCollection&); use default 00039 // const StSvtBarrelHitCollection& 00040 // operator=(const StSvtBarrelHitCollection&); use default 00041 00042 unsigned int numberOfHits() const; 00043 unsigned int numberOfLadders() const; 00044 00045 StSvtLadderHitCollection* ladder(unsigned int); 00046 const StSvtLadderHitCollection* ladder(unsigned int) const; 00047 00048 void setBarrelNumber(int); 00049 00050 private: 00051 enum { mMaxNumberOfLadders = 16 }; 00052 Int_t mBarrelNumber; 00053 StSvtLadderHitCollection mLadders[mMaxNumberOfLadders]; 00054 00055 ClassDef(StSvtBarrelHitCollection,1) 00056 }; 00057 #endif
1.5.9