]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/src/AliHLTReconstructor.h
L3 becomes HLT
[u/mrichter/AliRoot.git] / HLT / src / AliHLTReconstructor.h
1 // @(#) $Id$
2
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"
10
11 class AliITSgeom;
12
13 class AliHLTReconstructor: public AliReconstructor {
14 public:
15   AliHLTReconstructor();
16   AliHLTReconstructor(Bool_t doTracker, Bool_t doHough);
17   virtual ~AliHLTReconstructor();
18
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   }
25   virtual void         Reconstruct(AliRunLoader* runLoader) const;
26   virtual void         Reconstruct(AliRunLoader* runLoader, 
27                                    AliRawReader* rawReader) const {
28     AliReconstructor::Reconstruct(runLoader,rawReader);
29   }
30   virtual AliTracker*  CreateTracker(AliRunLoader*) const;
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   }
39   virtual void         FillESD(AliRunLoader* runLoader, AliESD* esd) const;
40   virtual void         FillESD(AliRunLoader* runLoader, 
41                                AliRawReader* rawReader, AliESD* esd) const {
42     AliReconstructor:: FillESD(runLoader,rawReader,esd);
43   }
44   void SetDoBench(Bool_t b){fDoBench=b;}
45   void SetDoCleanup(Bool_t b){fDoCleanUp=b;}
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
53   AliITSgeom*          GetITSgeom(AliRunLoader* runLoader) const;
54
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
59
60   ClassDef(AliHLTReconstructor, 0)   // class for the TPC reconstruction
61 };
62 #endif
63
64 typedef AliHLTReconstructor AliL3Reconstructor; // for backward compatibility
65
66 #endif