Message: How to add radioactiveDecay process to standard Physics List? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question How to add radioactiveDecay process to standard Physics List? 

Forum: Physics List
Date: 27 Nov, 2017
From: Igor Vorobyev <Igor Vorobyev>

Hello everybody!

I have one problem. I need to add radioactiveDecay process to QGSP_BIC physics list, because I want to use gamma source as gun, then I must use ion gun and use radioactiveDecay process for this ion.

I had done next in main:

...

G4VModularPhysicsList* physicsList = new QGSP_BIC;

G4ProcessManager *genericIonProcessManager = G4GenericIon::GenericIonDefinition()->GetProcessManager();

G4RadioactiveDecay* radioactiveDecay = new G4RadioactiveDecay; radioactiveDecay->SetARM(false);

genericIonProcessManager->AddProcess(radioactiveDecay);

physicsList->AddProcessManager(G4GenericIon::GenericIonDefinition(), genericIonProcessManager);

runManager->SetUserInitialization(physicsList);

...

But with this code the program unexpectedly finish.

Hope for your help!

Thanks a lot!

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

1 Idea: Re: How to add radioactiveDecay process to standard Physics List?   (Vladimir Ivanchenko - 21 Jan, 2018)
 Add Message Add Message
to: "How to add radioactiveDecay process to standard Physics List?"

 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 ]