Message: Merging Reference Physics Lists Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Merging Reference Physics Lists 

Forum: Physics List
Date: 30 Mar, 2011
From: Andrew Voyles <Andrew Voyles>

Hello all, I am quite new to GEANT4 and could use some help.

For one of my projects, I need the QGSP_BIC_HP hadronic physics list, but I also need the decay physics in the G4RadioactiveDecayPhysics list as well.

Before including the decay list, I had, in my main()

G4VUserPhysicsList* physics = new QGSP_BIC_HP(); runManager->SetUserInitialization(physics);

But I realize that I cannot simply initialize both lists, as the compiler will only take the last list initialized.

How can I add both of these lists to my simulation?

Thanks in advance for the help!

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

1 Idea: Re: Merging Reference Physics Lists   (Vladimir Ivanchenko - 31 Mar, 2011)
 Add Message Add Message
to: "Merging Reference Physics Lists"

 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 ]