Calling MisalignGeometry in case of old Root versions (Andrei)
[u/mrichter/AliRoot.git] / 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");