]>
Commit | Line | Data |
---|---|---|
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" |
6786addd | 17 | #include "AliTOFClusterFinder.h" |
18 | #include "AliTOFClusterFinderV1.h" | |
121a60bd | 19 | |
0e46b9ae | 20 | class TTree; |
21 | ||
af885e0f | 22 | class AliESDEvent; |
0e46b9ae | 23 | class AliRawReader; |
a98acac1 | 24 | class AliTOFcalib; |
6786addd | 25 | |
f858b00e | 26 | //class AliTOFT0maker; |
121a60bd | 27 | |
121a60bd | 28 | class AliTOFReconstructor: public AliReconstructor { |
29 | public: | |
a98acac1 | 30 | AliTOFReconstructor(); |
a98acac1 | 31 | virtual ~AliTOFReconstructor(); |
121a60bd | 32 | |
d08a92dd | 33 | virtual void Reconstruct(AliRawReader* rawReader, |
34 | TTree* clusterTree) const; | |
a98acac1 | 35 | virtual void Reconstruct(TTree* digitsTree, TTree* clusterTree) const; |
d76c31f4 | 36 | |
a98acac1 | 37 | virtual void ConvertDigits(AliRawReader* reader, TTree* digitsTree) const; |
d76c31f4 | 38 | |
39 | virtual AliTracker* CreateTracker() const; | |
40 | ||
35b6d6a6 | 41 | virtual void FillESD(AliRawReader*, TTree*clustersTree, AliESDEvent* esd) const |
d76c31f4 | 42 | {FillESD((TTree*)NULL,clustersTree,esd);} |
35b6d6a6 | 43 | virtual void FillESD(TTree *, TTree *, AliESDEvent * /*esdEvent*/) const; |
121a60bd | 44 | |
3a646035 | 45 | static const AliTOFRecoParam* GetRecoParam() { return dynamic_cast<const AliTOFRecoParam*>(AliReconstructor::GetRecoParam(3)); } // getting RecoParam obj |
46 | ||
f858b00e | 47 | virtual void FillEventTimeWithTOF(AliESDEvent *event, AliESDpid *esdPID); |
48 | ||
121a60bd | 49 | private: |
3abc001d | 50 | AliTOFReconstructor(const AliTOFReconstructor &); //Not implemented |
51 | AliTOFReconstructor& operator=(const AliTOFReconstructor &); //Not implemented | |
52 | ||
e82e515c | 53 | AliTOFcalib *fTOFcalib; // pointer to TOF calib class |
f858b00e | 54 | //AliTOFT0maker *fTOFT0maker; // pointer to TOF T0 maker class |
121a60bd | 55 | |
6786addd | 56 | Int_t fNumberOfTofClusters; // Number of TOF Clusters |
57 | Int_t fNumberOfTofTrgPads; // Number of TOF trigger pads | |
58 | ||
59 | AliTOFClusterFinder *fClusterFinder; | |
60 | AliTOFClusterFinderV1 *fClusterFinderV1; | |
61 | ||
62 | ClassDef(AliTOFReconstructor, 5) // class for the TOF reconstruction | |
121a60bd | 63 | }; |
64 | ||
65 | #endif |