]>
Commit | Line | Data |
---|---|---|
b762c2f6 | 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 | ||
b762c2f6 | 6 | |
7 | #include "AliDigitizer.h" | |
8 | ||
9 | class AliRunDigitizer; | |
10 | class AliRICHSDigit; | |
11 | class AliHitMap; | |
c60862bf | 12 | class AliRICHhit; |
b762c2f6 | 13 | |
c60862bf | 14 | class AliRICHDigitizer : public AliDigitizer |
15 | { | |
16 | public: | |
b762c2f6 | 17 | enum {kBgTag = -1}; |
b762c2f6 | 18 | |
c60862bf | 19 | AliRICHDigitizer(); |
20 | AliRICHDigitizer(AliRunDigitizer * manager); | |
21 | virtual ~AliRICHDigitizer(); | |
22 | ||
23 | Bool_t Exists(const AliRICHSDigit *p); //Compare pad hits | |
24 | void Update(AliRICHSDigit *sdigit); //Update a pad hit | |
25 | void CreateNew(AliRICHSDigit *sdigit); //Create a new hit | |
26 | Bool_t Init(); //virtual Initialize merging and digitisation | |
27 | void Exec(Option_t* option=0); //virtual Do the main work | |
28 | Int_t GetDebug() {return fDebug;} //get debug level | |
29 | void SetDebug(Int_t level){fDebug = level;} //set debug level | |
30 | ||
31 | AliRICHSDigit* FirstPad(AliRICHhit *hit, TClonesArray *clusters); | |
32 | AliRICHSDigit* NextPad(TClonesArray *clusters); | |
33 | protected: | |
34 | TClonesArray *fHits; //! List of hits for one track only | |
35 | TClonesArray *fSDigits; //! List of clusters for one track only | |
36 | AliHitMap **fHitMap; //! pointer to array of pointers to hitmaps | |
37 | Int_t fNch; //! chamber nr (loop variable) | |
38 | Int_t fTrack; //! track nr (loop variable) | |
39 | TObjArray *fTDList; //! list of AliRICHTransientDigit | |
40 | Int_t fCounter; //! nr. of AliRICHTransientDigit | |
41 | Bool_t fSignal; //! kTRUE if signal file is processed | |
42 | Int_t fMask; //! mask dependent on input file | |
43 | Int_t fDigits[5]; //! array with digits | |
44 | Int_t fDebug; //! debug level | |
45 | ||
46 | ClassDef(AliRICHDigitizer,1) | |
b762c2f6 | 47 | }; |
48 | #endif |