Message: Re: Ion gets a strange boost when emitting gamma ray (G4RadioactiveDecay) Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Ion gets a strange boost when emitting gamma ray (G4RadioactiveDecay) 

Forum: Hadronic Processes
Re: None Ion gets a strange boost when emitting gamma ray (G4RadioactiveDecay)
Date: 14 Dec, 2012
From: <ljungvall@csnsm.in2p3.fr>

Hi again,

I was wrong about what is going on... the thing that is happening is that in

 G4PrimaryTransformer around line 190 we have

   if (primaryParticle->GetCharge()<DBL_MAX) {
      if (partDef->GetAtomicNumber() <0) {
	DP->SetCharge(primaryParticle->GetCharge());
      } else {
	// ions
	G4int iz = partDef->GetAtomicNumber();
	G4int iq = static_cast<int>(primaryParticle->GetCharge()/eplus);
	G4int n_e = iz - iq;
	if (n_e>0) DP->AddElectron(0,n_e);  
       }
    } 

add in my case i get 63 electrons added ~ 30 MeV, that is my kinetic energy that is added. So if I create an ion with 76+ as charge state it seems to work as it should. This is probably a "fix" for my problem but someone should think a bit about how to handle this is in a manner that works...

cheers

Joa

 Add Message Add Message
to: "Re: Ion gets a strange boost when emitting gamma ray (G4RadioactiveDecay)"

 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 ]