]>
Commit | Line | Data |
---|---|---|
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 | AliPHOSTracker(const AliPHOSTracker & rhs):AliTracker(rhs), fRunLoader(rhs.fRunLoader){} | |
24 | ||
25 | virtual ~AliPHOSTracker() {AliDebug(1,"Start.");} | |
26 | ||
27 | AliPHOSTracker & operator = (const AliPHOSTracker & rhs) | |
28 | { | |
29 | fRunLoader = rhs.fRunLoader; | |
30 | return *this; | |
31 | } | |
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 | ||
44 | private: | |
45 | static Bool_t fgDebug ; //! Verbosity controller | |
46 | AliRunLoader *fRunLoader; //! Pointer to the run loader | |
47 | ClassDef(AliPHOSTracker,0) | |
48 | }; | |
49 | ||
50 | #endif |