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