Message: Re: Unsupported Particle Exception Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Unsupported Particle Exception 

Forum: Hadronic Processes
Re: None Unsupported Particle Exception (Grant)
Date: 13 Jul, 2011
From: Paul Nicholas Colin Gloster <Paul Nicholas Colin Gloster>

Grant <gamcauley@gmail.com> sent on July 11th, 2011:
|------------------------------------------------------------------------|
|"I am seeing the following error in my simulation:                      |
|                                                                        |
|*** G4Exception : 007                                                   |
|      issued by : G4HadronCrossSections                                 |
|GetParticleCode: unsupported particle                                   |
|*** Fatal Exception *** core dump ***                                   |
|                                                                        |
|The exception apparently is thrown by the                               |
|G4HadronCrossSections::GetParticleCode method. [..]                     |
|[..]                                                                    |
|                                                                        |
|[..]                                                                    |
|                                                                        |
|Is the GenericIon code correct? Is the error likely coming from this    |
|code or from another place (eg, a dynamical created particle)? The event|
|is very rare - it occurs once every 5 hours of computing time when      |
|simulating dose delivered to a water phantom with 100MeV protons - how  |
|would I track down what exactly is happending here?                     |
|                                                                        |
|[..]"                                                                   |
|------------------------------------------------------------------------|


Who knows? In
G4int
G4HadronCrossSections::GetParticleCode(const G4DynamicParticle* aParticle)
what are the values of
aParticle->GetPDGcode()
and
aParticle->GetDefinition()->GetParticleName()
and
aParticle->DumpInfo(0)
when the crash happens?

Did you use a reverse debugger to determine how the crashing particle
was created?

 Add Message Add Message
to: "Re: Unsupported Particle Exception"

 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 ]