Message: Re: Problems with spectrum of multipeaks source Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Idea Re: Problems with spectrum of multipeaks source 

Forum: Physics List
Re: Question Problems with spectrum of multipeaks source (Nicolas Maurissen)
Re: None Re: Problems with spectrum of multipeaks source (michel maire)
Re: None Re: Problems with spectrum of multipeaks source (Nicolas Maurissen)
Date: 25 Jan, 2011
From: Laurent Desorgher <Laurent Desorgher>

Dear Nicolas,

> When I use the GPS, the only way I know so far is to use the following
> command in the .in file:
> 
>  /gps/ene/type Gauss
>  /gps/ene/mono 0. keV
>  /gps/ene/sigma 22. keV
> 

Have you tried with the gps to use multiple sources? Another solution (the one I would choose) would be to use the possibility with gps to define a spectrum with an histogram. For more details you should look in

http://reat.space.qinetiq.com/gps/new_gps_sum_files/gps_sum.htm

the description of commands /gps/ene/type /gps/hist

and also the examples http://reat.space.qinetiq.com/gps/examples/examples.htm

Note that since g4.9.4 a new gps macro command  
 /gps/hist/file your_file_name 
allows the user to specify arbitrary energy distribution by supplying the data points in a 2-column (energy<in MeV> and flux) ASCII file.
I never tried this command myself but I believe it should work.

Best regards

Laurent Desorgher

 Add Message Add Message
to: "Re: Problems with spectrum of multipeaks 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 ]