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:
11 * Revision 1.40 2006/08/29 11:41:19 kharlov
12 * Missing implementation of ctors and = operator are added
14 * Revision 1.39 2006/08/25 16:00:53 kharlov
15 * Compliance with Effective C++AliPHOSHit.cxx
17 * Revision 1.38 2005/05/28 14:19:05 schutz
18 * Compilation warnings fixed by T.P.
22 //_________________________________________________________________________
23 // Algorithm Base class to construct PHOS track segments
24 // Associates EMC and CPV clusters
25 // Unfolds the EMC cluster
27 //*-- Author: Dmitri Peressounko (RRC Kurchatov Institute & SUBATECH)
29 // --- ROOT system ---
31 #include "AliConfig.h"
34 // --- Standard library ---
37 // --- AliRoot header files ---
40 class AliPHOSClusterizer ;
41 class AliPHOSGeometry ;
44 class AliPHOSTrackSegmentMaker : public TTask {
48 AliPHOSTrackSegmentMaker();
49 AliPHOSTrackSegmentMaker(const TString alirunFileName, const TString eventFolderName = AliConfig::GetDefaultEventFolderName()) ;
50 AliPHOSTrackSegmentMaker(const AliPHOSTrackSegmentMaker & tsmaker) ;
51 virtual ~ AliPHOSTrackSegmentMaker() ;
52 AliPHOSTrackSegmentMaker & operator = (const AliPHOSTrackSegmentMaker & /*rvalue*/) {
53 Fatal("operator =", "not implemented") ; return *this ; }
55 virtual Int_t GetTrackSegmentsInRun() const {Warning("GetTrackSegmentsInRun", "Not Defined" ) ; return 0 ; }
57 virtual void Print(const Option_t * = "")const {Warning("Print", "Not Defined" ) ; }
59 void SetEventRange(Int_t first=0, Int_t last=-1) {fFirstEvent=first; fLastEvent=last; }
60 void SetEventFolderName(TString name) { fEventFolderName = name ; }
61 void SetESD(AliESDEvent *esd) { fESD = esd; }
63 TString GetEventFolderName() const {return fEventFolderName;}
64 Int_t GetFirstEvent() const {return fFirstEvent; }
65 Int_t GetLastEvent() const {return fLastEvent; }
66 AliESDEvent *GetESD() const {return fESD; }
68 virtual void WriteTrackSegments() = 0;
71 TString fEventFolderName ; // event folder name
72 Int_t fFirstEvent; // first event to process
73 Int_t fLastEvent; // last event to process
74 AliESDEvent * fESD; //! ESD object
76 ClassDef( AliPHOSTrackSegmentMaker,5) // Algorithm class to make PHOS track segments (Base Class)
79 #endif // ALIPHOSTRACKSEGMENTMAKER_H