]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TOF/AliTOFReconstructor.h
apply idendical policy as PubSub for exchanged data blocks: NULL output allowed,...
[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
af885e0f 19class AliESDEvent;
0e46b9ae 20class AliRawReader;
0e46b9ae 21
121a60bd 22class AliTOFGeometry;
a98acac1 23class AliTOFcalib;
121a60bd 24
121a60bd 25class AliTOFReconstructor: public AliReconstructor {
26public:
a98acac1 27 AliTOFReconstructor();
28 AliTOFReconstructor(const AliTOFReconstructor &source); // copy constructor
29 AliTOFReconstructor& operator=(const AliTOFReconstructor &source); // ass. op.
30 virtual ~AliTOFReconstructor();
121a60bd 31
d08a92dd 32 virtual void Reconstruct(AliRawReader* rawReader,
33 TTree* clusterTree) const;
a98acac1 34 virtual void Reconstruct(TTree* digitsTree, TTree* clusterTree) const;
d76c31f4 35
a98acac1 36 virtual void ConvertDigits(AliRawReader* reader, TTree* digitsTree) const;
d76c31f4 37
38 virtual AliTracker* CreateTracker() const;
39
40 virtual void FillESD(AliRawReader*, TTree*clustersTree, AliESDEvent*esd) const
41 {FillESD((TTree*)NULL,clustersTree,esd);}
42 virtual void FillESD(TTree*, TTree*, AliESDEvent*) const {}
121a60bd 43
44private:
e82e515c 45 AliTOFGeometry *fTOFGeometry; // pointer to TOF geometry
46 AliTOFcalib *fTOFcalib; // pointer to TOF calib class
d76c31f4 47 AliTOFGeometry* GetTOFGeometry() const;
121a60bd 48
d76c31f4 49 ClassDef(AliTOFReconstructor, 2) // class for the TOF reconstruction
121a60bd 50};
51
52#endif