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 */
8 #include "AliDigitizer.h"
10 class AliRunDigitizer;
14 class AliRICHDigitizer : public AliDigitizer {
18 AliRICHDigitizer(AliRunDigitizer * manager);
19 virtual ~AliRICHDigitizer();
22 virtual Bool_t Exists(const AliRICHSDigit * sdigit);
24 virtual void Update(AliRICHSDigit *sdigit);
26 virtual void CreateNew(AliRICHSDigit *sdigit);
28 // Initialize merging and digitisation
29 virtual Bool_t Init();
32 // void Digitise(Int_t nev,Int_t flag) ;
33 virtual void Exec(Option_t* option=0);
34 Int_t GetDebug() {return fDebug;} // get debug level
35 void SetDebug(Int_t level){fDebug = level;} // set debug level
39 TClonesArray *fHits; //! List of hits for one track only
40 TClonesArray *fSDigits; //! List of clusters for one track only
41 AliHitMap **fHitMap; //! pointer to array of pointers to hitmaps
42 Int_t fNch; //! chamber nr (loop variable)
43 Int_t fTrack; //! track nr (loop variable)
44 // Int_t fCharge; //! charge generated by fTrack
45 TObjArray *fTDList; //! list of AliRICHTransientDigit
46 Int_t fCounter; //! nr. of AliRICHTransientDigit
47 Bool_t fSignal; //! kTRUE if signal file is processed
48 Int_t fMask; //! mask dependent on input file
49 Int_t fDigits[5]; //! array with digits
50 Int_t fDebug; //! debug level
52 ClassDef(AliRICHDigitizer,1)