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 e6e718e..f7a3a0c 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");