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 /* History of cvs commits:
13 //_________________________________________________________________________
14 // Algorithm Base class to construct PHOS track segments
15 // Associates EMC and CPV clusters
16 // Unfolds the EMC cluster
18 //*-- Author: Dmitri Peressounko (RRC Kurchatov Institute & SUBATECH)
20 // --- ROOT system ---
22 #include "AliConfig.h"
25 // --- Standard library ---
28 // --- AliRoot header files ---
31 class AliPHOSClusterizer ;
32 class AliPHOSGeometry ;
35 class AliPHOSTrackSegmentMaker : public TTask {
39 AliPHOSTrackSegmentMaker();
40 AliPHOSTrackSegmentMaker(const TString alirunFileName, const TString eventFolderName = AliConfig::GetDefaultEventFolderName()) ;
41 AliPHOSTrackSegmentMaker(const AliPHOSTrackSegmentMaker & tsmaker) : TTask(tsmaker) { ; }
42 virtual ~ AliPHOSTrackSegmentMaker() ;
44 virtual Int_t GetTrackSegmentsInRun() const {Warning("GetTrackSegmentsInRun", "Not Defined" ) ; return 0 ; }
46 virtual void Print(const Option_t * = "")const {Warning("Print", "Not Defined" ) ; }
47 void SetEventRange(Int_t first=0, Int_t last=-1) {fFirstEvent=first; fLastEvent=last; }
48 void SetEventFolderName(TString name) { fEventFolderName = name ; }
49 void SetESD(AliESD *esd) { fESD = esd; }
51 virtual void WriteTrackSegments() = 0;
54 TString fEventFolderName ; // event folder name
55 Int_t fFirstEvent; // first event to process
56 Int_t fLastEvent; // last event to process
57 AliESD * fESD; //! ESD object
59 ClassDef( AliPHOSTrackSegmentMaker,4) // Algorithm class to make PHOS track segments (Base Class)
62 #endif // ALIPHOSTRACKSEGMENTMAKER_H