- changes for QA part of standard GG task
[u/mrichter/AliRoot.git] / ACORDE / AliACORDEDigitizer.h
1 #ifndef ALIACORDEDigitizer_H
2 #define ALIACORDEDigitizer_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 ACORDE 
9 ///_________________________________________________________________________   
10
11
12 // --- Standard library ---
13
14 // --- AliRoot header files ---
15
16 #include "AliDigitizer.h"
17
18 class TClonesArray;
19 class AliDigitizationInput;
20 class AliCDBManager;
21 class AliCDBStorage;
22 class AliACORDECalibData;
23
24 class AliACORDEDigitizer: public AliDigitizer {
25
26  public:
27
28    AliACORDEDigitizer() ;                       // constructor
29    AliACORDEDigitizer(AliDigitizationInput* digInput);// constructor
30    virtual ~AliACORDEDigitizer() ;              // destructor
31   
32    virtual Bool_t Init();
33    virtual void   Digitize(Option_t* option=0);
34
35    void AddDigit(Int_t* track, Int_t module, Float_t time);
36    void AddDigit(Int_t* modul, Float_t time);   
37    void ResetDigit();
38   
39    AliACORDECalibData *GetCalibData() const;
40   
41  protected:
42  
43    AliACORDECalibData *fCalibData;  //! calibration data
44  
45  private:
46  
47    AliACORDEDigitizer(const AliACORDEDigitizer& /*digitizer*/); 
48       
49    AliACORDEDigitizer& operator = (const AliACORDEDigitizer& /*digitizer*/); 
50   
51
52    Int_t   fNdigits;                //! Number of digits
53    TClonesArray *fDigits;           //! List of digits
54
55    ClassDef(AliACORDEDigitizer,1)    // digitizer for ACORDE
56
57 };
58
59 #endif // AliACORDEDigitizer_H