Message: initializing the physics list twice using runmanager Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question initializing the physics list twice using runmanager 

Forum: Physics List
Date: 04 Nov, 2011
From: Athreya Shankar <Athreya Shankar>

Hello all,

It came to my notice that for the last one month or so, by mistake, I have been using the following code to initialize the physicslist using runmanager:

runManager->SetUserInitialization(new ExN02PhysicsList);

G4PhysListFactory *physListFactory = new G4PhysListFactory();
    G4VUserPhysicsList *physicsList = 

I have initialized two different physics list consecutively.

My question is, would such a code ensure that the second physics list (qgsp_bic) initialised, overruling the first statement?

Thanks in advance, Athreya

 Add Message Add Message
to: "initializing the physics list twice using runmanager"

 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 ]