Adding AliReconstruction class (T.Kuhr)
[u/mrichter/AliRoot.git] / TOF / AliTOFtracker.h
CommitLineData
596a855f 1#ifndef ALITOFTRACKER_H
2#define ALITOFTRACKER_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#include "AliTracker.h"
9#include "AliTOFpidESD.h"
10
11class AliTOFGeometry;
12
13
14class AliTOFtracker : public AliTracker {
15public:
16
17 AliTOFtracker(AliTOFGeometry* geom, Double_t parPID[2])
18 {fGeom = geom; fTOFpid = new AliTOFpidESD(parPID);};
19 virtual ~AliTOFtracker() {delete fTOFpid;}
20 virtual Int_t Clusters2Tracks(AliESD* /*event*/) {return -1;};
21 virtual Int_t PropagateBack(AliESD* event) {return fTOFpid->MakePID(event);};
22 virtual Int_t RefitInward(AliESD* /*event*/) {return -1;};
23
24 virtual Int_t LoadClusters(TTree* tree)
25 {return fTOFpid->LoadClusters(tree, fGeom);};
26 virtual void UnloadClusters() {fTOFpid->UnloadClusters();};
27 virtual AliCluster *GetCluster(Int_t index) const {return NULL;};
28
29private:
30 AliTOFpidESD* fTOFpid; // TOF PID
31 AliTOFGeometry* fGeom; // TOF geometry
32
33 ClassDef(AliTOFtracker, 1) // TOF tracker (wrapper for AliTOFpidESD)
34};
35
36#endif
37
38