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