]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALGeometry.cxx
PWGPP-69 - initialize additional dEdx information diring tracking itteration 0 -...
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALGeometry.cxx
index cc03db540b8301b16a2beb353bc487a04bdeb0d4..18c5c80d8af4a8a62c2a101258831e63cfed3845 100644 (file)
@@ -285,16 +285,22 @@ AliEMCALGeometry & AliEMCALGeometry::operator = (const AliEMCALGeometry  & /*rva
 AliEMCALGeometry::~AliEMCALGeometry(void)
 {
   // dtor
-  if (this==fgGeom) {
+  if (this==fgGeom)
+  {
     AliError("Do not call delete on me");
     return;
   }
-  if (fEMCGeometry){ 
-    for(Int_t smod = 0 ; smod < fEMCGeometry->GetNumberOfSuperModules(); smod++){
+  
+  if (fEMCGeometry)
+  {
+    for(Int_t smod = 0 ; smod < fEMCGeometry->GetNumberOfSuperModules(); smod++)
+    {
       if(fkSModuleMatrix[smod])
         delete fkSModuleMatrix[smod] ;
-        fkSModuleMatrix[smod]=0 ;
+      
+      fkSModuleMatrix[smod]=0 ;
     }
+    
     delete fEMCGeometry; // fEMCGeometry = 0 ;
   }
 }