20 #include <G4VPhysicalVolume.hh>
25 std::string path_name;
27 for (Geant4PlacementPath::const_reverse_iterator pIt = path.rbegin(); pIt != path.rend(); ++pIt) {
28 path_name +=
"/"; path_name += (*pIt)->GetName();
32 for (Geant4PlacementPath::const_iterator pIt = path.begin(); pIt != path.end(); ++pIt) {
33 path_name +=
"/"; path_name += (*pIt)->GetName();
41 :
TNamed(
"Geant4GeometryInfo",
"Geant4GeometryInfo"), m_world(0), printLevel(DEBUG),
valid(false) {
54 except(
"Geant4GeometryInfo",
"Attempt to access invalid world placement");
60 Geant4GeometryMaps::PlacementMap::const_iterator g4it =
g4Placements.find(node);
61 G4VPhysicalVolume* g4 = (g4it ==
g4Placements.end()) ? 0 : (*g4it).second;
63 except(
"Geant4GeometryInfo",
"Attempt to SET invalid world placement");