Message: How to creat Oxygen ion using PrticleGun? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question How to creat Oxygen ion using PrticleGun? 

Forum: Particles
Date: 29 Apr, 2010
From: abu husny <abu husny>

Dear all,
I will be appreciated if you help me to create an oxygen ion using paritcle gun.
In the manual i see some thing like:
********************************************************************
G4ParticleTable* particleTable = G4ParticleTable::GetParticleTable();
G4ParticleDefinition* GetIon( G4int atomicNumber, // Z = 8
                              G4int atomicMass, // A = 18
                              G4double charge ) ; //
                                   .
                                   .
                                   .

********************************************************************
I don't know what i have to do after this step. How can I use particleGun method?

I need that in hadrontherapyPrimaryGeneratorAction.cc

cheers,

Moh.Nobani

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

1 Feedback: Re: How to creat Oxygen ion using PrticleGun?   (Gumplinger Peter - 29 Apr, 2010)
(_ Question: Re: How to creat Oxygen ion using PrticleGun?   (abu husny - 30 Apr, 2010)
 Add Message Add Message
to: "How to creat Oxygen ion using PrticleGun?"

 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 ]