switch to fill only events added
[u/mrichter/AliRoot.git] / AD / AliADDigitizer.h
1 #ifndef ALIADDigitizer_H
2 #define ALIADDigitizer_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5   
6 ///_________________________________________________________________________
7 ///
8 ///  Class for making Digits in AD 
9 ///_________________________________________________________________________   
10
11
12 // --- Standard library ---
13
14 // --- AliRoot header files ---
15
16 #include "AliDigitizer.h"
17
18 // #include "AliADConst.h"
19
20 class TClonesArray;
21 class AliDigitizationInput;
22 class AliCDBManager;
23 class AliCDBStorage;
24
25 class AliADDigitizer: public AliDigitizer {
26
27 public:
28                     AliADDigitizer() ;                              // default constructor
29                     AliADDigitizer(AliDigitizationInput* digInput); // constructor
30   virtual          ~AliADDigitizer() ;              // destructor
31
32   virtual Bool_t    Init();
33   virtual void      Digitize(Option_t* option=0);
34   void AddDigit(Int_t* track, Int_t module, Float_t cell);
35   void AddDigit(Int_t* modul, Float_t cell);    
36  
37
38             void    ResetDigit();
39             
40  
41 private:
42  
43                     AliADDigitizer(const AliADDigitizer& /*digitizer*/); 
44                     AliADDigitizer& operator = (const AliADDigitizer& /*digitizer*/); 
45   
46
47            Int_t    fNdigits;           //! Number of digits
48     TClonesArray*   fDigits;            //! List of digits
49
50    ClassDef(AliADDigitizer,1)     // digitizer for AD
51
52 };
53
54 #endif // AliADDigitizer_H