]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Possibility to simulate with partial geometry when the alignment files are for the...
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 11 May 2006 12:04:28 +0000 (12:04 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 11 May 2006 12:04:28 +0000 (12:04 +0000)
STEER/AliSimulation.cxx

index a18a2e0022bbbeea0691c600d4664b5eac1a71a4..3f1427952538ba8928466588d07a52e81fb65b9f 100644 (file)
@@ -732,7 +732,11 @@ Bool_t AliSimulation::RunSimulation(Int_t nEvents)
   if (gGeoManager) gGeoManager->Export("geometry.root");
 
   // Misalign geometry
-  if (!MisalignGeometry(runLoader)) return kFALSE;
+//   if (!MisalignGeometry(runLoader)) {
+//     delete runLoader;
+//     return kFALSE;
+//   }
+  MisalignGeometry(runLoader);
 
   // Temporary fix by A.Gheata
   // Could be removed with the next Root version (>5.11)