]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliPHOSTracker.h
new digitization and reconstruction corresponded to new data format
[u/mrichter/AliRoot.git] / PHOS / AliPHOSTracker.h
1 #ifndef AliPHOSTracker_h
2 #define AliPHOSTracker_h
3
4 //-------------------------------------------------------------------------
5 //                          PHOS tracker.
6 // Matches ESD tracks with the PHOS and makes the PID.  
7 // Currently, has only one function implemented : PropagateBack(AliESD*).
8 //-------------------------------------------------------------------------
9
10 #include <AliTracker.h>
11 #include <AliLog.h>
12
13 class AliCluster;
14 class AliESD;
15 class TTree;
16 class AliRunLoader;
17
18 class AliPHOSTracker : public AliTracker
19 {
20 public:
21   AliPHOSTracker():AliTracker()   {fRunLoader=0;}
22   AliPHOSTracker(AliRunLoader *loader):AliTracker() {fRunLoader=loader;}
23   virtual ~AliPHOSTracker()       {AliDebug(1,"Start.");}
24
25   Int_t Clusters2Tracks(AliESD *) {AliDebug(1,"Start.");return 0;}
26   Int_t RefitInward(AliESD *)     {AliDebug(1,"Start.");return 0;}
27   void UnloadClusters()           {AliDebug(1,"Start.");}
28   AliCluster *GetCluster(Int_t ) const {AliDebug(1,"Start.");return 0;}
29   Int_t PropagateBack(AliESD *);
30   Int_t LoadClusters(TTree *) {AliDebug(1,"Start.");return 0;}
31
32   static void                SetDebug()   { fgDebug = kTRUE ; }
33   static void                ResetDebug() { fgDebug = kFALSE ; }
34   static Bool_t              Debug() { return fgDebug ; }
35
36 private:
37   static Bool_t fgDebug ;    //! Verbosity controller
38   AliRunLoader *fRunLoader;  //! Pointer to the run loader
39   ClassDef(AliPHOSTracker,0)
40 };
41
42 #endif