// Algorithm Base class to construct PHOS track segments
// Associates EMC and PPSD clusters
// Unfolds the EMC cluster
-//
+//*--
//*-- Author: Dmitri Peressounko (RRC Ki & SUBATECH)
// --- ROOT system ---
-
+#include "TGeometry.h"
#include "TFile.h"
-#include "TROOT.h"
+#include "TTree.h"
// --- Standard library ---
+#include <stdlib.h>
// --- AliRoot header files ---
-#include "AliRun.h"
+#include "AliRun.h"
#include "AliPHOSTrackSegmentMaker.h"
-#include "AliPHOS.h"
-#include "AliPHOSGeometry.h"
+#include "AliHeader.h"
ClassImp( AliPHOSTrackSegmentMaker)
//____________________________________________________________________________
- AliPHOSTrackSegmentMaker:: AliPHOSTrackSegmentMaker() : TTask()
+ AliPHOSTrackSegmentMaker:: AliPHOSTrackSegmentMaker() : TTask("","")
{
+ // ctor
+ fSplitFile= 0 ;
+
}
+
+//____________________________________________________________________________
+AliPHOSTrackSegmentMaker::AliPHOSTrackSegmentMaker(const char * headerFile, const char * name, const Bool_t toSplit): TTask(name, headerFile)
+{
+ // ctor
+ fSplitFile= 0 ;
+ fToSplit = toSplit ;
+}
+
//____________________________________________________________________________
-AliPHOSTrackSegmentMaker::AliPHOSTrackSegmentMaker(char * header,char * branch): TTask("AliPHOSTrackSegmentMaker","")
+AliPHOSTrackSegmentMaker::~AliPHOSTrackSegmentMaker()
{
+
+ fSplitFile = 0 ;
}