Message: Force radioactive decay to occur at time zero Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Force radioactive decay to occur at time zero 

Forum: Particles
Date: 12 Jan, 2017
From: Paola Ferrario <Paola Ferrario>

Hi all!

I'm generating the decay of a radioactive source. Since the activity of the source is quite intense, I'm trying to simulate the pile-up generating more than one primary particle per event, separated by a certain amount of time. In order to be able to set the time of decay of each of my particles, I would like the decays to be immediate, meaning that the time of decay is zero for that particular isotope. If the time is zero, I can set the actual time I want the decay to occur. In summary, my question is: is there a way to set the lifetime of a particular ion to zero, in order to make the decay happen at time zero? I've tried using

ion = G4IonTable::GetIonTable()->GetIon(z, a, 0.);

ion->SetPDGLifeTime(0.*s);

but it doesn't seem to work.

Any ideas? Thanks a lot.

 Add Message Add Message
to: "Force radioactive decay to occur at time zero"

 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 ]