Message: Re: Define Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Define  

Forum: Space Applications
Re: Question Define "differential energy spectrum" (Geng)
Date: 12 Mar, 2012
From: michel maire <michel maire>

On Sun, 11 Mar 2012 16:43:54 GMT, Geng wrote:
> Hi Sir/madam
>    Thanks in advance!
>    I am a fresh man in Geant4.I want to simulate a source with a "differential energy spectrum" , just like a GCR proton spectrum.
>    Could you give me some advice to solute it?
>    I need your suggestions urgently!
> Thanks very much!
> Geng

 I do not know what you call differential energy spectrum, nor GCR proton spectrum. If you mean generate particles according a predefined distribution, you may use General Particle Source, as mentioned by Susanna.
 You may also do it yourself with simple particle gun. This is shown in :
 See readme and PrimaryGeneratorAction2

 Add Message Add Message
to: "Re: Define "

 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 ]