]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
removed options ALICE_STACKING, ALICE_EMPTY_PHYSICS_LIST; TG4PhysicsList replaced...
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 13 Feb 2001 15:32:22 +0000 (15:32 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 13 Feb 2001 15:32:22 +0000 (15:32 +0000)
AliGeant4/AliRunConfiguration.cxx

index b769bbaffe5eabec17a58b2fa16148b6ed3f1e0c..9bd88f9850bff470632cb6a105b4d0da51847b09 100644 (file)
@@ -5,7 +5,6 @@
 
 #include "AliRunConfiguration.h"
 #include "AliRunMessenger.h"
-
 #include "AliDetConstruction.h"
 #include "AliPrimaryGeneratorAction.h"
 #include "AliRunAction.h"
 #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