]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
delete pid utils in destructor
authorloizides <loizides@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 27 Sep 2011 19:59:40 +0000 (19:59 +0000)
committerloizides <loizides@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 27 Sep 2011 19:59:40 +0000 (19:59 +0000)
EMCAL/AliEMCALRecoUtils.cxx

index a5ae33b77c152fbccbfd1518a01f81ddc544a8f1..43c209377dee0b2c6cba20726c8274777a26a121 100644 (file)
@@ -288,10 +288,10 @@ AliEMCALRecoUtils::~AliEMCALRecoUtils()
 {
   //Destructor.
        
-       if(fEMCALRecalibrationFactors) { 
-               fEMCALRecalibrationFactors->Clear();
-               delete  fEMCALRecalibrationFactors;
-       }       
+  if(fEMCALRecalibrationFactors) { 
+    fEMCALRecalibrationFactors->Clear();
+    delete  fEMCALRecalibrationFactors;
+  }    
   
   if(fEMCALTimeRecalibrationFactors) { 
                fEMCALTimeRecalibrationFactors->Clear();
@@ -299,15 +299,17 @@ AliEMCALRecoUtils::~AliEMCALRecoUtils()
        }       
   
   if(fEMCALBadChannelMap) { 
-               fEMCALBadChannelMap->Clear();
-               delete  fEMCALBadChannelMap;
-       }
+    fEMCALBadChannelMap->Clear();
+    delete  fEMCALBadChannelMap;
+  }
  
   delete fMatchedTrackIndex   ; 
   delete fMatchedClusterIndex ; 
   delete fResidualEta         ; 
   delete fResidualPhi         ; 
+  delete fPIDUtils            ;
 
+  InitTrackCuts();
 }
 
 //_______________________________________________________________