New AliTRDcluster constructor
[u/mrichter/AliRoot.git] / TOF / AliTOFReconstructor.h
CommitLineData
121a60bd 1#ifndef ALITOFRECONSTRUCTOR_H
2#define ALITOFRECONSTRUCTOR_H
0e46b9ae 3
121a60bd 4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7/* $Id$ */
8
0e46b9ae 9///////////////////////////////////////////////////////////////////////////////
10// //
11// class for TOF reconstruction //
12// //
13///////////////////////////////////////////////////////////////////////////////
14
121a60bd 15#include "AliReconstructor.h"
16
0e46b9ae 17class TTree;
18
19class AliESD;
20class AliRawReader;
21class AliRunLoader;
22
121a60bd 23class AliTOFGeometry;
a98acac1 24class AliTOFcalib;
121a60bd 25
121a60bd 26class AliTOFReconstructor: public AliReconstructor {
27public:
a98acac1 28 AliTOFReconstructor();
29 AliTOFReconstructor(const AliTOFReconstructor &source); // copy constructor
30 AliTOFReconstructor& operator=(const AliTOFReconstructor &source); // ass. op.
31 virtual ~AliTOFReconstructor();
121a60bd 32
a98acac1 33 virtual Bool_t HasLocalReconstruction() const { return kTRUE; }
121a60bd 34 virtual void Reconstruct(AliRunLoader* runLoader) const;
d08a92dd 35 virtual void Reconstruct(AliRunLoader* runLoader,
36 AliRawReader* rawReader) const;
37 virtual void Reconstruct(AliRawReader* rawReader,
38 TTree* clusterTree) const;
a98acac1 39 virtual void Reconstruct(TTree* digitsTree, TTree* clusterTree) const;
40 virtual void ConvertDigits(AliRawReader* reader, TTree* digitsTree) const;
121a60bd 41 virtual AliTracker* CreateTracker(AliRunLoader* runLoader) const;
5d11728f 42 virtual void FillESD(AliRunLoader*, AliRawReader*, AliESD*) const { };
43 virtual void FillESD(AliRawReader*, TTree*, AliESD*) const { };
44 virtual void FillESD(TTree*, TTree*, AliESD*) const { };
121a60bd 45 virtual void FillESD(AliRunLoader* runLoader, AliESD* esd) const;
46
47private:
e82e515c 48 AliTOFGeometry *fTOFGeometry; // pointer to TOF geometry
49 AliTOFcalib *fTOFcalib; // pointer to TOF calib class
121a60bd 50 AliTOFGeometry* GetTOFGeometry(AliRunLoader* runLoader) const;
51
a98acac1 52 ClassDef(AliTOFReconstructor, 1) // class for the TOF reconstruction
121a60bd 53};
54
55#endif