]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALTrackSegmentMaker.h
Setting impact parameters in RefitInward
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALTrackSegmentMaker.h
index 77ee96c81df2254df516c01b3b553ff6babfd112..8243b86eaffffa13bf655007dd1859515bb18e75 100644 (file)
@@ -20,8 +20,7 @@ class TFile ;
 // --- Standard library ---
 
 // --- AliRoot header files ---
-
-
+#include "AliConfig.h"
 class AliEMCALClusterizer ;
 class AliEMCALGeometry ;
 
@@ -30,23 +29,21 @@ class  AliEMCALTrackSegmentMaker : public TTask {
 public:
 
   AliEMCALTrackSegmentMaker() ;                     
-  AliEMCALTrackSegmentMaker(const char* headerFile, const char* name, const Bool_t toSplit) ;                     
-  
+  AliEMCALTrackSegmentMaker(const TString alirunFileName, const TString eventFolderName = AliConfig::GetDefaultEventFolderName()) ;                       
+  AliEMCALTrackSegmentMaker(const AliEMCALTrackSegmentMaker & tsmaker):TTask(tsmaker) { ; } 
   virtual ~ AliEMCALTrackSegmentMaker() ;
 
-  virtual void    Exec(Option_t * option){Warning("Exec", "Not Defined" ) ; } 
-  virtual const Int_t GetTrackSegmentsInRun()  const {Warning("GetTrackSegmentsInRun", "Not Defined" ) ; return 0 ; } 
+  virtual void    Exec(Option_t *) = 0;
+  virtual Int_t GetTrackSegmentsInRun()  const {Warning("GetTrackSegmentsInRun", "Not Defined" ) ; return 0 ; } 
 
-  virtual void    Print(Option_t * option)const {Warning("Print", "Not Defined" ) ; }  
+  virtual void    Print(Option_t *) = 0;
   virtual const char * Version() const {Warning("Version", "Not Defined" ) ; return 0 ; }   
-  virtual void WriteTrackSegments(Int_t event){Warning("WriteTrackSegments", "Not Defined" ) ; } 
+  virtual void WriteTrackSegments() = 0;
   
 protected:
+  TString fEventFolderName ;  // event folder name
   
-  TFile * fSplitFile ;             //! file in which TrackSegments will eventually be stored
-  Bool_t  fToSplit ;               //! Do we work in the split mode
-
-  ClassDef( AliEMCALTrackSegmentMaker,1)    // Algorithm class to make EMCAL track segments (Base Class)
+  ClassDef( AliEMCALTrackSegmentMaker,2)    // Algorithm class to make EMCAL track segments (Base Class)
 
 };