track counter implemented in ESD reader
[u/mrichter/AliRoot.git] / RICH / AliRICHDigitizer.h
1 #ifndef AliRICHDigitizer_h
2 #define AliRICHDigitizer_h
3 /* Copyright(c) 1998-2000, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6
7 #include <AliDigitizer.h>
8 #include <AliRunDigitizer.h>
9 #include <AliRun.h>
10
11 class AliRICH;
12
13 class AliRICHDigitizer : public AliDigitizer 
14 {
15 public:
16            AliRICHDigitizer()                                                {;}
17            AliRICHDigitizer(AliRunDigitizer * manager):AliDigitizer(manager) {if(GetDebug())Info("main ctor","Start.");}
18   virtual ~AliRICHDigitizer()                                                {if(GetDebug())Info("dtor","Start.");}
19
20         
21   void     Exec(Option_t* option=0);                //virtual
22   Bool_t   Init();                                  //virtual
23   Bool_t   GetDebug() const {return ((gAlice) ? gAlice->GetDebug() : kFALSE);}
24   AliRICH* Rich()     const {return fRich;}
25 protected:
26   AliRICH* fRich; //pointer to main RICH object
27   ClassDef(AliRICHDigitizer,0)
28 };    
29 #endif