Message: User Specified Radioactive Decay File Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question User Specified Radioactive Decay File 

Forum: Event and Track Management
Date: 18 Jul, 2015
From: Chelsea Bartram <Chelsea Bartram>

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

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

1 Question: Re: User Specified Radioactive Decay File   (Giuseppe Caporaso - Dec 16, 14:45)
 Add Message Add Message
to: "User Specified Radioactive Decay File"

 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 ]