17#include "Identifier/MdcID.h"
18#include "G4Geo/MdcG4Geo.h"
22 string GdmlManagementPath = getenv(
"GDMLMANAGEMENTROOT");
23 if (GdmlManagementPath ==
"") cout <<
"MdcG4Geo::GdmlManagementPath not set" << endl;
24 string GdmlFile = GdmlManagementPath + string(
"/dat/Mdc.gdml");
25 cout <<
"Construct Mdc from GdmlFile " << GdmlFile << endl;
37 if (!
m_TopVolume) cout <<
"MdcG4Geo::InitFromGdml, m_TopVolume not found" << endl;
38 else cout <<
"Mdc 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