]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - TPC/AliTPCReconstructor.h
Updated flags for low flux case (A. Dainese)
[u/mrichter/AliRoot.git] / TPC / AliTPCReconstructor.h
... / ...
CommitLineData
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"
9#include "AliTPCRecoParam.h"
10
11class AliTPCParam;
12class AliTPCclustererMI;
13
14class AliTPCReconstructor: public AliReconstructor {
15public:
16 AliTPCReconstructor();
17 virtual ~AliTPCReconstructor();
18 virtual void Reconstruct(TTree* digitsTree, TTree* clustersTree) const;
19 virtual void Reconstruct(AliRawReader* rawReader, TTree* clustersTree) const;
20
21 virtual AliTracker* CreateTracker() const;
22
23 virtual void FillESD(TTree* /*digitsTree*/, TTree* /*clustersTree*/,
24 AliESDEvent* esd) const;
25 virtual void FillESD(AliRawReader* /*rawReader*/, TTree* /*clustersTree*/,
26 AliESDEvent* esd) const
27 {FillESD((TTree*)NULL,(TTree*)NULL,esd);}
28
29 static const AliTPCRecoParam* GetRecoParam() { return dynamic_cast<const AliTPCRecoParam*>(AliReconstructor::GetRecoParam(1)); }
30 //
31 static Double_t GetCtgRange() { return GetRecoParam()->GetCtgRange();}
32 static Double_t GetMaxSnpTracker(){ return GetRecoParam()->GetMaxSnpTracker();}
33 static Double_t GetMaxSnpTrack() { return GetRecoParam()->GetMaxSnpTrack();}
34
35 static Int_t StreamLevel() { return fgStreamLevel;}
36 static void SetStreamLevel(Int_t level) { fgStreamLevel = level;}
37
38private:
39 AliTPCReconstructor(const AliTPCReconstructor& /*rec*/);
40 AliTPCReconstructor& operator=(const AliTPCReconstructor&);
41 AliTPCParam* GetTPCParam() const;
42 static Int_t fgStreamLevel; // flag for streaming - for TPC reconstruction
43 AliTPCclustererMI* fClusterer; // TPC clusterer
44
45 ClassDef(AliTPCReconstructor, 0) // class for the TPC reconstruction
46};
47
48#endif