]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSTrackSegmentMaker.cxx
removed iostream
[u/mrichter/AliRoot.git] / PHOS / AliPHOSTrackSegmentMaker.cxx
index 70e15e7a998c255891a21acdec66245290c72b2b..cae4c1d1a0936fa666dc3a0cd3864a687871d23d 100644 (file)
 // 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 ;
 }