Skip to content
Snippets Groups Projects
Commit ffc01690 authored by Markus Frank's avatar Markus Frank Committed by MarkusFrankATcernch
Browse files

Have better validity checks of the Geant4VolumeManager when checking volume id

parent 138b9c9b
No related branches found
No related tags found
No related merge requests found
...@@ -339,8 +339,8 @@ VolumeID Geant4VolumeManager::volumeID(const G4VTouchable* touchable) const { ...@@ -339,8 +339,8 @@ VolumeID Geant4VolumeManager::volumeID(const G4VTouchable* touchable) const {
return Insensitive; return Insensitive;
} }
printout(INFO, "Geant4VolumeManager", "+++ Bad Geant4 volume path: \'%s\' Path empty: %s [missing entry]", printout(INFO, "Geant4VolumeManager", "+++ Bad Geant4 volume path: \'%s\' Path empty: %s [missing entry (%ld)]",
Geant4TouchableHandler::placementPath(path).c_str(), yes_no(path.empty())); Geant4TouchableHandler::placementPath(path).c_str(), yes_no(path.empty()), ptr()->g4Paths.size());
return NonExisting; return NonExisting;
} }
printout(INFO, "Geant4VolumeManager", "+++ Bad Geant4 volume path: \'%s\' Path empty: %s", printout(INFO, "Geant4VolumeManager", "+++ Bad Geant4 volume path: \'%s\' Path empty: %s",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment