]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOSTracker.h
Working skeleton of matching the ESD tracks and ESD clusters (Iouri Belikov)
[u/mrichter/AliRoot.git] / PHOS / AliPHOSTracker.h
CommitLineData
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$
11 */
23904d16 12
13//-------------------------------------------------------------------------
14// PHOS tracker.
15// Matches ESD tracks with the PHOS and makes the PID.
04e92dc8 16//
23904d16 17//-------------------------------------------------------------------------
18
19#include <AliTracker.h>
04e92dc8 20
21class AliRunLoader; // Bad !
22
23class TClonesArray;
24class TTree;
23904d16 25
26class AliCluster;
af885e0f 27class AliESDEvent;
23904d16 28
29class AliPHOSTracker : public AliTracker
30{
31public:
04e92dc8 32 AliPHOSTracker();
33 AliPHOSTracker(AliRunLoader *loader); // Bad !
34 virtual ~AliPHOSTracker();
43fbaae1 35
04e92dc8 36 Int_t LoadClusters(TTree *ct);
37 Int_t PropagateBack(AliESDEvent *ev);
38 AliCluster *GetCluster(Int_t idx) const;
39 void UnloadClusters();
40
41 Int_t Clusters2Tracks(AliESDEvent *) {return 0;}
42 Int_t RefitInward(AliESDEvent *) {return 0;}
23904d16 43
44 static void SetDebug() { fgDebug = kTRUE ; }
45 static void ResetDebug() { fgDebug = kFALSE ; }
46 static Bool_t Debug() { return fgDebug ; }
47
04e92dc8 48protected:
49 AliPHOSTracker(const AliPHOSTracker & rhs): AliTracker(rhs){}
50
23904d16 51private:
04e92dc8 52 Int_t PropagateBackOld(AliESDEvent *ev); //Bad function: uses RunLoader ;(
53
54 AliPHOSTracker &operator=(const AliPHOSTracker &rhs);
55
56 AliRunLoader *fRunLoader; //! Bad !
57
23904d16 58 static Bool_t fgDebug ; //! Verbosity controller
04e92dc8 59
60 TClonesArray *fModules[5];
61
62 ClassDef(AliPHOSTracker,1)
23904d16 63};
64
65#endif