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"
17 #include "AliTOFClusterFinder.h"
18 #include "AliTOFClusterFinderV1.h"
26 //class AliTOFT0maker;
28 class AliTOFReconstructor: public AliReconstructor {
30 AliTOFReconstructor();
31 virtual ~AliTOFReconstructor();
33 virtual void Reconstruct(AliRawReader* rawReader,
34 TTree* clusterTree) const;
35 virtual void Reconstruct(TTree* digitsTree, TTree* clusterTree) const;
37 virtual void ConvertDigits(AliRawReader* reader, TTree* digitsTree) const;
39 virtual AliTracker* CreateTracker() const;
41 virtual void FillESD(AliRawReader*, TTree*clustersTree, AliESDEvent* esd) const
42 {FillESD((TTree*)NULL,clustersTree,esd);}
43 virtual void FillESD(TTree *, TTree *, AliESDEvent * /*esdEvent*/) const;
45 static const AliTOFRecoParam* GetRecoParam() { return dynamic_cast<const AliTOFRecoParam*>(AliReconstructor::GetRecoParam(3)); } // getting RecoParam obj
47 virtual void FillEventTimeWithTOF(AliESDEvent *event, AliESDpid *esdPID);
50 AliTOFReconstructor(const AliTOFReconstructor &); //Not implemented
51 AliTOFReconstructor& operator=(const AliTOFReconstructor &); //Not implemented
53 AliTOFcalib *fTOFcalib; // pointer to TOF calib class
54 //AliTOFT0maker *fTOFT0maker; // pointer to TOF T0 maker class
56 Int_t fNumberOfTofClusters; // Number of TOF Clusters
57 Int_t fNumberOfTofTrgPads; // Number of TOF trigger pads
59 AliTOFClusterFinder *fClusterFinder;
60 AliTOFClusterFinderV1 *fClusterFinderV1;
62 ClassDef(AliTOFReconstructor, 5) // class for the TOF reconstruction