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