24 string GdmlManagementPath = getenv(
"GDMLMANAGEMENTROOT");
25 if (GdmlManagementPath ==
"") cout <<
"MRPCG4Geo_dbs::GdmlManagementPath not set" << endl;
28 string GdmlFile = GdmlManagementPath + string(
"/dat/Tof_mrpc_dbs.gdml");
29 cout <<
"Construct new Tof (including MRPC (double sided readout) 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;.
MRPCG4Geo_dbs()
Constructor.
~MRPCG4Geo_dbs()
Destructor.
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