Message: Can parallel-world steps be accessed from mass-world step or process? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Can parallel-world steps be accessed from mass-world step or process? 

Forum: Geometry
Re: Question could sensitive detector be assigned without material feature? (Julien Zhu)
Re: None Re: could sensitive detector be assigned without material feature? (Makoto Asai)
Date: 08 Mar, 2017
From: Michael H. Kelsey <Michael H. Kelsey>

On Tue, 18 Aug 2015 14:49:16 GMT, Makoto Asai wrote:
> Please note that the G4Step you get in SD in a parallel world is for the
> parallel world and thus it has geometry information of the parallel
> world. To get the G4Step of tracking world for the material, you need
> the following.
> 
>   const G4Step* realWorldStep  = parallelWorldStep -> GetTrack() -> GetStep();

Is there any way to "invert" this access, or is the parallel world step only visible in an SD?

Specifically, supposed that I create a parallel-world volume which triggers a "boundary crossing" while a track is fully embedded in some mass-world volume. Is there any way for a process (not an SD) handling the step to get back the "parallelWorldStep" above and know that a special boundary crossing has happened?

  -- Mike Kelsey

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Can parallel-world steps be accessed from mass-world step or process?   (Makoto Asai - 08 Mar, 2017)
(_ Ok: Re: Can parallel-world steps be accessed from mass-world step or process?   (Michael H. Kelsey - 09 Mar, 2017)
 Add Message Add Message
to: "Can parallel-world steps be accessed from mass-world step or process?"

 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 ]