1 #ifndef AliPHOSTracker_h
2 #define AliPHOSTracker_h
4 //-------------------------------------------------------------------------
6 // Matches ESD tracks with the PHOS and makes the PID.
7 // Currently, has only one function implemented : PropagateBack(AliESD*).
8 //-------------------------------------------------------------------------
10 #include <AliTracker.h>
18 class AliPHOSTracker : public AliTracker
21 AliPHOSTracker():AliTracker(), fRunLoader(0) {}
22 AliPHOSTracker(AliRunLoader *loader):AliTracker(), fRunLoader(loader) {}
23 AliPHOSTracker(const AliPHOSTracker & rhs):AliTracker(rhs), fRunLoader(rhs.fRunLoader){}
25 virtual ~AliPHOSTracker() {AliDebug(1,"Start.");}
27 AliPHOSTracker & operator = (const AliPHOSTracker & rhs)
29 fRunLoader = rhs.fRunLoader;
33 Int_t Clusters2Tracks(AliESD *) {AliDebug(1,"Start.");return 0;}
34 Int_t RefitInward(AliESD *) {AliDebug(1,"Start.");return 0;}
35 void UnloadClusters() {AliDebug(1,"Start.");}
36 AliCluster *GetCluster(Int_t ) const {AliDebug(1,"Start.");return 0;}
37 Int_t PropagateBack(AliESD *);
38 Int_t LoadClusters(TTree *) {AliDebug(1,"Start.");return 0;}
40 static void SetDebug() { fgDebug = kTRUE ; }
41 static void ResetDebug() { fgDebug = kFALSE ; }
42 static Bool_t Debug() { return fgDebug ; }
45 static Bool_t fgDebug ; //! Verbosity controller
46 AliRunLoader *fRunLoader; //! Pointer to the run loader
47 ClassDef(AliPHOSTracker,0)