Completely updated version (Guillermo)
[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 AliRunDigitizer;
20 class AliCDBManager;
21 class AliCDBStorage;
22 class AliACORDECalibData;
23
24 class AliACORDEDigitizer: public AliDigitizer {
25
26  public:
27
28    AliACORDEDigitizer() ;                       // constructor
29    AliACORDEDigitizer(AliRunDigitizer *manager);// constructor
30    virtual ~AliACORDEDigitizer() ;              // destructor
31   
32    virtual Bool_t Init();
33    virtual void   Exec(Option_t* option=0);
34
35    void AddDigit(Int_t* track, Int_t module, Float_t time);
36    void ResetDigit();
37   
38    AliACORDECalibData *GetCalibData() const;
39   
40  protected:
41  
42    AliACORDECalibData *fCalibData;  //! calibration data
43  
44  private:
45  
46    AliACORDEDigitizer(const AliACORDEDigitizer& /*digitizer*/); 
47       
48    AliACORDEDigitizer& operator = (const AliACORDEDigitizer& /*digitizer*/); 
49   
50
51    Int_t   fNdigits;                //! Number of digits
52    TClonesArray *fDigits;           //! List of digits
53
54    ClassDef(AliACORDEDigitizer,1)    // digitizer for ACORDE
55
56 };
57
58 #endif // AliACORDEDigitizer_H