Message: What "G4ParticleDefinition should be created in PreInit state" means? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question What "G4ParticleDefinition should be created in PreInit state" means? 

Forum: Physics List
Date: 21 Feb, 2010
From: Suhaili Zakaria <Suhaili Zakaria>

Hi

I am running a simulation using the latest version 9.3 My simulation code compiled nicely but when I ran the simulation, this message appears:

G4ParticleDefintion (other than ions) should be created in Pre_Init state proton

*** G4Exception : Illegal operation
      issued by : G4ParticleDefintion::G4ParticleDefintion
G4ParticleDefinition should be created in PreInit state
*** This is just a warning message.
G4ParticleDefintion (other than ions) should be created in Pre_Init state  neutron

*** G4Exception : Illegal operation
      issued by : G4ParticleDefintion::G4ParticleDefintion
G4ParticleDefinition should be created in PreInit state
*** This is just a warning message.

FYI, I use ion source (Y90) and define it using GPS. I believe I have initialize the particle in the Pre_Init state. And this message only appears when I ran for more than 1000 particles. Is this just a normal warning or are they something that I have left out?

Many thanks for your input.

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

1 Idea: Re: What   (Vladimir Ivanchenko - 15 Apr, 2010)
2 News: Re: What   (Gergely Soti - 16 Apr, 2010)
 Add Message Add Message
to: "What "G4ParticleDefinition should be created in PreInit state" means?"

 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 ]