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 */
8 #include "AliReconstructor.h"
9 #include "AliTPCRecoParam.h"
14 class AliTPCReconstructor: public AliReconstructor {
16 AliTPCReconstructor();
17 virtual ~AliTPCReconstructor() {if (fgkRecoParam) delete fgkRecoParam;};
19 virtual void Reconstruct(AliRunLoader* runLoader) const;
20 virtual void Reconstruct(AliRunLoader* runLoader,
21 AliRawReader* rawReader) const;
22 virtual void Reconstruct(TTree* digitsTree, TTree* clustersTree) const {
23 AliReconstructor::Reconstruct(digitsTree,clustersTree);
25 virtual void Reconstruct(AliRawReader* rawReader, TTree* clustersTree) const {
26 AliReconstructor::Reconstruct(rawReader,clustersTree);
28 virtual AliTracker* CreateTracker(AliRunLoader* runLoader) const;
29 virtual void FillESD(AliRunLoader* runLoader, AliESD* esd) const;
30 virtual void FillESD(TTree* digitsTree, TTree* clustersTree,
32 AliReconstructor::FillESD(digitsTree,clustersTree,esd);
34 virtual void FillESD(AliRawReader* rawReader, TTree* clustersTree,
36 AliReconstructor::FillESD(rawReader,clustersTree,esd);
38 virtual void FillESD(AliRunLoader* runLoader,
39 AliRawReader* rawReader, AliESD* esd) const {
40 AliReconstructor::FillESD(runLoader,rawReader,esd);
43 void SetRecoParam(AliTPCRecoParam * param){ fgkRecoParam = param;}
44 static const AliTPCRecoParam* GetRecoParam(){ return fgkRecoParam;}
46 static Double_t GetCtgRange() { return fgkRecoParam->GetCtgRange();}
47 static Double_t GetMaxSnpTracker(){ return fgkRecoParam->GetMaxSnpTracker();}
48 static Double_t GetMaxSnpTrack() { return fgkRecoParam->GetMaxSnpTrack();}
50 static Int_t StreamLevel() { return fgStreamLevel;}
51 static void SetStreamLevel(Int_t level) { fgStreamLevel = level;}
54 AliTPCParam* GetTPCParam(AliRunLoader* runLoader) const;
55 static AliTPCRecoParam * fgkRecoParam; // reconstruction parameters
56 static Int_t fgStreamLevel; // flag for streaming - for TPC reconstruction
58 ClassDef(AliTPCReconstructor, 0) // class for the TPC reconstruction