Changes by Massimo Masera to allow Recpoints and Clusters to be written
[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");
f243fbe6 22 virtual void SetOutputFile(TString filename);
e69020a0 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
f243fbe6 28 TFile *fFile2; //! pointer to the file that will contain RecPoints
29 // (set only if <>fFile)
e69020a0 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
f243fbe6 37 ClassDef(AliITSreconstruction,2) // Task to Reconstruct ITS from Digits.
e69020a0 38
39};
40#endif