Message: Re: Generating a Beam with a given Energy Probability Distribution Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Generating a Beam with a given Energy Probability Distribution 

Keywords: Generating a Beam with a given Energy Probability Distribution
Forum: Particles
Re: Question Generating a Beam with a given Energy Probability Distribution
Re: None Re: Generating a Beam with a given Energy Probability Distribution (Maria Grazia Pia)
Date: 01 Aug, 2006
From: Giovanni Santin <Giovanni Santin>

Dear Maryam

Indeed for special sources one might need to write come C++ code.

I have the impression, though, that the General Particle Source (GPS), combined with the radioactive decay physics, can already give you a ready-to-use solution.

GPS provides many options for spatial, angular and energy distribution of the source. In your case, you probably just need to specify a source of Sr90 ions, at rest (unless you have a radioactive beam facility), with the position distribution given by your actual source shape (maybe a Point as a first approximation, but many options are available).

You can find an example of how to use the GPS in the advanced example

examples/advanced/xray_telescope

For a detailed description of all GPS options, see http://reat.space.qinetiq.com/gps/new_gps_sum_files/gps_sum.htm (you can reach this link from the Geant4 User Support pages)

The Radioactive Decay process will give you the decay of the Sr90 with the correct spectrum for the secondary particles.

You might be interested in particular in the "fast beta generation option" fBeta of the radioactive decay process, to reduce CPU time.

You can find an example of how to use the radioactive decay physics in the example

examples/extended/radioactivedecay/exrdm

In your case, I would start from a script such as the following one:

 /gps/particle ion

 /gps/ion 38 90

 /gps/ene/type Mono

 /gps/ene/mono 0.0 MeV

 /gps/pos/shape Point

 /gps/pos/centre 0. 0. 0. cm

You can then switch on the tracking verbosity

 /tracking/verbose 1

to see wheather the decay actually happens, and start a few events

 /run/beamOn 1

Enjoy...

 Giovanni

 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Giovanni Santin
 Space Environments and Effects Analysis
 ESA - ESTEC - TEC-EES
 Keplerlaan 1, 2200 AG Noordwijk, Netherlands
 e-mail: giovanni.santin@esa.int
 Tel: +31 71 565 6267
 Fax: +31 71 565 4999
 

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

1 Question: Re: Generating a Beam with a given Energy Probability Distribution   (maryam@jlab.org - 01 Aug, 2006)
(_ None: Re: Generating a Beam with a given Energy Probability Distribution   (Giovanni Santin - 02 Aug, 2006)
(_ Question: Re: Generating a Beam with a given Energy Probability Distribution   (maryam@jlab.org - 02 Aug, 2006)
(_ None: Re: Generating a Beam with a given Energy Probability Distribution   (Vladimir IVANTCHENKO - 02 Aug, 2006)
(_ Sad: Re: Generating a Beam with a given Energy Probability Distribution   (maryam@jlab.org - 02 Aug, 2006)
(_ Ok: Re: Generating a Beam with a given Energy Probability Distribution   (maryam@jlab.org - 04 Aug, 2006)
 Add Message Add Message
to: "Re: Generating a Beam with a given Energy Probability Distribution"

 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 ]