1 #ifndef ALIRECONSTRUCTION_H
2 #define ALIRECONSTRUCTION_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
18 class AliReconstruction: public TNamed {
20 AliReconstruction(const char* gAliceFilename = "galice.root",
21 const char* name = "AliReconstruction",
22 const char* title = "reconstruction");
23 AliReconstruction(const AliReconstruction& rec);
24 AliReconstruction& operator = (const AliReconstruction& rec);
25 virtual ~AliReconstruction();
27 void SetGAliceFile(const char* fileName);
29 void SetRunReconstruction(const char* detectors) {
30 fRunReconstruction = detectors;};
31 void SetRunTracking(Bool_t run) {fRunTracking = run;};
32 void SetFillESD(const char* detectors) {fFillESD = detectors;};
37 Bool_t RunReconstruction(const TString& detectors);
38 Bool_t RunTracking(AliESD* esd);
39 Bool_t FillESD(AliESD* esd, const TString& detectors);
41 Bool_t IsSelected(TString detName, TString& detectors) const;
42 void CleanUp(TFile* file = NULL);
44 TString fRunReconstruction; // run the reconstr. for these detectors
45 Bool_t fRunTracking; // run the barrel tracking
46 TString fFillESD; // fill ESD for these detectors
47 TString fGAliceFileName; // name of the galice file
48 Bool_t fStopOnError; // stop or continue on errors
50 AliRunLoader* fRunLoader; //! current run loader object
51 AliLoader* fITSLoader; //! loader for ITS
52 AliTracker* fITSTracker; //! tracker for ITS
53 AliLoader* fTPCLoader; //! loader for TPC
54 AliTracker* fTPCTracker; //! tracker for TPC
55 AliLoader* fTRDLoader; //! loader for TRD
56 AliTracker* fTRDTracker; //! tracker for TRD
57 AliLoader* fTOFLoader; //! loader for TOF
58 AliTracker* fTOFTracker; //! tracker for TOF
60 ClassDef(AliReconstruction, 1) // class for running the reconstruction