Message: Re: Creating an Isotope and applying it to the particle gun Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Creating an Isotope and applying it to the particle gun 

Forum: Particles
Re: None Creating an Isotope and applying it to the particle gun (Matthew Gignac)
Re: None Re: Creating an Isotope and applying it to the particle gun (Michael H. Kelsey)
Re: None Re: Creating an Isotope and applying it to the particle gun (Matthew Gignac)
Date: 13 Nov, 2010
From: michel maire <michel maire>

On Sat, 13 Nov 2010 16:29:25 GMT, Matthew Gignac wrote:
> So what do all the parameters mean? I know z and a, but what is the third parameter? I am not successfully able to run this...
> 
> Thanks again for your help! Much appreciated!
> 
> Cheers, 
> Matthew
> 

    G4int Z = 10, A = 24;
    G4double ionCharge   = 0.*eplus;
    G4double excitEnergy = 0.*keV;

    G4ParticleDefinition* ion
       = G4ParticleTable::GetParticleTable()->GetIon(Z,A,excitEnergy);
    particleGun->SetParticleDefinition(ion);
    particleGun->SetParticleCharge(ionCharge);

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

1 None: Re: Creating an Isotope and applying it to the particle gun   (Matthew Gignac - 13 Nov, 2010)
(_ None: Re: Creating an Isotope and applying it to the particle gun   (michel maire - 14 Nov, 2010)
(_ Idea: Re: Creating an Isotope and applying it to the particle gun   (Vladimir Ivanchenko - 14 Nov, 2010)
(_ None: Re: Creating an Isotope and applying it to the particle gun   (Matthew Gignac - 15 Nov, 2010)
(_ Ok: Re: Creating an Isotope and applying it to the particle gun   (Matthew Gignac - 15 Nov, 2010)
 Add Message Add Message
to: "Re: Creating an Isotope and applying it to the particle gun"

 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 ]