1 #ifndef ALIPHOSTRACKSEGMENTMAKER_H
2 #define ALIPHOSTRACKSEGMENTMAKER_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 //_________________________________________________________________________
9 // Algorithm Base class to construct PHOS track segments
10 // Associates EMC and PPSD clusters
11 // Unfolds the EMC cluster
13 //*-- Author: Dmitri Peressounko (RRC Kurchatov Institute & SUBATECH)
15 // --- ROOT system ---
17 #include "AliConfig.h"
20 // --- Standard library ---
23 // --- AliRoot header files ---
26 class AliPHOSClusterizer ;
27 class AliPHOSGeometry ;
29 class AliPHOSTrackSegmentMaker : public TTask {
33 AliPHOSTrackSegmentMaker();
34 AliPHOSTrackSegmentMaker(const TString alirunFileName, const TString eventFolderName = AliConfig::fgkDefaultEventFolderName) ;
35 AliPHOSTrackSegmentMaker(const AliPHOSTrackSegmentMaker & tsmaker) : TTask(tsmaker) { ; }
36 virtual ~ AliPHOSTrackSegmentMaker() ;
38 virtual void Exec(Option_t *) = 0;
40 virtual const Int_t GetTrackSegmentsInRun() const {Warning("GetTrackSegmentsInRun", "Not Defined" ) ; return 0 ; }
42 virtual void Print()const {Warning("Print", "Not Defined" ) ; }
43 void SetEventFolderName(TString name) { fEventFolderName = name ; }
45 virtual void WriteTrackSegments() = 0;
48 TString fEventFolderName ; // event folder name
50 ClassDef( AliPHOSTrackSegmentMaker,3) // Algorithm class to make PHOS track segments (Base Class)
53 #endif // ALIPHOSTRACKSEGMENTMAKER_H