Fixed memory leaks for #86360: High memory consumption in 2.76TeV p+p RAW reco jobs
[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$
9a2cdbdf 11 * Revision 1.5 2007/08/07 14:12:03 kharlov
12 * Quality assurance added (Yves Schutz)
13 *
ddd1a39c 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 *
04e92dc8 17 */
23904d16 18
19//-------------------------------------------------------------------------
20// PHOS tracker.
21// Matches ESD tracks with the PHOS and makes the PID.
04e92dc8 22//
23904d16 23//-------------------------------------------------------------------------
24
25#include <AliTracker.h>
04e92dc8 26
27class AliRunLoader; // Bad !
28
29class TClonesArray;
30class TTree;
23904d16 31
32class AliCluster;
af885e0f 33class AliESDEvent;
23904d16 34
35class AliPHOSTracker : public AliTracker
36{
37public:
04e92dc8 38 AliPHOSTracker();
04e92dc8 39 virtual ~AliPHOSTracker();
43fbaae1 40
c5a539a3 41 Int_t LoadClusters(TTree *);
42 Int_t PropagateBack(AliESDEvent *);
04e92dc8 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 53protected:
54 AliPHOSTracker(const AliPHOSTracker & rhs): AliTracker(rhs){}
55
23904d16 56private:
04e92dc8 57 AliPHOSTracker &operator=(const AliPHOSTracker &rhs);
58
23904d16 59 static Bool_t fgDebug ; //! Verbosity controller
04e92dc8 60
61 TClonesArray *fModules[5];
ddd1a39c 62
9a2cdbdf 63 ClassDef(AliPHOSTracker,2)
23904d16 64};
65
66#endif