//////////////////////////////////////////////////////////////////////////////
// --- ROOT system ---
-#include "TGeometry.h"
-#include "TDirectory.h"
-#include "TFile.h"
-#include "TTree.h"
// --- Standard library ---
-#include <Riostream.h>
-#include <stdlib.h>
+
// --- AliRoot header files ---
-#include "AliRun.h"
#include "AliEMCALClusterizer.h"
-#include "AliHeader.h"
-#include "AliEMCALGetter.h"
-#include "AliEMCALSDigitizer.h"
-#include "AliEMCALDigitizer.h"
+#include "AliRunLoader.h"
ClassImp(AliEMCALClusterizer)
{
// ctor
fEventFolderName = "" ;
+ fFirstEvent = 0 ;
+ fLastEvent = -1 ;
}
//____________________________________________________________________________
-AliEMCALClusterizer::AliEMCALClusterizer(const TString alirunFileName, const TString eventFolderName):
- TTask("EMCAL"+AliConfig::fgkReconstructionerTaskName, alirunFileName), fEventFolderName(eventFolderName)
+AliEMCALClusterizer::AliEMCALClusterizer(const TString alirunFileName,
+ const TString eventFolderName):
+ TTask("EMCAL"+AliConfig::Instance()->GetReconstructionerTaskName(), alirunFileName),
+ fEventFolderName(eventFolderName)
{
// ctor
-
+ fFirstEvent = 0 ;
+ fLastEvent = -1 ;
}
//____________________________________________________________________________
AliEMCALClusterizer::~AliEMCALClusterizer()
{
// dtor
+ //Remove this from the parental task before destroying
+ AliRunLoader::GetRunLoader()->GetDetectorLoader("EMCAL")->CleanReconstructioner();
}