In vmctest/ppbench:
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 10 Mar 2010 16:40:15 +0000 (16:40 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 10 Mar 2010 16:40:15 +0000 (16:40 +0000)
Updated commonConfig.C macro for modifications in STEER (moving
SetGeometryFile() from AliRun in AliSimulation)

test/vmctest/ppbench/commonConfig.C

index 95ff720..f8a2607 100644 (file)
@@ -45,8 +45,7 @@ void commonConfig(Bool_t setRootGeometry = kFALSE)
 
   // Set Root geometry file
   if ( setRootGeometry ) {
-    gAlice->SetRootGeometry();
-    gAlice->SetGeometryFromFile("geometry.root");
+    AliSimulation::Instance()->SetGeometryFile("geometry.root");
   }
 
   AliRunLoader* rl