]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliPHOSTracker.h
Fix length of water inside cooling pipes
[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.4  2007/08/03 13:52:16  kharlov
12  * Working skeleton of matching the ESD tracks and ESD clusters (Iouri Belikov)
13  *
14  */
15
16 //-------------------------------------------------------------------------
17 //                          PHOS tracker.
18 // Matches ESD tracks with the PHOS and makes the PID.  
19 // 
20 //-------------------------------------------------------------------------
21
22 #include <AliTracker.h>
23
24 class AliRunLoader;   // Bad !
25
26 class TClonesArray;
27 class TTree;
28
29 class AliCluster;
30 class AliESDEvent;
31 class AliPHOSTrackSegmentMaker ; 
32 class AliPHOSPID ; 
33
34 class AliPHOSTracker : public AliTracker
35 {
36 public:
37   AliPHOSTracker();
38   AliPHOSTracker(AliRunLoader *loader);  // Bad !
39   virtual ~AliPHOSTracker();
40   
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;}
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   Int_t PropagateBackOld(AliESDEvent *ev); //Bad function: uses RunLoader ;(
58
59   AliPHOSTracker &operator=(const AliPHOSTracker &rhs);
60
61   AliRunLoader *fRunLoader;  //! Bad !
62
63   static Bool_t fgDebug ;    //! Verbosity controller
64
65   TClonesArray *fModules[5];
66   
67   AliPHOSTrackSegmentMaker * fTSM ; //! the track segment maker 
68   AliPHOSPID * fPID ;               //! the pid maker 
69   ClassDef(AliPHOSTracker,1)
70 };
71
72 #endif