]>
Commit | Line | Data |
---|---|---|
d15a28e7 | 1 | #ifndef ALIPHOSRECONSTRUCTIONER_H |
2 | #define ALIPHOSRECONSTRUCTIONER_H | |
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 | ||
b2a60966 | 8 | //_________________________________________________________________________ |
9a6ec61a | 9 | // Wrapping class for reconstruction |
a3dfe79c | 10 | //*-- |
7acf6008 | 11 | //*-- Author: Gines Martinez & Yves Schutz (SUBATECH) |
12 | //*-- Dmitri Peressounko (SUBATECH & Kurchatov Institute) | |
d15a28e7 | 13 | |
14 | // --- ROOT system --- | |
15 | ||
7acf6008 | 16 | #include "TTask.h" |
17 | class AliPHOSDigitizer ; | |
18 | class AliPHOSClusterizer ; | |
19 | class AliPHOSTrackSegmentMaker ; | |
20 | class AliPHOSPID ; | |
21 | class AliPHOSSDigitizer ; | |
35293055 | 22 | class AliESD ; |
d15a28e7 | 23 | |
24 | // --- Standard library --- | |
25 | ||
26 | // --- AliRoot header files --- | |
27 | ||
7acf6008 | 28 | class AliPHOSReconstructioner : public TTask { |
d15a28e7 | 29 | |
30 | public: | |
31 | ||
7acf6008 | 32 | AliPHOSReconstructioner() ; //ctor |
85ef0957 | 33 | AliPHOSReconstructioner(const char * headerFile, const char * branchName = "Default"); |
a8c47ab6 | 34 | AliPHOSReconstructioner(const AliPHOSReconstructioner & rec) : TTask(rec) { |
7acf6008 | 35 | // cpy ctor: |
839ffcb3 | 36 | // requested by the Coding Convention |
f1611b7c | 37 | Fatal("cpy ctor", "not implemented") ; |
839ffcb3 | 38 | } |
39 | ||
7acf6008 | 40 | virtual ~AliPHOSReconstructioner() ; |
d15a28e7 | 41 | |
35293055 | 42 | virtual void Exec(Option_t *) ; |
43 | void Clusters2Tracks(Int_t ievent, AliESD *event); | |
d15a28e7 | 44 | |
baef0810 | 45 | AliPHOSClusterizer * GetClusterizer()const { return fClusterizer ; } |
46 | AliPHOSPID * GetPID() const { return fPID; } | |
47 | AliPHOSTrackSegmentMaker * GetTSMaker() const { return fTSMaker ; } | |
7acf6008 | 48 | |
90cceaf6 | 49 | void Print()const ; |
364de5c6 | 50 | |
8c140292 | 51 | AliPHOSReconstructioner & operator = (const AliPHOSReconstructioner & /*rvalue*/) { |
a3dfe79c | 52 | // assignement operator requested by coding convention but not needed |
35293055 | 53 | Fatal("operator =", "not implemented") ; |
839ffcb3 | 54 | return *this ; |
55 | } | |
56 | ||
d15a28e7 | 57 | |
7acf6008 | 58 | private: |
59 | void Init() ; | |
60 | ||
d15a28e7 | 61 | private: |
62 | ||
81b0fcd1 | 63 | TString fRecPointBranch ; // Title of RecPoints branch |
64 | TString fTSBranch ; // Title of TrackSegments branch | |
65 | TString fRecPartBranch ; // Title of RecParticles branch | |
7acf6008 | 66 | |
67 | ||
81b0fcd1 | 68 | AliPHOSClusterizer * fClusterizer ; //! Pointer to AliPHOSClusterizer |
69 | AliPHOSPID * fPID ; //! Pointer to AliPHOSPID | |
70 | AliPHOSTrackSegmentMaker * fTSMaker ; //! Pointer to AliPHOSTrackSegmentMaker | |
7acf6008 | 71 | |
baef0810 | 72 | Bool_t fIsInitialized ; // kTRUE if reconstructioner is initialized |
92862013 | 73 | |
b2a60966 | 74 | ClassDef(AliPHOSReconstructioner,1) // Reconstruction algorithm class (Base Class) |
d15a28e7 | 75 | |
76 | }; | |
77 | ||
78 | #endif // ALIPHOSRECONSTRUCTIONER_H |