]>
Commit | Line | Data |
---|---|---|
92862013 | 1 | #ifndef ALIPHOSTRACKSEGMENTMAKER_H |
2 | #define ALIPHOSTRACKSEGMENTMAKER_H | |
d15a28e7 | 3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6ad0bfa0 | 6 | /* $Id$ */ |
7 | ||
702ab87e | 8 | /* History of cvs commits: |
9 | * | |
10 | * $Log$ | |
af885e0f | 11 | * Revision 1.40 2006/08/29 11:41:19 kharlov |
12 | * Missing implementation of ctors and = operator are added | |
13 | * | |
f1133801 | 14 | * Revision 1.39 2006/08/25 16:00:53 kharlov |
15 | * Compliance with Effective C++AliPHOSHit.cxx | |
16 | * | |
e2429969 | 17 | * Revision 1.38 2005/05/28 14:19:05 schutz |
18 | * Compilation warnings fixed by T.P. | |
19 | * | |
702ab87e | 20 | */ |
21 | ||
b2a60966 | 22 | //_________________________________________________________________________ |
23 | // Algorithm Base class to construct PHOS track segments | |
fbf5cb06 | 24 | // Associates EMC and CPV clusters |
b2a60966 | 25 | // Unfolds the EMC cluster |
26 | // | |
2731cd1e | 27 | //*-- Author: Dmitri Peressounko (RRC Kurchatov Institute & SUBATECH) |
d15a28e7 | 28 | |
29 | // --- ROOT system --- | |
2731cd1e | 30 | #include "TTask.h" |
88cb7938 | 31 | #include "AliConfig.h" |
32 | class TFile ; | |
d15a28e7 | 33 | |
34 | // --- Standard library --- | |
e957fea8 | 35 | //#include <iostream> |
d15a28e7 | 36 | |
37 | // --- AliRoot header files --- | |
38 | ||
d15a28e7 | 39 | |
2731cd1e | 40 | class AliPHOSClusterizer ; |
41 | class AliPHOSGeometry ; | |
af885e0f | 42 | class AliESDEvent ; |
2731cd1e | 43 | |
44 | class AliPHOSTrackSegmentMaker : public TTask { | |
d15a28e7 | 45 | |
46 | public: | |
47 | ||
88cb7938 | 48 | AliPHOSTrackSegmentMaker(); |
e191bb57 | 49 | AliPHOSTrackSegmentMaker(const TString alirunFileName, const TString eventFolderName = AliConfig::GetDefaultEventFolderName()) ; |
e2429969 | 50 | AliPHOSTrackSegmentMaker(const AliPHOSTrackSegmentMaker & tsmaker) ; |
8d0f3f77 | 51 | virtual ~ AliPHOSTrackSegmentMaker() ; |
f1133801 | 52 | AliPHOSTrackSegmentMaker & operator = (const AliPHOSTrackSegmentMaker & /*rvalue*/) { |
53 | Fatal("operator =", "not implemented") ; return *this ; } | |
d15a28e7 | 54 | |
17323043 | 55 | virtual Int_t GetTrackSegmentsInRun() const {Warning("GetTrackSegmentsInRun", "Not Defined" ) ; return 0 ; } |
2731cd1e | 56 | |
702ab87e | 57 | virtual void Print(const Option_t * = "")const {Warning("Print", "Not Defined" ) ; } |
e2429969 | 58 | |
eabde521 | 59 | void SetEventRange(Int_t first=0, Int_t last=-1) {fFirstEvent=first; fLastEvent=last; } |
60 | void SetEventFolderName(TString name) { fEventFolderName = name ; } | |
af885e0f | 61 | void SetESD(AliESDEvent *esd) { fESD = esd; } |
b9791748 | 62 | |
e2429969 | 63 | TString GetEventFolderName() const {return fEventFolderName;} |
64 | Int_t GetFirstEvent() const {return fFirstEvent; } | |
65 | Int_t GetLastEvent() const {return fLastEvent; } | |
af885e0f | 66 | AliESDEvent *GetESD() const {return fESD; } |
e2429969 | 67 | |
90cceaf6 | 68 | virtual void WriteTrackSegments() = 0; |
8d0f3f77 | 69 | |
88cb7938 | 70 | protected: |
71 | TString fEventFolderName ; // event folder name | |
eabde521 | 72 | Int_t fFirstEvent; // first event to process |
73 | Int_t fLastEvent; // last event to process | |
af885e0f | 74 | AliESDEvent * fESD; //! ESD object |
d15a28e7 | 75 | |
af885e0f | 76 | ClassDef( AliPHOSTrackSegmentMaker,5) // Algorithm class to make PHOS track segments (Base Class) |
d15a28e7 | 77 | }; |
78 | ||
92862013 | 79 | #endif // ALIPHOSTRACKSEGMENTMAKER_H |