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 */
9 // base class for reconstruction algorithm
10 // Derived classes should implement a default constructor and
11 // the virtual methods
22 class AliDetectorRecoParam;
24 #include "AliReconstruction.h"
26 class AliReconstructor: public TObject {
28 AliReconstructor(): TObject(), fOption() {};
29 virtual ~AliReconstructor() {};
31 virtual void Init() {};
33 virtual Bool_t HasDigitConversion() const {return kFALSE;};
34 virtual void ConvertDigits(AliRawReader* rawReader, TTree* digitsTree) const;
36 virtual void Reconstruct(TTree* digitsTree, TTree* clustersTree) const;
37 virtual void Reconstruct(AliRawReader* rawReader, TTree* clustersTree) const;
39 virtual AliVertexer* CreateVertexer() const
41 virtual AliTracker* CreateTracker() const
44 virtual void FillESD(TTree* digitsTree, TTree* clustersTree,
45 AliESDEvent* esd) const;
46 virtual void FillESD(AliRawReader* rawReader, TTree* clustersTree,
47 AliESDEvent* esd) const;
49 virtual const char* GetDetectorName() const;
51 void SetOption(Option_t* option) {fOption = option;};
52 virtual Option_t* GetOption() const {return fOption.Data();};
54 void SetRecoParam(const AliDetectorRecoParam *par);
55 static const AliDetectorRecoParam* GetRecoParam(Int_t iDet);
58 TString fOption; //! option for reconstruction
59 static const AliDetectorRecoParam* fgRecoParam[AliReconstruction::fgkNDetectors]; //! event reconstruction parameters for all detectors
61 ClassDef(AliReconstructor, 0) // base class for reconstruction algorithms