|Message: Re: Poisson Noise||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)|
if you use the /gps source as opposed to the gun source in your macro file you'll get a great deal more flexibility. The /gps source will, supposedly*, allow you to determine the energy spectra manually. So you can generate an energy spectra with noise in, say, Matlab and punch it into your .mac file.
/gps/hist/point 242.5 0.001129
/gps/hist/point 243.5 0.006832
/gps/hist/point 244.5 0.03135
/gps/hist/point 245.5 0.109
/gps/hist/point 246.5 0.2875
/gps/hist/point 247.5 0.5746
/gps/hist/point 248.5 0.8707
/gps/hist/point 259.5 1.0000
/gps/hist/point 250.5 0.8707
/gps/hist/point 251.5 0.5746
/gps/hist/point 252.5 0.2875
/gps/hist/point 253.5 0.109
/gps/hist/point 254.5 0.03135
/gps/hist/point 255.5 0.006832
/gps/hist/point 256.5 0.001129
If your baseline code uses /gun it isn't too difficult to cut over to /gps. Just a few hacks here and there.
*I'm inserting a disclaimer here. I'm having a helluva time trying to get a manually generated Gaussian energy distribution to match with the default Geant4 Gaussian distribution:
/gps/ene/mono 250 MeV
/gps/ene/sigma 12.5 MeV