]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSreconstruction.h
Transition to NewIO
[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 AliRunLoader;
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(AliRunLoader *rl); // 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     Bool_t  fDet[3];   //! logical specifing which detectors to reconstruct.
29     Bool_t  fInit;     //! True if Init was sucessfull, else false.
30     Int_t   fEnt;      //! Number of events to processevent index.
31     Int_t   fEnt0;     //! first event to process, default 0.
32     AliITS  *fITS;     //! Local pointer to ITS class.
33     Bool_t  fDfArp;    //! if True then delete fRunLoader in destructor.
34
35     AliITSLoader *fLoader; //! ITS loader
36     AliRunLoader* fRunLoader;//!Run Loader
37
38     ClassDef(AliITSreconstruction,2) // Task to Reconstruct ITS from Digits.
39
40 };
41 #endif