]>
Commit | Line | Data |
---|---|---|
8c717250 | 1 | // @(#) $Id$ |
2 | ||
de3c3890 | 3 | #ifndef ALIHLTRECONSTRUCTOR_H |
4 | #define ALIHLTRECONSTRUCTOR_H | |
5 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
6 | * See cxx source for full Copyright notice */ | |
7 | ||
8 | #ifdef use_reconstruction | |
9 | #include "AliReconstructor.h" | |
de3c3890 | 10 | |
f644512a | 11 | class AliITSgeom; |
12 | ||
de3c3890 | 13 | class AliHLTReconstructor: public AliReconstructor { |
14 | public: | |
ff0a6788 | 15 | AliHLTReconstructor(); |
16 | AliHLTReconstructor(Bool_t doTracker, Bool_t doHough); | |
17 | virtual ~AliHLTReconstructor(); | |
18 | ||
298edb8a | 19 | virtual void Reconstruct(TTree* digitsTree, TTree* clustersTree) const{ |
20 | AliReconstructor::Reconstruct(digitsTree,clustersTree); | |
21 | } | |
22 | virtual void Reconstruct(AliRawReader* rawReader, TTree* clustersTree) const { | |
23 | AliReconstructor::Reconstruct(rawReader,clustersTree); | |
24 | } | |
de3c3890 | 25 | virtual void Reconstruct(AliRunLoader* runLoader) const; |
298edb8a | 26 | virtual void Reconstruct(AliRunLoader* runLoader, |
27 | AliRawReader* rawReader) const { | |
28 | AliReconstructor::Reconstruct(runLoader,rawReader); | |
29 | } | |
f644512a | 30 | virtual AliTracker* CreateTracker(AliRunLoader*) const; |
298edb8a | 31 | virtual void FillESD(TTree* digitsTree, TTree* clustersTree, |
32 | AliESD* esd) const { | |
33 | AliReconstructor::FillESD(digitsTree,clustersTree,esd); | |
34 | } | |
35 | virtual void FillESD(AliRawReader* rawReader, TTree* clustersTree, | |
36 | AliESD* esd) const { | |
37 | AliReconstructor::FillESD(rawReader,clustersTree,esd); | |
38 | } | |
de3c3890 | 39 | virtual void FillESD(AliRunLoader* runLoader, AliESD* esd) const; |
298edb8a | 40 | virtual void FillESD(AliRunLoader* runLoader, |
41 | AliRawReader* rawReader, AliESD* esd) const { | |
42 | AliReconstructor:: FillESD(runLoader,rawReader,esd); | |
43 | } | |
2456c180 | 44 | void SetDoBench(Bool_t b){fDoBench=b;} |
45 | void SetDoCleanup(Bool_t b){fDoCleanUp=b;} | |
de3c3890 | 46 | |
47 | private: | |
48 | void ReconstructWithConformalMapping(AliRunLoader* runLoader,Int_t iEvent) const; | |
49 | void ReconstructWithHoughTransform(AliRunLoader* runLoader,Int_t iEvent) const; | |
50 | void FillESDforConformalMapping(AliESD* esd,Int_t iEvent) const; | |
51 | void FillESDforHoughTransform(AliESD* esd,Int_t iEvent) const; | |
52 | ||
f644512a | 53 | AliITSgeom* GetITSgeom(AliRunLoader* runLoader) const; |
8c717250 | 54 | |
2456c180 | 55 | Bool_t fDoHough; //do the hough transform |
56 | Bool_t fDoTracker; //do the standard conformal tracker | |
57 | Bool_t fDoBench; //store the benchmark results | |
58 | Bool_t fDoCleanUp; //delete tmp tracking files | |
8c717250 | 59 | |
de3c3890 | 60 | ClassDef(AliHLTReconstructor, 0) // class for the TPC reconstruction |
61 | }; | |
62 | #endif | |
63 | ||
4aa41877 | 64 | typedef AliHLTReconstructor AliL3Reconstructor; // for backward compatibility |
65 | ||
de3c3890 | 66 | #endif |