Message: Re: General Particle Source Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: General Particle Source 

Forum: Particles
Re: None General Particle Source (Colleen A. Wilson)
Date: 12 Aug, 2003
From: Giovanni Santin <Giovanni Santin>

Dear Colleen

indeed you can use GPS to generate your particle positions (and directions) and spectrum.

There is an on-line user manual at

but it has not been updated and is behind the current version of G4GeneralParticleSource distributed (the original version was by C Ferguson, F Lei & P Truscott, University of Southampton / Qinetiq). Still, it's useful.

There are various options both for the vertex position and the angular distribution. For the energy, you can input a differential spectrum.

GPS is used in the Geant4 "xray_telescope" advanced example, distributed with the release.

From the point of view of the C++ code it's very simple (this was the main aim of GPS): have a look in particular at XrayTelPrimaryGeneratorAction and at the macro files to have some usage examples.

Best regards,

Giovanni Santin
(Rhea System SA)
Space Environments and Effects Analysis
Keplerlaan 1, 2200 AG Noordwijk, Netherlands
Tel: +31 71 565 6267
Fax: +31 71 565 5420

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

 Add Message Add Message
to: "Re: General Particle Source"

 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 ]