Message: Re: identifying physical volumes in a parallel world Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Ok Re: identifying physical volumes in a parallel world 

Forum: Geometry
Re: Question identifying physical volumes in a parallel world (Tom Roberts)
Date: 22 Jul, 2008
From: Tom Roberts <Tom Roberts>

I have figured this out: From the TransportationManager I can get the G4Navigator of the parallel world; from that I can get a G4TouchableHistory, and from that I can get the desired pointer to the G4VPhysicalVolume in the parallel world.

By following the prescription in the user's guide I got all this to work. I'm using G4ParallelWorldScoringProcess, even though I have no scoring in the parallel world (some Transportation process is needed in the parallel world, and that is the simplest I found).

I also found a bug that is probably rare except for the way my program behaves: if G4StepLimiter limits the step exactly at the edge of the world volume, with a parallel world and G4ParallelWorldScoringProcess active a fatal exception is generated. As long as the step leaving the world is limited by the CoupledTransportation process all is well, as is the case without a parallel world. I'll report this in the Geant4 bugzilla.

 Add Message Add Message
to: "Re: identifying physical volumes in a parallel world"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]