21MucG4Geo::m_pMucG4Geo = 0L;
26 string GdmlManagementPath = getenv(
"GDMLMANAGEMENTROOT");
27 if (GdmlManagementPath ==
"") cout <<
"MucG4Geo::GdmlManagementPath not set" << endl;
28 string GdmlFile = GdmlManagementPath + string(
"/dat/Muc.gdml");
29 cout <<
"Construct Muc from GdmlFile " << GdmlFile << endl;
41 if (!
m_TopVolume) cout <<
"MucG4Geo::InitFromGdml, m_TopVolume not found" << endl;
42 else cout <<
"Muc TopVolume name " <<
m_TopVolume->GetName() << endl;
void InitFromGdml(const char *gdmlFile, const char *setupName)
Initialize the instance of G4Geo.
static MucG4Geo * Instance()
Get a pointer to the single instance of MucG4Geo.
void SetDefaultVis()
Set default visual attributes;.
void ReadGdml(const char *gdmlFile, const char *setupName)
Initialize the instance of G4Geo.
G4LogicalVolume * GetLogicalVolume(const std::string &vn)
Get a logical volume by name;.
G4LogicalVolume * m_TopVolume