]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSTrackSegmentMaker.cxx
coding conventions corrections
[u/mrichter/AliRoot.git] / PHOS / AliPHOSTrackSegmentMaker.cxx
index cae4c1d1a0936fa666dc3a0cd3864a687871d23d..38d2655fb30179b09064e8a37a44d95b25b04e69 100644 (file)
 
 
 // --- 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) 
 
@@ -53,6 +48,15 @@ AliPHOSTrackSegmentMaker::AliPHOSTrackSegmentMaker(const char * headerFile, cons
   fToSplit  = toSplit ;
 }
 
+//____________________________________________________________________________
+  AliPHOSTrackSegmentMaker:: AliPHOSTrackSegmentMaker(const AliPHOSTrackSegmentMaker& ts) : 
+    TTask(ts.GetName(), ts.GetTitle())
+{
+  // ctor
+  fSplitFile = new TFile( (ts.fSplitFile)->GetName(), "new") ; 
+  fToSplit   = ts.fToSplit ; 
+}
+
 //____________________________________________________________________________
 AliPHOSTrackSegmentMaker::~AliPHOSTrackSegmentMaker()
 {