1 #ifndef ALITOFRECONSTRUCTOR_H
2 #define ALITOFRECONSTRUCTOR_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
9 ///////////////////////////////////////////////////////////////////////////////
11 // class for TOF reconstruction //
13 ///////////////////////////////////////////////////////////////////////////////
15 #include "AliReconstructor.h"
16 #include "AliTOFRecoParam.h"
23 //class AliTOFT0maker;
25 class AliTOFReconstructor: public AliReconstructor {
27 AliTOFReconstructor();
28 virtual ~AliTOFReconstructor();
30 virtual void Reconstruct(AliRawReader* rawReader,
31 TTree* clusterTree) const;
32 virtual void Reconstruct(TTree* digitsTree, TTree* clusterTree) const;
34 virtual void ConvertDigits(AliRawReader* reader, TTree* digitsTree) const;
36 virtual AliTracker* CreateTracker() const;
38 virtual void FillESD(AliRawReader*, TTree*clustersTree, AliESDEvent* esd) const
39 {FillESD((TTree*)NULL,clustersTree,esd);}
40 virtual void FillESD(TTree *, TTree *, AliESDEvent * /*esdEvent*/) const;
42 static const AliTOFRecoParam* GetRecoParam() { return dynamic_cast<const AliTOFRecoParam*>(AliReconstructor::GetRecoParam(3)); } // getting RecoParam obj
44 virtual void FillEventTimeWithTOF(AliESDEvent *event, AliESDpid *esdPID);
47 AliTOFReconstructor(const AliTOFReconstructor &); //Not implemented
48 AliTOFReconstructor& operator=(const AliTOFReconstructor &); //Not implemented
50 AliTOFcalib *fTOFcalib; // pointer to TOF calib class
51 //AliTOFT0maker *fTOFT0maker; // pointer to TOF T0 maker class
53 ClassDef(AliTOFReconstructor, 3) // class for the TOF reconstruction