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

http://reat.space.qinetiq.com/www/gps_sum_files/gps_sum.htm

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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Giovanni Santin
(Rhea System SA)
Space Environments and Effects Analysis
ESA - ESTEC - TOS-EES
Keplerlaan 1, 2200 AG Noordwijk, Netherlands
e-mail: giovanni.santin@esa.int
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 ]