]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliPHOSTracker.h
updated for e-h analysis
[u/mrichter/AliRoot.git] / PHOS / AliPHOSTracker.h
1 #ifndef AliPHOSTracker_h
2 #define AliPHOSTracker_h
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$
11  * Revision 1.5  2007/08/07 14:12:03  kharlov
12  * Quality assurance added (Yves Schutz)
13  *
14  * Revision 1.4  2007/08/03 13:52:16  kharlov
15  * Working skeleton of matching the ESD tracks and ESD clusters (Iouri Belikov)
16  *
17  */
18
19 //-------------------------------------------------------------------------
20 //                          PHOS tracker.
21 // Matches ESD tracks with the PHOS and makes the PID.  
22 // 
23 //-------------------------------------------------------------------------
24
25 #include <AliTracker.h>
26
27 class AliRunLoader;   // Bad !
28
29 class TClonesArray;
30 class TTree;
31
32 class AliCluster;
33 class AliESDEvent;
34
35 class AliPHOSTracker : public AliTracker
36 {
37 public:
38   AliPHOSTracker();
39   virtual ~AliPHOSTracker();
40   
41   Int_t LoadClusters(TTree *);
42   Int_t PropagateBack(AliESDEvent *);
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;}
48
49   static void                SetDebug()   { fgDebug = kTRUE ; }
50   static void                ResetDebug() { fgDebug = kFALSE ; }
51   static Bool_t              Debug() { return fgDebug ; }
52
53 protected:
54   AliPHOSTracker(const AliPHOSTracker & rhs): AliTracker(rhs){}
55
56 private:
57   AliPHOSTracker &operator=(const AliPHOSTracker &rhs);
58
59   static Bool_t fgDebug ;    //! Verbosity controller
60
61   TClonesArray *fModules[5];
62   
63   ClassDef(AliPHOSTracker,2)
64 };
65
66 #endif