]> git.uio.no Git - u/mrichter/AliRoot.git/blob - RICH/AliRICHDigitizer.h
unused vars removed
[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 /* $Id$ */
7
8 #include "AliDigitizer.h"
9
10 class AliRunDigitizer;
11 class AliRICHSDigit;
12 class AliHitMap;
13
14 class AliRICHDigitizer : public AliDigitizer {
15  public:
16     
17     AliRICHDigitizer();
18     AliRICHDigitizer(AliRunDigitizer * manager);
19     virtual ~AliRICHDigitizer();
20     
21     // Compare pad hits
22     virtual Bool_t Exists(const AliRICHSDigit * sdigit);
23     // Update a pad hit
24     virtual  void Update(AliRICHSDigit *sdigit);
25     // Create a new hit
26     virtual  void CreateNew(AliRICHSDigit *sdigit);
27
28     // Initialize merging and digitisation
29     virtual Bool_t Init();
30
31     // Do the main work
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    
36     enum {kBgTag = -1};
37
38  private:
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
51     
52     ClassDef(AliRICHDigitizer,1)
53 };    
54 #endif
55