]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/AliReconstructor.h
Fix for copy/paste error
[u/mrichter/AliRoot.git] / STEER / AliReconstructor.h
CommitLineData
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>
efd2085e 15#include <TString.h>
59697224 16
b26c3770 17class TTree;
b649205a 18class AliRawReader;
59697224 19class AliVertexer;
20class AliTracker;
af885e0f 21class AliESDEvent;
59697224 22
23
24class AliReconstructor: public TObject {
25public:
efd2085e 26 AliReconstructor(): TObject(), fOption() {};
c757bafd 27 virtual ~AliReconstructor() {};
28
d76c31f4 29 virtual void Init() {};
b26c3770 30
31 virtual Bool_t HasDigitConversion() const {return kFALSE;};
32 virtual void ConvertDigits(AliRawReader* rawReader, TTree* digitsTree) const;
33
b26c3770 34 virtual void Reconstruct(TTree* digitsTree, TTree* clustersTree) const;
35 virtual void Reconstruct(AliRawReader* rawReader, TTree* clustersTree) const;
b26c3770 36
d76c31f4 37 virtual AliVertexer* CreateVertexer() const
59697224 38 {return NULL;}
d76c31f4 39 virtual AliTracker* CreateTracker() const
59697224 40 {return NULL;}
b26c3770 41
42 virtual void FillESD(TTree* digitsTree, TTree* clustersTree,
af885e0f 43 AliESDEvent* esd) const;
b26c3770 44 virtual void FillESD(AliRawReader* rawReader, TTree* clustersTree,
af885e0f 45 AliESDEvent* esd) const;
59697224 46
c757bafd 47 virtual const char* GetDetectorName() const;
48
efd2085e 49 void SetOption(Option_t* option) {fOption = option;};
50 virtual Option_t* GetOption() const {return fOption.Data();};
51
52private:
53 TString fOption; //! option for reconstruction
54
59697224 55 ClassDef(AliReconstructor, 0) // base class for reconstruction algorithms
56};
57
58#endif