New TTask based method to do Digits To clusters. Works with files of multiple
[u/mrichter/AliRoot.git] / ITS / AliITSreconstruction.h
CommitLineData
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
12class TString;
13class AliITS;
14
15class 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 private:
23 Bool_t InitRec(); // Standard Reconstrution initilization.
24 private:
25 TFile *fFile; //! pointer to the file contatining the digits and
26 // and will contain the RecPoints
27 Bool_t fDet[3]; //! logical specifing which detectors to reconstruct.
28 Bool_t fInit; //! True if Init was sucessfull, else false.
29 TString fFilename; //! input filename for Digits
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
34 ClassDef(AliITSreconstruction,1) // Task to Reconstruct ITS from Digits.
35
36};
37#endif