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 */
8 /* History of cvs commits:
11 * Revision 1.4 2007/08/03 13:52:16 kharlov
12 * Working skeleton of matching the ESD tracks and ESD clusters (Iouri Belikov)
16 //-------------------------------------------------------------------------
18 // Matches ESD tracks with the PHOS and makes the PID.
20 //-------------------------------------------------------------------------
22 #include <AliTracker.h>
24 class AliRunLoader; // Bad !
31 class AliPHOSTrackSegmentMaker ;
34 class AliPHOSTracker : public AliTracker
38 AliPHOSTracker(AliRunLoader *loader); // Bad !
39 virtual ~AliPHOSTracker();
41 Int_t LoadClusters(TTree *ct);
42 Int_t PropagateBack(AliESDEvent *ev);
43 AliCluster *GetCluster(Int_t idx) const;
44 void UnloadClusters();
46 Int_t Clusters2Tracks(AliESDEvent *) {return 0;}
47 Int_t RefitInward(AliESDEvent *) {return 0;}
49 static void SetDebug() { fgDebug = kTRUE ; }
50 static void ResetDebug() { fgDebug = kFALSE ; }
51 static Bool_t Debug() { return fgDebug ; }
54 AliPHOSTracker(const AliPHOSTracker & rhs): AliTracker(rhs){}
57 Int_t PropagateBackOld(AliESDEvent *ev); //Bad function: uses RunLoader ;(
59 AliPHOSTracker &operator=(const AliPHOSTracker &rhs);
61 AliRunLoader *fRunLoader; //! Bad !
63 static Bool_t fgDebug ; //! Verbosity controller
65 TClonesArray *fModules[5];
67 AliPHOSTrackSegmentMaker * fTSM ; //! the track segment maker
68 AliPHOSPID * fPID ; //! the pid maker
69 ClassDef(AliPHOSTracker,1)