Message: gamma with nan energy Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question gamma with nan energy 

Keywords: G4process
Forum: Physics List
Date: 23 Apr, 2003
From: Meiling Yu <yuml@mail.ihep.ac.cn>

Hi, I was simulating a particle go through watertank and generate Cerenkov photons by using geant4-04-00-patch-02. When the particle is a mu+, everything is ok., but if I change to pi+, the run terminates in some event and the message is

G4VProcess::SubtractNumberOfInteractionLengthLeft() negative currentInteractionLength

*** G4Exception: Aborting execution *** Aborted

When I set /tracking/verbose 1 , the track information is

......

*********************************************************************************************************
* G4Track Information:   Particle = pi0,   Track ID = 6008,   Parent ID = 1
*********************************************************************************************************

Step#    X(mm)    Y(mm)    Z(mm) KinE(MeV)  dE(MeV) StepLeng TrackLeng  NextVolume ProcName
    0 -1.11e+03    -36.2   0.0227       246        0        0         0 Tank           initStep
    1 -1.11e+03    -36.2   0.0228       246        0 6.44e-05  6.44e-05 Tank           Decay

*********************************************************************************************************
* G4Track Information:   Particle = gamma,   Track ID = 12818,   Parent ID = 6008
*********************************************************************************************************

Step#    X(mm)    Y(mm)    Z(mm) KinE(MeV)  dE(MeV) StepLeng TrackLeng  NextVolume ProcName
    0 -1.11e+03    -36.2   0.0228       nan        0        0         0 Tank           initStep
    1 -1.08e+03     -137      133       nan        0      170       170 detectorskin           Transportation

so here you see the energy of gamma is nan.

Is there anybody know what's wrong here?

Thanks a lot

Meiling Yu

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

1 Feedback: Re: gamma with nan energy   (Wellisch, J.P. - 23 Apr, 2003)
(_ None: Re: gamma with nan energy   (Meiling Yu - 23 Apr, 2003)
(_ None: Re: gamma with nan energy   (Christopher Cleven - 13 May, 2003)
 Add Message Add Message
to: "gamma with nan energy"

 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 ]