From: ivana Date: Tue, 13 Feb 2001 14:52:09 +0000 (+0000) Subject: updated to changes in TG4PhysicsManager X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=commitdiff_plain;h=fb5a4f03b4472f936a0d27ecb25be1ba75f83355;hp=b009ffa053f302968b483931168c3169058a823f updated to changes in TG4PhysicsManager --- diff --git a/TGeant4/TGeant4.cxx b/TGeant4/TGeant4.cxx index 1d18163e45b..ce8b1c472d2 100644 --- a/TGeant4/TGeant4.cxx +++ b/TGeant4/TGeant4.cxx @@ -5,6 +5,7 @@ #include "TGeant4.h" #include "TG4Messenger.h" +#include "TG4VRunConfiguration.h" #include "TG4GeometryManager.h" #include "TG4PhysicsManager.h" #include "TG4StepManager.h" @@ -30,7 +31,7 @@ TGeant4::TGeant4(const char* name, const char* title, //G4cout << "TG4GeometryManager has been created." << endl; // create physics manager - fPhysicsManager = new TG4PhysicsManager(); + fPhysicsManager = new TG4PhysicsManager(configuration->GetPhysicsList()); // add verbose level //G4cout << "TG4GeometryManager has been created." << endl; @@ -66,7 +67,7 @@ TGeant4::TGeant4(const char* name, const char* title, //G4cout << "TG4GeometryManager has been created." << endl; // create physics manager - fPhysicsManager = new TG4PhysicsManager(); + fPhysicsManager = new TG4PhysicsManager(configuration->GetPhysicsList()); // add verbose level //G4cout << "TG4GeometryManager has been created." << endl;