//////////////////////////////////////////////////////////////////////////////
// --- ROOT system ---
-#include "TGeometry.h"
-#include "TDirectory.h"
-#include "TFile.h"
-#include "TTree.h"
// --- Standard library ---
-#include <stdlib.h>
// --- AliRoot header files ---
-#include "AliRun.h"
#include "AliPHOSClusterizer.h"
-#include "AliHeader.h"
-#include "AliPHOSGetter.h"
-#include "AliPHOSSDigitizer.h"
-#include "AliPHOSDigitizer.h"
+#include "AliPHOSGetter.h"
ClassImp(AliPHOSClusterizer)
// ctor
fEventFolderName = "" ;
+ fFirstEvent = 0 ;
+ fLastEvent = -1 ;
}
//____________________________________________________________________________
-AliPHOSClusterizer::AliPHOSClusterizer(const TString alirunFileName, const TString eventFolderName):
- TTask("PHOS"+AliConfig::fgkReconstructionerTaskName, alirunFileName), fEventFolderName(eventFolderName)
+AliPHOSClusterizer::AliPHOSClusterizer(const TString alirunFileName,
+ const TString eventFolderName):
+ TTask("PHOS"+AliConfig::Instance()->GetReconstructionerTaskName(),
+ alirunFileName), fEventFolderName(eventFolderName)
{
// ctor
+ fFirstEvent = 0 ;
+ fLastEvent = -1 ;
}
//____________________________________________________________________________
{
// dtor
+ //Remove this from the parental task before destroying
+ AliPHOSGetter::Instance()->PhosLoader()->CleanReconstructioner();
}