// --- AliRoot header files ---
-#include "AliRun.h"
#include "AliEMCALClusterizer.h"
+#include "AliEMCALGetter.h"
ClassImp(AliEMCALClusterizer)
AliEMCALClusterizer::~AliEMCALClusterizer()
{
// dtor
+ //Remove this from the parental task before destroying
+ AliEMCALGetter::Instance()->EmcalLoader()->CleanReconstructioner();
}
// --- AliRoot header files ---
#include "AliEMCALPID.h"
+#include "AliEMCALGetter.h"
ClassImp(AliEMCALPID)
AliEMCALPID::~AliEMCALPID()
{
// dtor
+ //Remove this from the parental task before destroying
+ AliEMCALGetter::Instance()->EmcalLoader()->CleanPIDTask();
}
// --- AliRoot header files ---
#include "AliEMCALTrackSegmentMaker.h"
+#include "AliEMCALGetter.h"
ClassImp( AliEMCALTrackSegmentMaker)
//____________________________________________________________________________
AliEMCALTrackSegmentMaker::~AliEMCALTrackSegmentMaker()
{
+ //Remove this from the parental task before destroying
+ AliEMCALGetter::Instance()->EmcalLoader()->CleanTracker();
}