// --- ROOT system ---
+#include "TGeometry.h"
+#include "TFile.h"
+#include "TTree.h"
// --- Standard library ---
+#include <stdlib.h>
// --- AliRoot header files ---
+#include "AliRun.h"
#include "AliPHOSTrackSegmentMaker.h"
+#include "AliHeader.h"
ClassImp( AliPHOSTrackSegmentMaker)
AliPHOSTrackSegmentMaker:: AliPHOSTrackSegmentMaker() : TTask("","")
{
// ctor
+ fSplitFile= 0 ;
+
}
//____________________________________________________________________________
-AliPHOSTrackSegmentMaker::AliPHOSTrackSegmentMaker(const char * headerFile, const char * name): TTask(name, headerFile)
+AliPHOSTrackSegmentMaker::AliPHOSTrackSegmentMaker(const char * headerFile, const char * name, const Bool_t toSplit): TTask(name, headerFile)
{
// ctor
+ fSplitFile= 0 ;
+ fToSplit = toSplit ;
+}
+
+//____________________________________________________________________________
+AliPHOSTrackSegmentMaker::~AliPHOSTrackSegmentMaker()
+{
+
+ fSplitFile = 0 ;
}