* about the suitability of this software for any purpose. It is *
* provided "as is" without express or implied warranty. *
**************************************************************************/
-
/* $Id$ */
-
//_________________________________________________________________________
// 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 "TObjArray.h"
-#include "TClonesArray.h"
+#include "TGeometry.h"
+#include "TFile.h"
+#include "TTree.h"
// --- Standard library ---
+#include <stdlib.h>
// --- AliRoot header files ---
-
+#include "AliRun.h"
#include "AliPHOSTrackSegmentMaker.h"
-#include "AliPHOSTrackSegment.h"
-#include "AliPHOSLink.h"
-#include "AliPHOSv0.h"
-#include "AliRun.h"
+#include "AliHeader.h"
ClassImp( AliPHOSTrackSegmentMaker)
//____________________________________________________________________________
- AliPHOSTrackSegmentMaker:: AliPHOSTrackSegmentMaker() : fNTrackSegments(0)
+ 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()
+{
+
+ fSplitFile = 0 ;
+}