]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Calling MisalignGeometry in case of old Root versions (Andrei)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 22 May 2007 08:03:32 +0000 (08:03 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 22 May 2007 08:03:32 +0000 (08:03 +0000)
STEER/AliSimulation.cxx

index e6e718e561d618706ccb8e5cfcb84bbfc3701345..f7a3a0cc27c29b60e5fa2ba4d3c63a2677337f9a 100644 (file)
@@ -642,7 +642,9 @@ Bool_t AliSimulation::RunSimulation(Int_t nEvents)
   SetGAliceFile(runLoader->GetFileName());
  
   // Misalign geometry
-//  MisalignGeometry(runLoader);
+#if ROOT_VERSION_CODE < 331527
+  MisalignGeometry(runLoader);
+#endif
 
   // Export (mis)aligned geometry 
   if (gGeoManager) gGeoManager->Export("misaligned_geometry.root");