20EmcG4Geo::m_pEmcG4Geo = 0L;
24 string GdmlManagementPath = getenv(
"GDMLMANAGEMENTROOT");
25 if (GdmlManagementPath ==
"") cout <<
"EmcG4Geo::GdmlManagementPath not set!" << endl;
26 string GdmlFile = GdmlManagementPath + string(
"/dat/Emc.gdml");
27 cout <<
"Construct Emc from GdmlFile " << GdmlFile << endl;
39 if (!
m_TopVolume) cout <<
"EmcG4Geo::InitFromGdml, m_TopVolume not found" << endl;
40 else cout <<
"Emc TopVolume name " <<
m_TopVolume->GetName() << endl;
static EmcG4Geo * Instance()
Get a pointer to the single instance of EmcG4Geo.
void SetDefaultVis()
Set default visual attributes;.
void InitFromGdml(const char *gdmlFile, const char *setupName)
Initialize the instance of G4Geo.
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