]>
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 | ||
de3c3890 | 8 | #include "AliReconstructor.h" |
de3c3890 | 9 | |
73e81c35 | 10 | class AliHLTSystem; |
11 | ||
90ebac25 | 12 | /** |
13 | * @class AliHLTReconstructor | |
14 | * AliHLTReconstructor AliRoot event reconstruction plugin for the HLT. | |
15 | * The AliHLTReconstructor holds an instance of the @ref AliHLTSystem | |
16 | * steering class. The actual reconstruction depends on the loaded component | |
17 | * libraries. Each library must implement a module agent (@ref AliHLTModuleAgent) | |
18 | * in order to provide information on the supported features and the | |
19 | * configurations to be run. | |
20 | * | |
21 | * The default component libraries which are loaded through the initialization | |
22 | * are determined by the @ref kHLTDefaultLibs array. The library loading can | |
23 | * be overridden by an option to the AliHLTReconstructor through the | |
24 | * <tt>SetOption</tt> method of <tt>AliReconstruction</tt>, e.g. | |
25 | * <pre> | |
26 | * AliReconstruction rec; | |
27 | * rec.SetOption("HLT", "libAliHLTSample.so"); | |
28 | * </pre> | |
29 | * will only load <tt>libAliHLTSample.so</tt> | |
30 | * | |
31 | * Optional arguments:<br> | |
32 | * <!-- NOTE: ignore the \li. <i> and </i>: it's just doxygen formating --> | |
33 | * \li loglevel=<i>level</i><br> | |
34 | * level can be a hex number encoding the @ref AliHLTComponentLogSeverity | |
35 | * \li alilog=off <br> | |
36 | * disables the logging of HLT log messages through <tt>AliLog</tt> <br> | |
37 | * | |
38 | * For further information on the AliRoot reconstruction refer to the AliRoot | |
39 | * documentation, namely <tt>AliReconstruction</tt>. | |
40 | */ | |
de3c3890 | 41 | class AliHLTReconstructor: public AliReconstructor { |
42 | public: | |
ff0a6788 | 43 | AliHLTReconstructor(); |
44 | AliHLTReconstructor(Bool_t doTracker, Bool_t doHough); | |
73e81c35 | 45 | /** destructor */ |
ff0a6788 | 46 | virtual ~AliHLTReconstructor(); |
47 | ||
73e81c35 | 48 | /** init the reconstructor */ |
d76c31f4 | 49 | void Init(); |
73e81c35 | 50 | |
51 | /** create a tracker */ | |
d76c31f4 | 52 | // Deprecated and must be removed. |
53 | // AliTracker* CreateTracker() const; | |
73e81c35 | 54 | |
298edb8a | 55 | virtual void Reconstruct(TTree* digitsTree, TTree* clustersTree) const{ |
56 | AliReconstructor::Reconstruct(digitsTree,clustersTree); | |
57 | } | |
58 | virtual void Reconstruct(AliRawReader* rawReader, TTree* clustersTree) const { | |
59 | AliReconstructor::Reconstruct(rawReader,clustersTree); | |
60 | } | |
73e81c35 | 61 | |
298edb8a | 62 | virtual void FillESD(TTree* digitsTree, TTree* clustersTree, |
af885e0f | 63 | AliESDEvent* esd) const { |
298edb8a | 64 | AliReconstructor::FillESD(digitsTree,clustersTree,esd); |
65 | } | |
66 | virtual void FillESD(AliRawReader* rawReader, TTree* clustersTree, | |
af885e0f | 67 | AliESDEvent* esd) const { |
298edb8a | 68 | AliReconstructor::FillESD(rawReader,clustersTree,esd); |
69 | } | |
2456c180 | 70 | void SetDoBench(Bool_t b){fDoBench=b;} |
71 | void SetDoCleanup(Bool_t b){fDoCleanUp=b;} | |
dfddae5f | 72 | |
73 | // Deprecated and must be removed. | |
74 | // virtual void FillDHLTRecPoint(AliRawReader* rawReader, Int_t nofEvent, Int_t dcCut) const; | |
75 | ||
de3c3890 | 76 | private: |
443e447c | 77 | /** copy constructor prohibited */ |
78 | AliHLTReconstructor(const AliHLTReconstructor& src); | |
79 | /** assignment operator prohibited */ | |
80 | AliHLTReconstructor& operator=(const AliHLTReconstructor& src); | |
81 | ||
d76c31f4 | 82 | /* void ReconstructWithConformalMapping(AliRunLoader* runLoader,Int_t iEvent) const; */ |
83 | /* void ReconstructWithHoughTransform(AliRunLoader* runLoader,Int_t iEvent) const; */ | |
84 | /* void FillESDforConformalMapping(AliESDEvent* esd,Int_t iEvent) const; */ | |
85 | /* void FillESDforHoughTransform(AliESDEvent* esd,Int_t iEvent) const; */ | |
de3c3890 | 86 | |
2456c180 | 87 | Bool_t fDoHough; //do the hough transform |
88 | Bool_t fDoTracker; //do the standard conformal tracker | |
89 | Bool_t fDoBench; //store the benchmark results | |
90 | Bool_t fDoCleanUp; //delete tmp tracking files | |
8c717250 | 91 | |
73e81c35 | 92 | AliHLTSystem* fpSystem; //! HLT steering object |
73e81c35 | 93 | |
d76c31f4 | 94 | ClassDef(AliHLTReconstructor, 2) // class for the HLT reconstruction |
de3c3890 | 95 | }; |
de3c3890 | 96 | |
4aa41877 | 97 | typedef AliHLTReconstructor AliL3Reconstructor; // for backward compatibility |
98 | ||
de3c3890 | 99 | #endif |