Message: Re: how to add multiple particle guns Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: how to add multiple particle guns 

Keywords: Particle gun
Forum: Particles
Re: None how to add multiple particle guns (rajani)
Date: 17 Mar, 2006
From: Makoto Asai <Makoto Asai>

In GeneratePrimaries() method of your primary generator action,
you can set a particle type, momentum direction, kinetic energy, etc.,
to G4ParticleGun for each of your primary particle and invoke
GeneratePrimaryVertex() method of G4ParticleGun as many times as
you need.

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

1 None: Re: how to add multiple particle guns   (seth - 28 Jun, 2007)
 Add Message Add Message
to: "Re: how to add multiple particle guns"

 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 ]