* about the suitability of this software for any purpose. It is *
* provided "as is" without express or implied warranty. *
**************************************************************************/
-
+/* $Id$ */
//_________________________________________________________________________
-// A brief description of the class
-//*-- Author : Yves Schutz SUBATECH
-//////////////////////////////////////////////////////////////////////////////
+// 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"
+// --- ROOT system ---
+#include "TGeometry.h"
+#include "TFile.h"
+#include "TTree.h"
// --- Standard library ---
-
-#include "iostream.h"
+#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() // ctor
+ AliPHOSTrackSegmentMaker:: AliPHOSTrackSegmentMaker() : TTask("","")
+{
+ // ctor
+ fSplitFile= 0 ;
+
+}
+
+//____________________________________________________________________________
+AliPHOSTrackSegmentMaker::AliPHOSTrackSegmentMaker(const char * headerFile, const char * name, const Bool_t toSplit): TTask(name, headerFile)
{
- fR0 = 4. ;
+ // ctor
+ fSplitFile= 0 ;
+ fToSplit = toSplit ;
}
//____________________________________________________________________________
-void AliPHOSTrackSegmentMaker::MakeTrackSegments(DigitsList * DL, RecPointsList * emcl, RecPointsList * ppsdl,
- TrackSegmentsList * trsl)
+AliPHOSTrackSegmentMaker::~AliPHOSTrackSegmentMaker()
{
-
+
+ fSplitFile = 0 ;
}