00001 00005 /*************************************************************************** 00006 * 00007 * $Id: StSvtHitCollection.h,v 2.4 2002/02/22 22:56:51 jeromel Exp $ 00008 * 00009 * Author: Thomas Ullrich, Sep 1999 00010 *************************************************************************** 00011 * 00012 * Description: 00013 * 00014 *************************************************************************** 00015 * 00016 * $Log: StSvtHitCollection.h,v $ 00017 * Revision 2.4 2002/02/22 22:56:51 jeromel 00018 * Doxygen basic documentation in all header files. None of this is required 00019 * for QM production. 00020 * 00021 * Revision 2.3 2001/04/05 04:00:43 ullrich 00022 * Replaced all (U)Long_t by (U)Int_t and all redundant ROOT typedefs. 00023 * 00024 * Revision 2.2 2000/02/17 18:13:14 ullrich 00025 * Changed the SVT hit storage model. Hits are now stored according 00026 * to barrel/ladder/wafer not by layer/ladder/wafer. 00027 * 00028 * Revision 2.1 1999/10/13 19:43:44 ullrich 00029 * Initial Revision 00030 * 00031 **************************************************************************/ 00032 #ifndef StSvtHitCollection_hh 00033 #define StSvtHitCollection_hh 00034 00035 #include "StObject.h" 00036 #include "StSvtBarrelHitCollection.h" 00037 class StSvtHit; 00038 00039 class StSvtHitCollection : public StObject { 00040 public: 00041 StSvtHitCollection(); 00042 ~StSvtHitCollection(); 00043 // StSvtHitCollection(const StSvtHitCollection&); use default 00044 // StSvtHitCollection& operator=(const StSvtHitCollection&); use default 00045 00046 bool addHit(StSvtHit*); 00047 unsigned int numberOfHits() const; 00048 unsigned int numberOfBarrels() const; 00049 00050 StSvtBarrelHitCollection* barrel(unsigned int); 00051 const StSvtBarrelHitCollection* barrel(unsigned int) const; 00052 00053 private: 00054 enum { mNumberOfBarrels = 3 }; 00055 StSvtBarrelHitCollection mBarrels[mNumberOfBarrels]; 00056 00057 ClassDef(StSvtHitCollection,1) 00058 }; 00059 #endif
1.5.9