I’m following the instructions at http://geant4-userdoc.web.cern.ch/geant4-userdoc/UsersGuides/ForApplicationDeveloper/BackupVersions/V10.5-2.0/html/Detector/parallelWorld.html to build a parallel world volume and assign a sensitive detector. This is working partially, in that the sensitive detector I have assigned to a volume in my parallel world is getting hits. BUT the behavior does not match the description on the developer’s guide in two important ways:
- Particles are not stopping (i.e. starting a new G4Step) at parallel world boundaries.
- The
G4Step*
received by theG4VSensitiveDetector::ProcessHits
function refers to the main world, not the parallel world, verified by simply looking at the associated volume names
Any suggestions on what to look for to debug this? Some extra step I need to take that is not documented in the referred guide?
Many thanks,
~Ben