Skip to content

Commit

Permalink
Improve debugging of g4units slot
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusFrankATcernch committed Mar 21, 2024
1 parent 63685d3 commit 87757a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DDG4/src/Geant4SensDetAction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -279,9 +279,9 @@ long long int Geant4Sensitive::cellID(const G4Step* step) {
error("....... TGeo-local: (%f, %f, %f) TGeo-global: (%f, %f, %f)",
loc.x(), loc.y(), loc.z(), glob.x(), glob.y(), glob.z());
if ( h.pre )
error("....... Pre-step: %s SD: %s", h.volName(h.pre), h.sdName(h.pre));
error("....... Pre-step: %s SD: %s", h.volName(h.pre), h.sdName(h.pre).c_str());
if ( h.post )
error("....... Post-step: %s SD: %s", h.volName(h.post), h.sdName(h.post));
error("....... Post-step: %s SD: %s", h.volName(h.post), h.sdName(h.post).c_str());
std::rethrow_exception(eptr);
}
}
Expand Down

0 comments on commit 87757a3

Please sign in to comment.