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"
12 class AliTPCclustererMI;
14 class AliTPCReconstructor: public AliReconstructor {
16 AliTPCReconstructor();
17 virtual ~AliTPCReconstructor();
19 virtual Bool_t HasLocalReconstruction() const {return kTRUE;}
20 virtual void Reconstruct(AliRunLoader* runLoader) const;
21 virtual void Reconstruct(AliRunLoader* runLoader,
22 AliRawReader* rawReader) const;
23 virtual void Reconstruct(TTree* digitsTree, TTree* clustersTree) const;
24 virtual void Reconstruct(AliRawReader* rawReader, TTree* clustersTree) const;
26 virtual AliTracker* CreateTracker(AliRunLoader* runLoader) const;
27 virtual void FillESD(AliRunLoader* runLoader, AliESDEvent* esd) const;
28 virtual void FillESD(TTree* digitsTree, TTree* clustersTree,
29 AliESDEvent* esd) const {
30 AliReconstructor::FillESD(digitsTree,clustersTree,esd);
32 virtual void FillESD(AliRawReader* rawReader, TTree* clustersTree,
33 AliESDEvent* esd) const {
34 AliReconstructor::FillESD(rawReader,clustersTree,esd);
36 virtual void FillESD(AliRunLoader* runLoader,
37 AliRawReader* rawReader, AliESDEvent* esd) const {
38 AliReconstructor::FillESD(runLoader,rawReader,esd);
41 void SetRecoParam(AliTPCRecoParam * param){ fgkRecoParam = param;}
42 static const AliTPCRecoParam* GetRecoParam(){ return fgkRecoParam;}
44 static Double_t GetCtgRange() { return fgkRecoParam->GetCtgRange();}
45 static Double_t GetMaxSnpTracker(){ return fgkRecoParam->GetMaxSnpTracker();}
46 static Double_t GetMaxSnpTrack() { return fgkRecoParam->GetMaxSnpTrack();}
48 static Int_t StreamLevel() { return fgStreamLevel;}
49 static void SetStreamLevel(Int_t level) { fgStreamLevel = level;}
52 AliTPCParam* GetTPCParam() const;
53 static AliTPCRecoParam * fgkRecoParam; // reconstruction parameters
54 static Int_t fgStreamLevel; // flag for streaming - for TPC reconstruction
55 AliTPCclustererMI* fClusterer; // TPC clusterer
57 ClassDef(AliTPCReconstructor, 0) // class for the TPC reconstruction