]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOSTracker.h
New developments of the analysis framework - selectorised version of the manager...
[u/mrichter/AliRoot.git] / PHOS / AliPHOSTracker.h
CommitLineData
23904d16 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
13class AliCluster;
14class AliESD;
15class TTree;
16class AliRunLoader;
17
18class AliPHOSTracker : public AliTracker
19{
20public:
43fbaae1 21 AliPHOSTracker():AliTracker(), fRunLoader(0) {}
22 AliPHOSTracker(AliRunLoader *loader):AliTracker(), fRunLoader(loader) {}
23 AliPHOSTracker(const AliPHOSTracker & rhs):AliTracker(rhs), fRunLoader(rhs.fRunLoader){}
24
23904d16 25 virtual ~AliPHOSTracker() {AliDebug(1,"Start.");}
43fbaae1 26
27 AliPHOSTracker & operator = (const AliPHOSTracker & rhs)
28 {
29 fRunLoader = rhs.fRunLoader;
30 return *this;
31 }
23904d16 32
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;}
39
40 static void SetDebug() { fgDebug = kTRUE ; }
41 static void ResetDebug() { fgDebug = kFALSE ; }
42 static Bool_t Debug() { return fgDebug ; }
43
44private:
45 static Bool_t fgDebug ; //! Verbosity controller
46 AliRunLoader *fRunLoader; //! Pointer to the run loader
47 ClassDef(AliPHOSTracker,0)
48};
49
50#endif