16#include "G4Geo/MucG4Geo.h"
17#include "Identifier/MucID.h"
22 string GdmlManagementPath = getenv(
"GDMLMANAGEMENTDATAROOT" );
23 if ( GdmlManagementPath ==
"" ) cout <<
"MucG4Geo::GdmlManagementPath not set" << endl;
24 string GdmlFile = GdmlManagementPath + string(
"/dat/Muc.gdml" );
25 cout <<
"Construct Muc from GdmlFile " << GdmlFile << endl;
34 if ( !
m_TopVolume ) cout <<
"MucG4Geo::InitFromGdml, m_TopVolume not found" << endl;
35 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