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.41 2007/07/11 13:43:30 hristov
12 * New class AliESDEvent, backward compatibility with the old AliESD (Christian)
14 * Revision 1.40 2006/08/29 11:41:19 kharlov
15 * Missing implementation of ctors and = operator are added
17 * Revision 1.39 2006/08/25 16:00:53 kharlov
18 * Compliance with Effective C++AliPHOSHit.cxx
20 * Revision 1.38 2005/05/28 14:19:05 schutz
21 * Compilation warnings fixed by T.P.
25 //_________________________________________________________________________
26 // Algorithm Base class to construct PHOS track segments
27 // Associates EMC and CPV clusters
28 // Unfolds the EMC cluster
30 //*-- Author: Dmitri Peressounko (RRC Kurchatov Institute & SUBATECH)
32 // --- ROOT system ---
34 #include "AliConfig.h"
37 // --- Standard library ---
40 // --- AliRoot header files ---
41 class AliPHOSClusterizer ;
42 class AliPHOSGeometry ;
44 class AliPHOSQualAssDataMaker ;
46 class AliPHOSTrackSegmentMaker : public TTask {
50 AliPHOSTrackSegmentMaker();
51 AliPHOSTrackSegmentMaker(const TString alirunFileName, const TString eventFolderName = AliConfig::GetDefaultEventFolderName()) ;
52 AliPHOSTrackSegmentMaker(const AliPHOSTrackSegmentMaker & tsmaker) ;
53 virtual ~ AliPHOSTrackSegmentMaker() ;
54 AliPHOSTrackSegmentMaker & operator = (const AliPHOSTrackSegmentMaker & /*rvalue*/) {
55 Fatal("operator =", "not implemented") ; return *this ; }
57 virtual Int_t GetTrackSegmentsInRun() const {Warning("GetTrackSegmentsInRun", "Not Defined" ) ; return 0 ; }
59 virtual void Print(const Option_t * = "")const {Warning("Print", "Not Defined" ) ; }
61 void SetEventRange(Int_t first=0, Int_t last=-1) {fFirstEvent=first; fLastEvent=last; }
62 void SetEventFolderName(TString name) { fEventFolderName = name ; }
63 void SetESD(AliESDEvent *esd) { fESD = esd; }
65 TString GetEventFolderName() const {return fEventFolderName;}
66 Int_t GetFirstEvent() const {return fFirstEvent; }
67 Int_t GetLastEvent() const {return fLastEvent; }
68 AliESDEvent *GetESD() const {return fESD; }
70 virtual void WriteTrackSegments() = 0;
72 AliPHOSQualAssDataMaker * GetQualAssDataMaker() const { return fQADM ; }
76 TString fEventFolderName ; // event folder name
77 Int_t fFirstEvent; // first event to process
78 Int_t fLastEvent; // last event to process
79 AliESDEvent * fESD; //! ESD object
81 AliPHOSQualAssDataMaker * fQADM ; //!Quality Assurance Data Maker
83 ClassDef( AliPHOSTrackSegmentMaker,5) // Algorithm class to make PHOS track segments (Base Class)
86 #endif // ALIPHOSTRACKSEGMENTMAKER_H