Message: Re: Stuck on error with optical photons Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

More Re: Stuck on error with optical photons 

Keywords: optical photon
Forum: Processes Involving Optical Photons
Date: 30 Nov, 2005
From: Gumplinger Peter <Gumplinger Peter>

Ben,

On second thought, it could also be that the direction of a photon after the G4OpBoundaryProcess, i.e. after refraction or reflection becomes nan. In that case, the debug printout I just suggested won't help. It's possible that the normal to a surface is wacky. Any chance that you can isolate the event and the track and print its step history.

You can also check NewMomentum for nan in G4OpBoundaryProcess::DoIt just before:

        aParticleChange.ProposeMomentumDirection(NewMomentum);
        aParticleChange.ProposePolarization(NewPolarization);

Peter

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

1 None: Re: Stuck on error with optical photons   (Ben Loer - 05 Dec, 2005)
(_ More: Re: Stuck on error with optical photons   (Peter Gumplinger - 06 Dec, 2005)
(_ Feedback: Re: Stuck on error with optical photons   (Ben Loer - 07 Dec, 2005)
 Add Message Add Message
to: "Re: Stuck on error with optical photons"

 Subscribe Subscribe

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