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