]>
Commit | Line | Data |
---|---|---|
59697224 | 1 | #ifndef ALIRECONSTRUCTOR_H |
2 | #define ALIRECONSTRUCTOR_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 | ||
0742d588 | 8 | // |
9 | // base class for reconstruction algorithm | |
10 | // Derived classes should implement a default constructor and | |
11 | // the virtual methods | |
12 | // | |
13 | ||
59697224 | 14 | #include <TObject.h> |
15 | ||
16 | class AliRunLoader; | |
17 | class AliVertexer; | |
18 | class AliTracker; | |
19 | class AliESD; | |
20 | ||
21 | ||
22 | class AliReconstructor: public TObject { | |
23 | public: | |
3fecc26f | 24 | AliReconstructor(): TObject() {}; |
c757bafd | 25 | virtual ~AliReconstructor() {}; |
26 | ||
59697224 | 27 | virtual void Reconstruct(AliRunLoader* runLoader) const = 0; |
28 | virtual AliVertexer* CreateVertexer(AliRunLoader* /*runLoader*/) const | |
29 | {return NULL;} | |
30 | virtual AliTracker* CreateTracker(AliRunLoader* /*runLoader*/) const | |
31 | {return NULL;} | |
32 | virtual void FillESD(AliRunLoader* runLoader, AliESD* esd) const = 0; | |
33 | ||
c757bafd | 34 | virtual const char* GetDetectorName() const; |
35 | ||
59697224 | 36 | ClassDef(AliReconstructor, 0) // base class for reconstruction algorithms |
37 | }; | |
38 | ||
39 | #endif |