Message: Illegal PDG Encoding issue. What does that error even mean? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Illegal PDG Encoding issue. What does that error even mean? 

Forum: Particles
Date: 11 Sep, 2014
From: <ZachB>

So I'm getting a weird error/warning message and I suspect it is causing the infinite loop issue I am getting when trying to process a He1 particle. Google was not helpful in solving the issue. The error is posted below, as is the physics information I'm using and the gdml file is attached. Any and all help would be much appreciated. For reference, I am firing thermal neutrons from the world volume into the center of a shielding device. If this is the wrong board, let me know. Thanks.

Error:
G4NucleiProperties::GetNuclearMass: Wrong values for A = 1 and Z = 2
G4NucleiProperties::GetNuclearMass: Wrong values for A = 1 and Z = 2
 G4PDGCodeChecker::CheckPDGCode :  ???  Illegal PDG encoding for nucleus  PDG code=1000020010
Particle He1 has a strange PDGEncoding 

-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : PART102
      issued by : G4ParticleDefintion::G4ParticleDefintion
Strange PDGEncoding 
*** This is just a warning message. ***
-------- WWWW -------- G4Exception-END --------- WWWW -------

Physics list:

mtcPhysicsList::mtcPhysicsList()
	:G4VModularPhysicsList(){

	int verbosity = 1;
	this->RegisterPhysics(new G4EmStandardPhysics());
	this->RegisterPhysics(new G4HadronPhysicsQGSP_BERT_HP());
	this->RegisterPhysics(new G4IonPhysics(verbosity));
	this->RegisterPhysics(new G4EmExtraPhysics(verbosity));

}

void mtcPhysicsList::ConstructParticle()
{ 
	//Constructs all of the particles that we are concerned about

  G4BosonConstructor  pBosonConstructor;
  pBosonConstructor.ConstructParticle();

  G4LeptonConstructor pLeptonConstructor;
  pLeptonConstructor.ConstructParticle();

  G4MesonConstructor pMesonConstructor;
  pMesonConstructor.ConstructParticle();

  G4BaryonConstructor pBaryonConstructor;
  pBaryonConstructor.ConstructParticle();

  G4IonConstructor pIonConstructor;
  pIonConstructor.ConstructParticle();

  G4ShortLivedConstructor pShortLivedConstructor;
  pShortLivedConstructor.ConstructParticle();

  G4Gamma::GammaDefinition();
}

   Attachment:
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2014/09/11/12.13-66492-mTC_Geometry.gdml

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

1 None: Re: Illegal PDG Encoding issue. What does that error even mean?   (Tom Roberts - 11 Sep, 2014)
2 None: Re: Illegal PDG Encoding issue. What does that error even mean?   (Makoto Asai - 11 Sep, 2014)
1 Idea: Re: Illegal PDG Encoding issue. What does that error even mean?   (Vladimir Ivanchenko - 13 Sep, 2014)
3 None: Re: Illegal PDG Encoding issue. What does that error even mean?   (Maduka Kaluarachchi - 03 Jul, 2016)
 Add Message Add Message
to: "Illegal PDG Encoding issue. What does that error even mean?"

 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 ]