]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EMCAL/AliEMCALTracker.h
Possibility to switch off heavy flavor production added.
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALTracker.h
1 #ifndef AliEMCALTracker_h
2 #define AliEMCALTracker_h
3
4 //-------------------------------------------------------------------------
5 //                          EMCAL tracker.
6 // Matches ESD tracks with the EMCAL 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 AliEMCALTracker : public AliTracker
19 {
20 public:
21   AliEMCALTracker():AliTracker()   {fRunLoader=0;}
22   AliEMCALTracker(AliRunLoader *loader):AliTracker() {fRunLoader=loader;}
23   virtual ~AliEMCALTracker()       {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(AliEMCALTracker,0)
40 };
41
42 #endif