|Message: Re: User Specified Radioactive Decay File||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)|
On Sun, 19 Jul 2015 01:41:37 GMT, Chelsea Bartram wrote:
> Hi all, > > I'm trying to use my own custom radioactive data file with the > /grdm/setRadioactiveDecayFile. The goal of this is to modify the > half-life of an existing radioactive decay. I define my file which is > simply UserRadData_z11.a22 (a modified version of the one which exists > in the Geant database--z11.a22--I have simply changed the half-life). > Then, in my macro, I call /grdm/setRadioactiveDecayFile > UserRadData_z11.a22. I make sure to print out the time after every step > in my simulation to the screen. When I do this, however, I can see that > the GlobalTime corresponds to a half-life of about 2 years (the > half-life specified in the z11.a22 without my modification, ie the > natural half-life of sodium-22). It seems as though my code is using > z11.a22 rather than UserRadData_z11.a22. I thought perhaps it wasn't > able to find my file. I tried running my code and giving it a bad file > name to see if it prints any errors to the screen in that case and > indeed, it does. So, my code seems to be able to find my > UserRadData_z11.a22 file ok, and yet it is still using the half-life > specified in the original file. How can this be? Does anyone have any > suggestions as to how to make this work? Additionally, I made sure that > I called the /grdm/setRadioactiveDecayFile command BEFORE calling any > /gps commands in my macro, as recommended in the Geant4 example, > rdecay02, which I used as a reference. Any help would be much > appreciated. I can attach more code if needed. > > Thank you, > > Chelsea > > Attachment: > http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2015/07/18/18.40-14555-UserRadData_z11.a22 > http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2015/07/18/18.40-85128-ion.mac >
I'm in a very similar position to you, but instead of changing decay times it's decay frequency for me. Currently I have no real solution myself but I was wondering whether you were able to eventually fix the problem or at least find out some more details?