]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSreconstruction.h
Changes by Massimo Masera to allow Recpoints and Clusters to be written
[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 TString;
13 class AliITS;
14
15 class AliITSreconstruction : public TTask{
16  public:
17     AliITSreconstruction(); // default constructor
18     AliITSreconstruction(const char *filename); // standard constructor
19     virtual ~AliITSreconstruction();//Destructor
20     virtual Bool_t Init();
21     virtual void Exec(const Option_t *opt="ALL");
22     virtual void SetOutputFile(TString filename);
23  private:
24     Bool_t InitRec();  // Standard Reconstrution initilization.
25  private:
26     TFile   *fFile;    //! pointer to the file contatining the digits and
27                        // and will contain the RecPoints
28     TFile   *fFile2;   //! pointer to the file that will contain RecPoints 
29                        //  (set only if <>fFile)
30     Bool_t  fDet[3];   //! logical specifing which detectors to reconstruct.
31     Bool_t  fInit;     //! True if Init was sucessfull, else false.
32     TString fFilename; //! input filename for Digits
33     Int_t   fEnt;      //! Number of events to processevent index.
34     Int_t   fEnt0;     //! first event to process, default 0.
35     AliITS  *fITS;     //! Local pointer to ITS class.
36
37     ClassDef(AliITSreconstruction,2) // Task to Reconstruct ITS from Digits.
38
39 };
40 #endif