00001 //$id$ 00002 /* 00003 * 2005/10/31 Zhengyun You Peking University 00004 * Muc Geometry General for Simulation 00005 * inherit from class SubDetectorG4Geo 00006 */ 00007 00008 #ifndef MUC_G4_GEO_H 00009 #define MUC_G4_GEO_H 00010 00011 #include "SubDetectorG4Geo.h" 00012 00021 class MucG4Geo : public SubDetectorG4Geo 00022 { 00023 public: 00024 00026 MucG4Geo(); 00027 00029 ~MucG4Geo(); 00030 00032 static MucG4Geo *Instance(); 00033 00035 void InitFromGdml( const char *gdmlFile, const char *setupName ); 00036 00038 void SetDefaultVis(); 00039 00040 private: 00041 00042 // Pointer to the instance of MucG4Geo. 00043 static MucG4Geo *m_pMucG4Geo; 00044 }; 00045 00046 #endif /* MUC_G4_GEO_H */