Message: Re: Problems in the time sequence of the radioactive decay of 232Th and 238U chains Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Idea Re: Problems in the time sequence of the radioactive decay of 232Th and 238U chains 

Forum: Hadronic Processes
Re: Question Problems in the time sequence of the radioactive decay of 232Th and 238U chains (Susana Cebrian)
Re: Idea Re: Problems in the time sequence of the radioactive decay of 232Th and 238U chains (Vladimir Ivanchenko)
Re: None Re: Problems in the time sequence of the radioactive decay of 232Th and 238U chains (Susana Cebrian)
Date: 10 Nov, 2010
From: Bjoern Herold <Bjoern Herold>

Hello Susana,

incidentally I am just struggling with a related problem. I think your problem may result from the limited precision of the G4double that stores the GlobalTime. That is, if the GlobalTime is large enough (billions of years equalling some 10^25 nanoseconds, which is the unit of GlobalTime) then small additions to GlobalTime, like a few minutes, are lost in rounding errors.

In my application I need to track Cerenkov photons produced by K40 decays in water and record their time of impact. To do that I found that I need to reset the GlobalTime of the decay products to zero, otherwise the GlobalTime of the Cerenkov photons will always be equal to the decay time, and their local time will always be zero.

I hope this helps. If you want a look at my code just let me know.

Cheers, Bjoern

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

1 Ok: Re: Problems in the time sequence of the radioactive decay of 232Th and 238U chains   (Susana Cebrian - 16 Nov, 2010)
(_ Ok: Re: Problems in the time sequence of the radioactive decay of 232Th and 238U chains   (Susana Cebrian - 25 Nov, 2010)
(_ Ok: Great to hear it worked :-)   (Bjoern Herold - 25 Nov, 2010)
 Add Message Add Message
to: "Re: Problems in the time sequence of the radioactive decay of 232Th and 238U chains"

 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 ]