X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=AliGeant4%2FAliRunConfiguration.cxx;h=9bd88f9850bff470632cb6a105b4d0da51847b09;hp=b769bbaffe5eabec17a58b2fa16148b6ed3f1e0c;hb=deaf888c82a08bb3ceda0a95f186006875b6d267;hpb=b7d1552b72c56f6d413d51d6848bbaef3cdcd144 diff --git a/AliGeant4/AliRunConfiguration.cxx b/AliGeant4/AliRunConfiguration.cxx index b769bbaffe5..9bd88f9850b 100644 --- a/AliGeant4/AliRunConfiguration.cxx +++ b/AliGeant4/AliRunConfiguration.cxx @@ -5,7 +5,6 @@ #include "AliRunConfiguration.h" #include "AliRunMessenger.h" - #include "AliDetConstruction.h" #include "AliPrimaryGeneratorAction.h" #include "AliRunAction.h" @@ -15,11 +14,7 @@ #include "AliSteppingAction.h" #include "AliFiles.h" -#ifdef ALICE_EMPTY_PHYSICS_LIST -#include "AliEmptyPhysicsList.h" -#else -#include "TG4PhysicsList.h" -#endif +#include "TG4ModularPhysicsList.h" AliRunConfiguration::AliRunConfiguration(){ // @@ -69,11 +64,7 @@ void AliRunConfiguration::CreateUserConfiguration() // create mandatory Geant4 classes fDetectorConstruction = new AliDetConstruction(); -#ifndef ALICE_EMPTY_PHYSICS_LIST - fPhysicsList = new TG4PhysicsList(); -#else - fPhysicsList = new AliEmptyPhysicsList(); -#endif + fPhysicsList = new TG4ModularPhysicsList(); fPrimaryGenerator = new AliPrimaryGeneratorAction(); // create the other user action classes @@ -81,9 +72,7 @@ void AliRunConfiguration::CreateUserConfiguration() fEventAction = new AliEventAction(); fTrackingAction = new AliTrackingAction(); fSteppingAction = new AliSteppingAction(); -#ifdef ALICE_STACKING fStackingAction = new AliStackingAction(); -#endif } // public methods