00001 00005 /*************************************************************************** 00006 * 00007 * $Id: StEmcModule.h,v 2.4 2004/07/20 17:07:49 perev Exp $ 00008 * 00009 * Author: Akio Ogawa, Jan 2000 00010 *************************************************************************** 00011 * 00012 * Description: 00013 * 00014 *************************************************************************** 00015 * 00016 * $Log: StEmcModule.h,v $ 00017 * Revision 2.4 2004/07/20 17:07:49 perev 00018 * Pavlinov corrs for TBrowser 00019 * 00020 * Revision 2.3 2002/02/22 22:56:47 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:35 ullrich 00025 * Replaced all (U)Long_t by (U)Int_t and all redundant ROOT typedefs. 00026 * 00027 * Revision 2.1 2000/02/23 17:34:11 ullrich 00028 * Initial Revision 00029 * 00030 **************************************************************************/ 00031 #ifndef StEmcModule_hh 00032 #define StEmcModule_hh 00033 00034 #include "StObject.h" 00035 #include "StContainers.h" 00036 00037 class StEmcModule : public StObject { 00038 public: 00039 StEmcModule(); 00040 ~StEmcModule(); 00041 // StEmcModule(const StEmcModule&); use default 00042 // StEmcModule& operator=(const StEmcModule&); use default 00043 00044 unsigned int numberOfHits() const; 00045 void printNumberOfHits() const; // *MENU* 00046 double getEnergy(const int pri=0) const; // *MENU* 00047 00048 StSPtrVecEmcRawHit& hits(); 00049 const StSPtrVecEmcRawHit& hits() const; 00050 00051 // 15-sep-2003 by PAI 00052 // virtual void Browse(TBrowser *b); 00053 virtual bool IsFolder() const; 00054 00055 private: 00056 StSPtrVecEmcRawHit mHits; 00057 ClassDef(StEmcModule,1) 00058 }; 00059 #endif
1.5.9