Close the header file in dtor
authorschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 4 Jun 2002 16:35:19 +0000 (16:35 +0000)
committerschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 4 Jun 2002 16:35:19 +0000 (16:35 +0000)
EMCAL/AliEMCALSDigitizer.cxx
PHOS/AliPHOSSDigitizer.cxx

index 11141b48998032960cfbabd1cc6917200b6539ed..052545f52f189031687d59af9e55fc4dfb545fca 100644 (file)
@@ -106,7 +106,8 @@ AliEMCALSDigitizer::~AliEMCALSDigitizer()
   if (fSplitFile) 
     if ( fSplitFile->IsOpen() ) 
       fSplitFile->Close() ; 
-
+  AliEMCALGetter * gime = AliEMCALGetter::GetInstance() ; 
+  gime->CloseFile() ; 
 }
 
 //____________________________________________________________________________ 
index 734c3e67a2438b260fecf0e23e0e90ec20d970f6..22b3181095cfcd970d4702f92a76fa6b4e14faac 100644 (file)
@@ -105,6 +105,8 @@ AliPHOSSDigitizer::~AliPHOSSDigitizer()
   if (fSplitFile) 
     if ( fSplitFile->IsOpen() ) 
       fSplitFile->Close() ; 
+  AliPHOSGetter * gime = AliPHOSGetter::GetInstance() ; 
+  gime->CloseFile() ; 
 }
 
 //____________________________________________________________________________