24 string GdmlManagementPath = getenv(
"GDMLMANAGEMENTROOT");
25 if (GdmlManagementPath ==
"") cout <<
"MRPCG4Geo::GdmlManagementPath not set" << endl;
28 string GdmlFile = GdmlManagementPath + string(
"/dat/Tof_mrpc.gdml");
29 cout <<
"Construct new Tof (including MRPC as EC Tof) from GdmlFile " << GdmlFile << endl;
43 if (!
m_TopVolume) cout <<
"MRPCG4Geo::InitFromGdml, m_TopVolume not found" << endl;
44 else cout <<
"MRPC TopVolume name " <<
m_TopVolume->GetName() << endl;
void InitFromGdml(const char *gdmlFile, const char *setupName)
Initialize the instance of G4Geo.
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