]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TOF/AliTOFReconstructor.h
updae of the GPU framework
[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"
3a646035 16#include "AliTOFRecoParam.h"
121a60bd 17
0e46b9ae 18class TTree;
19
af885e0f 20class AliESDEvent;
0e46b9ae 21class AliRawReader;
a98acac1 22class AliTOFcalib;
121a60bd 23
121a60bd 24class AliTOFReconstructor: public AliReconstructor {
25public:
a98acac1 26 AliTOFReconstructor();
a98acac1 27 virtual ~AliTOFReconstructor();
121a60bd 28
d08a92dd 29 virtual void Reconstruct(AliRawReader* rawReader,
30 TTree* clusterTree) const;
a98acac1 31 virtual void Reconstruct(TTree* digitsTree, TTree* clusterTree) const;
d76c31f4 32
a98acac1 33 virtual void ConvertDigits(AliRawReader* reader, TTree* digitsTree) const;
d76c31f4 34
35 virtual AliTracker* CreateTracker() const;
36
37 virtual void FillESD(AliRawReader*, TTree*clustersTree, AliESDEvent*esd) const
38 {FillESD((TTree*)NULL,clustersTree,esd);}
39 virtual void FillESD(TTree*, TTree*, AliESDEvent*) const {}
121a60bd 40
3a646035 41 static const AliTOFRecoParam* GetRecoParam() { return dynamic_cast<const AliTOFRecoParam*>(AliReconstructor::GetRecoParam(3)); } // getting RecoParam obj
42
121a60bd 43private:
3abc001d 44 AliTOFReconstructor(const AliTOFReconstructor &); //Not implemented
45 AliTOFReconstructor& operator=(const AliTOFReconstructor &); //Not implemented
46
e82e515c 47 AliTOFcalib *fTOFcalib; // pointer to TOF calib class
121a60bd 48
ba66add8 49 ClassDef(AliTOFReconstructor, 3) // class for the TOF reconstruction
121a60bd 50};
51
52#endif