]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/src/AliHLTReconstructor.h
Using AliITSgeomTGeo in the constructors of V2 and MI trackers (Jouri)
[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 AliHLTReconstructor: public AliReconstructor {
12 public:
13   AliHLTReconstructor();
14   AliHLTReconstructor(Bool_t doTracker, Bool_t doHough);
15   virtual ~AliHLTReconstructor();
16
17   virtual void         Reconstruct(TTree* digitsTree, TTree* clustersTree) const{
18     AliReconstructor::Reconstruct(digitsTree,clustersTree);
19   }
20   virtual void         Reconstruct(AliRawReader* rawReader, TTree* clustersTree) const {
21     AliReconstructor::Reconstruct(rawReader,clustersTree);
22   }
23   virtual void         Reconstruct(AliRunLoader* runLoader) const;
24   virtual void         Reconstruct(AliRunLoader* runLoader, 
25                                    AliRawReader* rawReader) const {
26     AliReconstructor::Reconstruct(runLoader,rawReader);
27   }
28   virtual AliTracker*  CreateTracker(AliRunLoader*) const;
29   virtual void         FillESD(TTree* digitsTree, TTree* clustersTree, 
30                                AliESD* esd) const {
31     AliReconstructor::FillESD(digitsTree,clustersTree,esd);
32   }
33   virtual void         FillESD(AliRawReader* rawReader, TTree* clustersTree, 
34                                AliESD* esd) const {
35     AliReconstructor::FillESD(rawReader,clustersTree,esd);
36   }
37   virtual void         FillESD(AliRunLoader* runLoader, AliESD* esd) const;
38   virtual void         FillESD(AliRunLoader* runLoader, 
39                                AliRawReader* rawReader, AliESD* esd) const {
40     AliReconstructor:: FillESD(runLoader,rawReader,esd);
41   }
42   void SetDoBench(Bool_t b){fDoBench=b;}
43   void SetDoCleanup(Bool_t b){fDoCleanUp=b;}
44   virtual void         FillDHLTRecPoint(AliRawReader* rawReader, Int_t nofEvent, Int_t dcCut) const;
45 private:
46   void ReconstructWithConformalMapping(AliRunLoader* runLoader,Int_t iEvent) const;
47   void ReconstructWithHoughTransform(AliRunLoader* runLoader,Int_t iEvent) const;
48   void FillESDforConformalMapping(AliESD* esd,Int_t iEvent) const;
49   void FillESDforHoughTransform(AliESD* esd,Int_t iEvent) const;
50
51   Bool_t fDoHough;   //do the hough transform
52   Bool_t fDoTracker; //do the standard conformal tracker
53   Bool_t fDoBench;   //store the benchmark results
54   Bool_t fDoCleanUp; //delete tmp tracking files
55
56   ClassDef(AliHLTReconstructor, 0)   // class for the TPC reconstruction
57 };
58 #endif
59
60 typedef AliHLTReconstructor AliL3Reconstructor; // for backward compatibility
61
62 #endif