]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TPC/AliTPCReconstructor.h
GetPt() changed to GetSignedPt(). Get1Pt() changed to GetSigned1Pt() (Markus)
[u/mrichter/AliRoot.git] / TPC / AliTPCReconstructor.h
CommitLineData
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
11class AliTPCParam;
3464c690 12class AliTPCclustererMI;
59697224 13
14class AliTPCReconstructor: public AliReconstructor {
15public:
194b0609 16 AliTPCReconstructor();
3464c690 17 virtual ~AliTPCReconstructor();
121a60bd 18
3464c690 19 virtual Bool_t HasLocalReconstruction() const {return kTRUE;}
59697224 20 virtual void Reconstruct(AliRunLoader* runLoader) const;
38e6e547 21 virtual void Reconstruct(AliRunLoader* runLoader,
22 AliRawReader* rawReader) const;
3464c690 23 virtual void Reconstruct(TTree* digitsTree, TTree* clustersTree) const;
24 virtual void Reconstruct(AliRawReader* rawReader, TTree* clustersTree) const;
25
59697224 26 virtual AliTracker* CreateTracker(AliRunLoader* runLoader) const;
af885e0f 27 virtual void FillESD(AliRunLoader* runLoader, AliESDEvent* esd) const;
ddfb3e9d 28 virtual void FillESD(TTree* digitsTree, TTree* clustersTree,
af885e0f 29 AliESDEvent* esd) const {
ddfb3e9d 30 AliReconstructor::FillESD(digitsTree,clustersTree,esd);
31 }
32 virtual void FillESD(AliRawReader* rawReader, TTree* clustersTree,
af885e0f 33 AliESDEvent* esd) const {
ddfb3e9d 34 AliReconstructor::FillESD(rawReader,clustersTree,esd);
35 }
36 virtual void FillESD(AliRunLoader* runLoader,
af885e0f 37 AliRawReader* rawReader, AliESDEvent* esd) const {
ddfb3e9d 38 AliReconstructor::FillESD(runLoader,rawReader,esd);
39 }
59697224 40
194b0609 41 void SetRecoParam(AliTPCRecoParam * param){ fgkRecoParam = param;}
42 static const AliTPCRecoParam* GetRecoParam(){ return fgkRecoParam;}
43 //
44 static Double_t GetCtgRange() { return fgkRecoParam->GetCtgRange();}
45 static Double_t GetMaxSnpTracker(){ return fgkRecoParam->GetMaxSnpTracker();}
46 static Double_t GetMaxSnpTrack() { return fgkRecoParam->GetMaxSnpTrack();}
3f82c4f2 47
34acb742 48 static Int_t StreamLevel() { return fgStreamLevel;}
49 static void SetStreamLevel(Int_t level) { fgStreamLevel = level;}
50
59697224 51private:
3464c690 52 AliTPCParam* GetTPCParam() const;
194b0609 53 static AliTPCRecoParam * fgkRecoParam; // reconstruction parameters
54 static Int_t fgStreamLevel; // flag for streaming - for TPC reconstruction
3464c690 55 AliTPCclustererMI* fClusterer; // TPC clusterer
34acb742 56
59697224 57 ClassDef(AliTPCReconstructor, 0) // class for the TPC reconstruction
58};
59
60#endif