]>
Commit | Line | Data |
---|---|---|
23904d16 | 1 | #ifndef AliPHOSTracker_h |
2 | #define AliPHOSTracker_h | |
04e92dc8 | 3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id$ */ | |
7 | ||
8 | /* History of cvs commits: | |
9 | * | |
10 | * $Log$ | |
ddd1a39c | 11 | * Revision 1.4 2007/08/03 13:52:16 kharlov |
12 | * Working skeleton of matching the ESD tracks and ESD clusters (Iouri Belikov) | |
13 | * | |
04e92dc8 | 14 | */ |
23904d16 | 15 | |
16 | //------------------------------------------------------------------------- | |
17 | // PHOS tracker. | |
18 | // Matches ESD tracks with the PHOS and makes the PID. | |
04e92dc8 | 19 | // |
23904d16 | 20 | //------------------------------------------------------------------------- |
21 | ||
22 | #include <AliTracker.h> | |
04e92dc8 | 23 | |
24 | class AliRunLoader; // Bad ! | |
25 | ||
26 | class TClonesArray; | |
27 | class TTree; | |
23904d16 | 28 | |
29 | class AliCluster; | |
af885e0f | 30 | class AliESDEvent; |
ddd1a39c | 31 | class AliPHOSTrackSegmentMaker ; |
32 | class AliPHOSPID ; | |
23904d16 | 33 | |
34 | class AliPHOSTracker : public AliTracker | |
35 | { | |
36 | public: | |
04e92dc8 | 37 | AliPHOSTracker(); |
38 | AliPHOSTracker(AliRunLoader *loader); // Bad ! | |
39 | virtual ~AliPHOSTracker(); | |
43fbaae1 | 40 | |
04e92dc8 | 41 | Int_t LoadClusters(TTree *ct); |
42 | Int_t PropagateBack(AliESDEvent *ev); | |
43 | AliCluster *GetCluster(Int_t idx) const; | |
44 | void UnloadClusters(); | |
45 | ||
46 | Int_t Clusters2Tracks(AliESDEvent *) {return 0;} | |
47 | Int_t RefitInward(AliESDEvent *) {return 0;} | |
23904d16 | 48 | |
49 | static void SetDebug() { fgDebug = kTRUE ; } | |
50 | static void ResetDebug() { fgDebug = kFALSE ; } | |
51 | static Bool_t Debug() { return fgDebug ; } | |
52 | ||
04e92dc8 | 53 | protected: |
54 | AliPHOSTracker(const AliPHOSTracker & rhs): AliTracker(rhs){} | |
55 | ||
23904d16 | 56 | private: |
04e92dc8 | 57 | Int_t PropagateBackOld(AliESDEvent *ev); //Bad function: uses RunLoader ;( |
58 | ||
59 | AliPHOSTracker &operator=(const AliPHOSTracker &rhs); | |
60 | ||
61 | AliRunLoader *fRunLoader; //! Bad ! | |
62 | ||
23904d16 | 63 | static Bool_t fgDebug ; //! Verbosity controller |
04e92dc8 | 64 | |
65 | TClonesArray *fModules[5]; | |
ddd1a39c | 66 | |
67 | AliPHOSTrackSegmentMaker * fTSM ; //! the track segment maker | |
68 | AliPHOSPID * fPID ; //! the pid maker | |
04e92dc8 | 69 | ClassDef(AliPHOSTracker,1) |
23904d16 | 70 | }; |
71 | ||
72 | #endif |