]>
Commit | Line | Data |
---|---|---|
e69020a0 | 1 | #ifndef ALIITSRECONSTRUCTION_H |
2 | #define ALIITSRECONSTRUCTION_H | |
3 | /* Copyright (c) 1998-2001, ALICE Experiment at CERN, All rights reserved * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* | |
7 | $Id$ | |
8 | */ | |
9 | ||
10 | #include <TTask.h> | |
11 | ||
4d24e763 | 12 | class AliRun; |
e69020a0 | 13 | class TString; |
14 | class AliITS; | |
15 | ||
16 | class AliITSreconstruction : public TTask{ | |
17 | public: | |
18 | AliITSreconstruction(); // default constructor | |
19 | AliITSreconstruction(const char *filename); // standard constructor | |
4d24e763 | 20 | AliITSreconstruction(AliRun *ar); // standard constructor |
e69020a0 | 21 | virtual ~AliITSreconstruction();//Destructor |
22 | virtual Bool_t Init(); | |
23 | virtual void Exec(const Option_t *opt="ALL"); | |
f243fbe6 | 24 | virtual void SetOutputFile(TString filename); |
e69020a0 | 25 | private: |
26 | Bool_t InitRec(); // Standard Reconstrution initilization. | |
27 | private: | |
28 | TFile *fFile; //! pointer to the file contatining the digits and | |
29 | // and will contain the RecPoints | |
f243fbe6 | 30 | TFile *fFile2; //! pointer to the file that will contain RecPoints |
31 | // (set only if <>fFile) | |
e69020a0 | 32 | Bool_t fDet[3]; //! logical specifing which detectors to reconstruct. |
33 | Bool_t fInit; //! True if Init was sucessfull, else false. | |
34 | TString fFilename; //! input filename for Digits | |
35 | Int_t fEnt; //! Number of events to processevent index. | |
36 | Int_t fEnt0; //! first event to process, default 0. | |
37 | AliITS *fITS; //! Local pointer to ITS class. | |
4d24e763 | 38 | AliRun *fArp; //! Local pointer to AliRun or gAlice |
39 | Bool_t fDfArp; //! if True then delete fArp in destructor. | |
e69020a0 | 40 | |
f243fbe6 | 41 | ClassDef(AliITSreconstruction,2) // Task to Reconstruct ITS from Digits. |
e69020a0 | 42 | |
43 | }; | |
44 | #endif |