]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALClusterizer.cxx
Formatting changes.
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALClusterizer.cxx
index dc015462e452d01a4165284114748ed03a781b14..09beb9077a1764d9318a525c55e5af3a7f69df05 100644 (file)
@@ -30,8 +30,8 @@
 
 
 // --- AliRoot header files ---
-#include "AliRun.h" 
 #include "AliEMCALClusterizer.h"
+#include "AliRunLoader.h"
 
 ClassImp(AliEMCALClusterizer)
 
@@ -59,5 +59,7 @@ AliEMCALClusterizer::AliEMCALClusterizer(const TString alirunFileName,
 AliEMCALClusterizer::~AliEMCALClusterizer()
 {
   // dtor
+ //Remove this from the parental task before destroying
+  AliRunLoader::GetRunLoader()->GetDetectorLoader("EMCAL")->CleanReconstructioner();
 }