Message: Setting particle source dimensions using gps Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Setting particle source dimensions using gps 

Forum: Particles
Date: 28 Jul, 2016
From: Tanjil <Tanjil>

Hi G4 users, 

I am using an elliptical source of protons. 
It is a Gaussian distribution on the XY plane (x= 4cm; y=2.4cm ; +/- 3 sigma),
with an energy spread of 380 keV and a FWHM beam divergence of 11.775 mrad.
Macro code below:  

/gps/ene/type Gauss
/gps/ene/mono 12.5 MeV
/gps/ene/sigma 380 keV
/gps/ang/sigma_r 0.6747 deg
/gps/particle proton
/gps/pos/type Beam
/gps/pos/shape Ellipse
/gps/pos/centre 0 0 20 cm
/gps/pos/halfx 2   cm
/gps/pos/halfy 1.2 cm
/gps/direction 0 0 -1

How do I specify that the halfx of 2cm is the +/-3 sigma value? 

Thanks in advance. 

 Add Message Add Message
to: "Setting particle source dimensions using gps"

 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 ]