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

None Stuck on error with optical photons 

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

Hello, all! I'm trying to simulate a plastic scintillator with WLS fibers 
running through it.  What I've written so far works most of the time, but 
occasionally I encounter the following error:
"
Exiting from G4Scintillation::DoIt -- NumberOfSecondaries = 5345

-----------------------------------------------------------
    *** Dump for solid - s_core ***
    ===================================================
 Solid type: G4Tubs
 Parameters:
    inner radius : 0 mm
    outer radius : 0.4925 mm
    half length Z: 100 mm
    starting phi : 0 degrees
    delta phi    : 360 degrees
-----------------------------------------------------------
Position:

p.x() = -0.2305615475889624 mm
p.y() = -0.3432094879357805 mm
p.z() = 8.160033998032439 mm

Direction:

v.x() = nan
v.y() = nan
v.z() = nan

Proposed distance :

snxt = 9e+99 mm

G4VParticleChange::SetNumberOfSecondaries() Warning  theListOfSecondaries is not empty
*** G4Exception : Notification
      issued by : G4Tubs::DistanceToOut(p,v,..)
Undefined side for valid surface normal to solid.
*** This is just a warning message.
Segmentation fault (core dumped)
"

To the best of my knowledge, this error happens randomly, as I have not 
found a way to reproduce it. If anyone has any help or suggestions to offer, 
I'd really appreciate it.
Thanks!

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

1 Idea: Re: Stuck on error with optical photons   (Peter Gumplinger - 30 Nov, 2005)
(_ More: Re: Stuck on error with optical photons   (Peter Gumplinger - 30 Nov, 2005)
(_ 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: "Stuck on error with optical photons"

 Subscribe Subscribe

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