]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSreconstruction.h
Added macro for visualization of the TOF ROOT geometry
[u/mrichter/AliRoot.git] / ITS / AliITSreconstruction.h
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
12 class AliRun;
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
20     AliITSreconstruction(AliRun *ar); // standard constructor
21     virtual ~AliITSreconstruction();//Destructor
22     virtual Bool_t Init();
23     virtual void Exec(const Option_t *opt="ALL");
24     virtual void SetOutputFile(TString filename);
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
30     TFile   *fFile2;   //! pointer to the file that will contain RecPoints 
31                        //  (set only if <>fFile)
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.
38     AliRun  *fArp;     //! Local pointer to AliRun or gAlice
39     Bool_t  fDfArp;    //! if True then delete fArp in destructor.
40
41     ClassDef(AliITSreconstruction,2) // Task to Reconstruct ITS from Digits.
42
43 };
44 #endif