00001 //$id$ 00002 /* 00003 * 2007/05/15 Miao He <hem@ihep.ac.cn> 00004 * Emc Geometry General for Simulation 00005 * inherit from class SubDetectorG4Geo 00006 */ 00007 00008 #ifndef EMC_G4_GEO_H 00009 #define EMC_G4_GEO_H 00010 00011 #include "SubDetectorG4Geo.h" 00012 00018 class EmcG4Geo : public SubDetectorG4Geo 00019 { 00020 public: 00021 00023 EmcG4Geo(); 00024 00026 ~EmcG4Geo(); 00027 00029 static EmcG4Geo *Instance(); 00030 00032 void InitFromGdml( const char *gdmlFile, const char *setupName ); 00033 00035 void SetDefaultVis(); 00036 00037 private: 00038 00039 // Pointer to the instance of MucG4Geo. 00040 static EmcG4Geo *m_pEmcG4Geo; 00041 00042 00043 }; 00044 00045 #endif /* EMC_G4_GEO_H */