Message: Re: How to obtain the number of photon reflections? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: How to obtain the number of photon reflections? 

Keywords: optical photon reflections
Forum: Processes Involving Optical Photons
Date: 02 Feb, 2004
From: Gumplinger Peter <Gumplinger Peter>

> Instead of checking materials between pre- and post-stepPoint,
> I would suggest to check the step status. If the step status is
> "fGeomBoundary", that particular step was limited by the
> transportation process at the volume boundary.

The G4OpBoundaryProcess is a 'forced' process. It is called at every step whether that step ends at a boundary or not. However, its DoIt checks the step status. If it's not 'fGeomBoundary' it returns. It also returns, does nothing, if 'fGeomBoundary' but medium#1 and medium#2 are identical. The problem, which is a BUG at present, is that the G4OpBoundaryProcess status is not initialized to 'undefined' at the beginning of the DoIt and hence, when medium#1 == medium#2, remains what it was in a previous invocation that actually triggered essential code in the DoIt.

Therefore, for the moment please check the 'fGeomBoundary' status AND the media before trusting the G4OpBoundaryProcess status.

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

 Add Message Add Message
to: "Re: How to obtain the number of photon reflections?"

 Subscribe Subscribe

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