]>
Commit | Line | Data |
---|---|---|
59697224 | 1 | #ifndef ALITPCRECONSTRUCTOR_H |
2 | #define ALITPCRECONSTRUCTOR_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id$ */ | |
7 | ||
8 | #include "AliReconstructor.h" | |
194b0609 | 9 | #include "AliTPCRecoParam.h" |
59697224 | 10 | |
11 | class AliTPCParam; | |
3464c690 | 12 | class AliTPCclustererMI; |
59697224 | 13 | |
14 | class AliTPCReconstructor: public AliReconstructor { | |
15 | public: | |
194b0609 | 16 | AliTPCReconstructor(); |
3464c690 | 17 | virtual ~AliTPCReconstructor(); |
121a60bd | 18 | |
3464c690 | 19 | virtual void Reconstruct(TTree* digitsTree, TTree* clustersTree) const; |
20 | virtual void Reconstruct(AliRawReader* rawReader, TTree* clustersTree) const; | |
21 | ||
d76c31f4 | 22 | virtual AliTracker* CreateTracker() const; |
23 | ||
24 | virtual void FillESD(TTree* /*digitsTree*/, TTree* /*clustersTree*/, | |
25 | AliESDEvent* esd) const; | |
26 | virtual void FillESD(AliRawReader* /*rawReader*/, TTree* /*clustersTree*/, | |
27 | AliESDEvent* esd) const | |
28 | {FillESD((TTree*)NULL,(TTree*)NULL,esd);} | |
59697224 | 29 | |
194b0609 | 30 | void SetRecoParam(AliTPCRecoParam * param){ fgkRecoParam = param;} |
31 | static const AliTPCRecoParam* GetRecoParam(){ return fgkRecoParam;} | |
32 | // | |
33 | static Double_t GetCtgRange() { return fgkRecoParam->GetCtgRange();} | |
34 | static Double_t GetMaxSnpTracker(){ return fgkRecoParam->GetMaxSnpTracker();} | |
35 | static Double_t GetMaxSnpTrack() { return fgkRecoParam->GetMaxSnpTrack();} | |
3f82c4f2 | 36 | |
34acb742 | 37 | static Int_t StreamLevel() { return fgStreamLevel;} |
38 | static void SetStreamLevel(Int_t level) { fgStreamLevel = level;} | |
39 | ||
59697224 | 40 | private: |
3464c690 | 41 | AliTPCParam* GetTPCParam() const; |
194b0609 | 42 | static AliTPCRecoParam * fgkRecoParam; // reconstruction parameters |
43 | static Int_t fgStreamLevel; // flag for streaming - for TPC reconstruction | |
3464c690 | 44 | AliTPCclustererMI* fClusterer; // TPC clusterer |
34acb742 | 45 | |
59697224 | 46 | ClassDef(AliTPCReconstructor, 0) // class for the TPC reconstruction |
47 | }; | |
48 | ||
49 | #endif |