As mentioned in issue #23, it would be nice to have the local position in the output tree as well (e.g. for getting target depths)
It's possible to convert from global to local position in Geant4 fairly easily (see the Geant4 FAQ) and looking in MonitorSD.cc, we only have calls to preStepPoint->GetPosition(), which is the global position.
As mentioned in issue #23, it would be nice to have the local position in the output tree as well (e.g. for getting target depths)
It's possible to convert from global to local position in Geant4 fairly easily (see the Geant4 FAQ) and looking in MonitorSD.cc, we only have calls to
preStepPoint->GetPosition()
, which is the global position.