Message: Re: The default energy unit in the point-wise energy spectrum Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Note Re: The default energy unit in the point-wise energy spectrum 

Forum: Particles
Re: Question The default energy unit in the point-wise energy spectrum (Hubert Hu)
Date: 01 Sep, 2016
From: Hubert Hu <Hubert Hu>

I attache the macro again as the previous display looks chaos


#
#Source definition
#

/gps/particle  proton

# source
/gps/pos/type Surface
/gps/pos/shape Sphere
/gps/pos/centre 0. 0. 0. cm
/gps/pos/radius 1 cm
# /gps/pos/confine Sphere_phys
# confine to physical volume "Sphere_phys"

# angular distribution
/gps/ang/type focused
/gps/ang/focuspoint 0 0 0 cm

/gps/ene/type Arb
/gps/hist/type arb
#For first hist point, the first value is treated as the lower edge of the first bin, and the second value is not used.
#so make a artificial first line.
#From second hist ponit, the first value is treated as the upper edge of the bin, the second value is the weight. 
#For energy, by default, the first value unit is MeV
# 01/09/2016 update the histogram according to the new simulation results for trapped electron flux.
/gps/hist/point	  0  		     0
/gps/hist/point   1.000000E-01   1.617300E+04
/gps/hist/point   1.500000E-01   1.165900E+04
/gps/hist/point   2.000000E-01   7.918900E+03
/gps/hist/point   3.000000E-01   3.835600E+03
/gps/hist/point   4.000000E-01   2.028000E+03
/gps/hist/point   5.000000E-01   1.100900E+03
/gps/hist/point   6.000000E-01   6.701000E+02
/gps/hist/point   7.000000E-01   4.194600E+02
/gps/hist/point   1.000000E+00   1.839400E+02
/gps/hist/point   1.500000E+00   5.576300E+01
/gps/hist/point   2.000000E+00   2.778600E+01
/gps/hist/point   3.000000E+00   1.003400E+01
/gps/hist/point   4.000000E+00   5.647100E+00
/gps/hist/point   5.000000E+00   3.531100E+00
/gps/hist/point   6.000000E+00   2.831400E+00
/gps/hist/point   7.000000E+00   2.344100E+00
/gps/hist/point   1.000000E+01   1.421800E+00
/gps/hist/point   1.500000E+01   8.101100E-01
/gps/hist/point   2.000000E+01   6.406800E-01
/gps/hist/point   3.000000E+01   4.049300E-01
/gps/hist/point   4.000000E+01   3.522600E-01
/gps/hist/point   5.000000E+01   3.164600E-01
/gps/hist/point   6.000000E+01   2.971100E-01
/gps/hist/point   7.000000E+01   2.810700E-01
/gps/hist/point   1.000000E+02   2.191200E-01
/gps/hist/point   1.500000E+02   1.396200E-01
/gps/hist/point   2.000000E+02   8.523700E-02
/gps/hist/point   3.000000E+02   3.445900E-02
/gps/hist/point   4.000000E+02   1.147300E-03
/gps/hist/inter  Log
#/gps/ang/type cos
#/gps/ang/mintheta    0.000E+00 deg
#/gps/ang/maxtheta    9.000E+01 deg
/gps/source/list 

#
#Normalisation
#
/control/alias  NORM_FACTOR_SPECTRUM "   2.289311E+11 "
/control/alias  NORM_FACTOR_ANGULAR "   2.500000E-01 "

## this is very important to stop the GUI program from crash
/run/printProgress 10000

/run/beamOn 1000

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

1 Note: Re: The default energy unit in the point-wise energy spectrum   (Hubert Hu - 04 Sep, 2016)
 Add Message Add Message
to: "Re: The default energy unit in the point-wise energy spectrum"

 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 ]