1 #ifndef ALIPHOSRECONSTRUCTOR_H
2 #define ALIPHOSRECONSTRUCTOR_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 //_________________________________________________________________________
9 // Wrapping class for reconstruction
11 //*-- Author: Gines Martinez & Yves Schutz (SUBATECH)
12 //*-- Dmitri Peressounko (SUBATECH & Kurchatov Institute)
14 // --- ROOT system ---
17 class AliPHOSDigitizer ;
18 class AliPHOSClusterizer ;
19 class AliPHOSTrackSegmentMaker ;
21 class AliPHOSSDigitizer ;
24 // --- Standard library ---
26 // --- AliRoot header files ---
28 class AliPHOSReconstructor : public TTask {
32 AliPHOSReconstructor() ; //ctor
33 AliPHOSReconstructor(const char * headerFile, const char * branchName = "Default",const TString taskName="CTP");
34 AliPHOSReconstructor(const AliPHOSReconstructor & rec) : TTask(rec) {
36 // requested by the Coding Convention
37 Fatal("cpy ctor", "not implemented") ;
40 virtual ~AliPHOSReconstructor() ;
42 virtual void Exec(Option_t *) ;
43 void Clusters2Tracks(Int_t ievent, AliESD *event);
45 AliPHOSClusterizer * GetClusterizer()const { return fClusterizer ; }
46 AliPHOSPID * GetPID() const { return fPID; }
47 AliPHOSTrackSegmentMaker * GetTSMaker() const { return fTSMaker ; }
48 void SetEventRange(Int_t first=0, Int_t last=-1) ;
52 AliPHOSReconstructor & operator = (const AliPHOSReconstructor & /*rvalue*/) {
53 // assignement operator requested by coding convention but not needed
54 Fatal("operator =", "not implemented") ;
64 TString fRecPointBranch ; // Title of RecPoints branch
65 TString fTSBranch ; // Title of TrackSegments branch
66 TString fRecPartBranch ; // Title of RecParticles branch
69 AliPHOSClusterizer * fClusterizer ; //! Pointer to AliPHOSClusterizer
70 AliPHOSPID * fPID ; //! Pointer to AliPHOSPID
71 AliPHOSTrackSegmentMaker * fTSMaker ; //! Pointer to AliPHOSTrackSegmentMaker
72 Bool_t fIsInitialized ; // kTRUE if reconstructioner is initialized
73 Int_t fFirstEvent; // first event to process
74 Int_t fLastEvent; // last event to process
76 ClassDef(AliPHOSReconstructor,1) // Reconstruction algorithm class (Base Class)
80 #endif // ALIPHOSRECONSTRUCTOR_H