]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSFindClustersV2.h
Removing warnings (alpha)
[u/mrichter/AliRoot.git] / ITS / AliITSFindClustersV2.h
1 #ifndef ALIITSFINDCLUSTERSV2_H
2 #define ALIITSFINDCLUSTERSV2_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 TFile;
14 class AliRun;
15 class AliITSgeom;
16
17 class AliITSFindClustersV2 : public TTask{
18  public:
19     AliITSFindClustersV2(); // default constructor
20     // standard constructor files not opened, by file name
21     AliITSFindClustersV2(const TString infile,const TString outfile = "");
22     // standard constructor for files already opened.
23     AliITSFindClustersV2(TFile *in,TFile *out=0);
24     // Standard constructor for AliRun already read in.
25     AliITSFindClustersV2(AliRun *ar, const TString outfile = "");
26     virtual ~AliITSFindClustersV2();//Destructor
27     virtual Bool_t FastSimulation() const {return fSlowFast;}
28     virtual void SetSlowSimulation(){fSlowFast = kFALSE;}
29     virtual void SetFastSimulation(){fSlowFast = kTRUE;}
30     virtual void Exec(const Option_t *opt="");
31  private:
32     AliRun *fAr;           //! Pointer of type AliRun
33     Bool_t fDeletfAr;      //! Logical to indecate if fAr should be deleted.
34     AliITSgeom *fGeom;     //! Pointer to ITS geometry
35     TString *fInFileName;  //! Pointer to input file name string.
36     TString *fOutFileName; //! Pointer to output file name string.
37     TFile   *fIn;          //! pointer to input file
38     TFile   *fOut;         //! pointer to output file
39     Bool_t fInit;          //! true if Init was successfull
40     Bool_t fSlowFast;      //! if true then using fast ITS simulation.
41
42     ClassDef(AliITSFindClustersV2,1) // Task to Reconstruct ITS from Digits.
43
44 };
45 #endif