]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliPHOSReconstructioner.h
Fixing coding violations
[u/mrichter/AliRoot.git] / PHOS / AliPHOSReconstructioner.h
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
6 /* $Id$ */
7
8 //_________________________________________________________________________
9 //  Wrapping class for reconstruction
10 //*--
11 //*-- Author: Gines Martinez & Yves Schutz (SUBATECH) 
12 //*--         Dmitri Peressounko (SUBATECH & Kurchatov Institute)
13
14 // --- ROOT system ---
15
16 #include "TTask.h"
17 class AliPHOSDigitizer ;
18 class AliPHOSClusterizer ;
19 class AliPHOSTrackSegmentMaker ;
20 class AliPHOSPID ;
21 class AliPHOSSDigitizer ;
22 class AliESD ;
23
24 // --- Standard library ---
25
26 // --- AliRoot header files ---
27
28 class AliPHOSReconstructioner : public TTask {
29
30 public:
31
32   AliPHOSReconstructioner() ; //ctor            
33   AliPHOSReconstructioner(const char * headerFile, const char * branchName = "Default",const TString taskName="CTP");
34   AliPHOSReconstructioner(const AliPHOSReconstructioner & rec) : TTask(rec) {
35     // cpy ctor: 
36     // requested by the Coding Convention
37     Fatal("cpy ctor", "not implemented") ;
38   }
39    
40   virtual ~AliPHOSReconstructioner() ;
41
42   virtual void Exec(Option_t *) ;
43   void Clusters2Tracks(Int_t ievent, AliESD *event);
44
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) ; 
49
50   void Print()const ;
51
52   AliPHOSReconstructioner & operator = (const AliPHOSReconstructioner & /*rvalue*/)  {
53     // assignement operator requested by coding convention but not needed
54     Fatal("operator =", "not implemented") ;
55     return *this ; 
56   }
57   
58
59 private:
60   void Init() ;  
61
62 private:
63   
64   TString  fRecPointBranch ;    // Title of RecPoints branch   
65   TString  fTSBranch  ;         // Title of TrackSegments branch
66   TString  fRecPartBranch ;     // Title of RecParticles branch 
67
68
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
75  
76   ClassDef(AliPHOSReconstructioner,1)  // Reconstruction algorithm class (Base Class)
77
78 }; 
79
80 #endif // ALIPHOSRECONSTRUCTIONER_H