]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSFDigitizer.h
moved component registration to agent; added component configuration/initialization...
[u/mrichter/AliRoot.git] / ITS / AliITSFDigitizer.h
1 #ifndef ALIITSFDIGITIZER_H
2 #define ALIITSFDIGITIZER_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 fast reconstruction of recpoints                   //
11 //////////////////////////////////////////////////////////////////
12 class TObjArray;
13 class TTree;
14
15
16 class AliRunDigitizer;
17
18 #include "AliDigitizer.h" // Base class from which this one is derived
19 #include "AliITS.h"   // ITS class functions used in inline functions.
20 class AliITSmodule;
21
22 class AliITSFDigitizer : public AliDigitizer{
23  public:
24     AliITSFDigitizer();
25     AliITSFDigitizer(AliRunDigitizer *manager);
26     AliITSFDigitizer(const AliITSFDigitizer& rec);
27     AliITSFDigitizer& operator=(const AliITSFDigitizer &source);    
28     virtual ~AliITSFDigitizer();
29     // Standard routines.
30     virtual Bool_t Init();
31     // Perform SDigits to Digits, with or without merging, depending on the
32     // number of files.
33     virtual void Exec(Option_t* opt=0);
34  private:
35     // Routines used internaly
36     // Returns a pointer to the TObjecArray of Modules.
37     TObjArray* GetModules(){return fITS->GetModules();}
38     // Returns a pointer to a  specific module.
39     AliITSmodule* GetModule(Int_t i){return fITS->GetModule(i);}
40  private:
41     AliITS *fITS;      //! local pointer to ITS
42     Bool_t  fInit;     //! flag to indicate Initilization when well.
43
44
45     ClassDef(AliITSFDigitizer,1) // Task to Digitize ITS from summable hits.
46 };
47 #endif