]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Removing temporary fix which is not needed anymore with Root v5-12-00
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 19 Jul 2006 17:21:22 +0000 (17:21 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 19 Jul 2006 17:21:22 +0000 (17:21 +0000)
STEER/AliReconstruction.cxx
STEER/AliSimulation.cxx

index e58dfb1abd0028976a942ce2b60ce46faef04ecb..aad6f236fcf53010f993da1dfd22e6bdf5c129a8 100644 (file)
@@ -547,21 +547,6 @@ Bool_t AliReconstruction::Run(const char* input,
   }
   if (!MisalignGeometry(fLoadAlignData)) if (fStopOnError) return kFALSE;
 
-  // Temporary fix by A.Gheata
-  // Could be removed with the next Root version (>5.11)
-  if (gGeoManager) {
-    TIter next(gGeoManager->GetListOfVolumes());
-    TGeoVolume *vol;
-    while ((vol = (TGeoVolume *)next())) {
-      if (vol->GetVoxels()) {
-       if (vol->GetVoxels()->NeedRebuild()) {
-         vol->GetVoxels()->Voxelize();
-         vol->FindOverlaps();
-       }
-      }
-    }
-  }
-
   // local reconstruction
   if (!fRunLocalReconstruction.IsNull()) {
     if (!RunLocalReconstruction(fRunLocalReconstruction)) {
index 7fa5f2058a2a35ce61bea84dc3a671b3b32268e3..600834cd198bc1231668550602caee8bd8098570 100644 (file)
@@ -778,21 +778,6 @@ Bool_t AliSimulation::RunSimulation(Int_t nEvents)
 //   }
   MisalignGeometry(runLoader);
 
-  // Temporary fix by A.Gheata
-  // Could be removed with the next Root version (>5.11)
-  if (gGeoManager) {
-    TIter next(gGeoManager->GetListOfVolumes());
-    TGeoVolume *vol;
-    while ((vol = (TGeoVolume *)next())) {
-      if (vol->GetVoxels()) {
-       if (vol->GetVoxels()->NeedRebuild()) {
-         vol->GetVoxels()->Voxelize();
-         vol->FindOverlaps();
-       }
-      }
-    }
-  }
-
   // Export (mis)aligned geometry 
   if (gGeoManager) gGeoManager->Export("misaligned_geometry.root");