X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=TOF%2FAliTOFReconstructor.h;h=7aeaf6236428e989fad7e3e1852345f711491799;hb=76d5e0ec001460df53cdf932517fa9b6a7de7761;hp=7cd5e4991d8831163b805014cab1fdda1555d2c9;hpb=ba66add8ab8da76d18b2dd1da92fe4b51e8ac2d1;p=u%2Fmrichter%2FAliRoot.git diff --git a/TOF/AliTOFReconstructor.h b/TOF/AliTOFReconstructor.h index 7cd5e4991d8..7aeaf623642 100644 --- a/TOF/AliTOFReconstructor.h +++ b/TOF/AliTOFReconstructor.h @@ -13,19 +13,21 @@ /////////////////////////////////////////////////////////////////////////////// #include "AliReconstructor.h" +#include "AliTOFRecoParam.h" +#include "AliTOFClusterFinder.h" +#include "AliTOFClusterFinderV1.h" class TTree; class AliESDEvent; class AliRawReader; - class AliTOFcalib; +//class AliTOFT0maker; + class AliTOFReconstructor: public AliReconstructor { public: AliTOFReconstructor(); - AliTOFReconstructor(const AliTOFReconstructor &source); // copy constructor - AliTOFReconstructor& operator=(const AliTOFReconstructor &source); // ass. op. virtual ~AliTOFReconstructor(); virtual void Reconstruct(AliRawReader* rawReader, @@ -36,14 +38,28 @@ public: virtual AliTracker* CreateTracker() const; - virtual void FillESD(AliRawReader*, TTree*clustersTree, AliESDEvent*esd) const + virtual void FillESD(AliRawReader*, TTree*clustersTree, AliESDEvent* esd) const {FillESD((TTree*)NULL,clustersTree,esd);} - virtual void FillESD(TTree*, TTree*, AliESDEvent*) const {} + virtual void FillESD(TTree *, TTree *, AliESDEvent * /*esdEvent*/) const; + + static const AliTOFRecoParam* GetRecoParam() { return dynamic_cast(AliReconstructor::GetRecoParam(3)); } // getting RecoParam obj + + virtual void FillEventTimeWithTOF(AliESDEvent *event, AliESDpid *esdPID); private: + AliTOFReconstructor(const AliTOFReconstructor &); //Not implemented + AliTOFReconstructor& operator=(const AliTOFReconstructor &); //Not implemented + AliTOFcalib *fTOFcalib; // pointer to TOF calib class + //AliTOFT0maker *fTOFT0maker; // pointer to TOF T0 maker class + + Int_t fNumberOfTofClusters; // Number of TOF Clusters + Int_t fNumberOfTofTrgPads; // Number of TOF trigger pads + + AliTOFClusterFinder *fClusterFinder; + AliTOFClusterFinderV1 *fClusterFinderV1; - ClassDef(AliTOFReconstructor, 3) // class for the TOF reconstruction + ClassDef(AliTOFReconstructor, 5) // class for the TOF reconstruction }; #endif