]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSsDigitize.h
Some additional changes related to the previous changes. AliL3Transform
[u/mrichter/AliRoot.git] / ITS / AliITSsDigitize.h
1 #ifndef ALIITSSDIGITIZATION_H
2 #define ALIITSSDIGITIATION_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 AliITSsDigitize : public TTask{
16  public:
17     AliITSsDigitize(); // default constructor
18     AliITSsDigitize(const char *filename); // standard constructor
19     virtual ~AliITSsDigitize();//Destructor
20     virtual Bool_t Init();
21     virtual void Exec(const Option_t *opt="ALL");
22  private:
23     Bool_t InitSDig();  // Standard SDigitization initilization.
24  private:
25     TFile   *fFile;    //! pointer to the file contatining the hits and
26                        // and will contain the SDigits
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 Hits
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(AliITSsDigitize,1) // Task to SDigitize ITS from Hits.
35  
36 };
37 #endif