|Message: The default energy unit in the point-wise energy spectrum||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
I'm running into a strange trouble about the default energy unit in my GPS macro. I understand from the guide 2.7 that the default unit is MeV for the arbitrary list. But after I run the macro, the generated particle is in GeV. I run out of idea where it goes wrong. Any help is very welcome.
The troubled macro is here:
# #Source definition
# 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
|Inline Depth:||Outline Depth:||Add message:|