]>
Commit | Line | Data |
---|---|---|
2434abb9 | 1 | #ifndef ALIVZERODigitizer_H |
2 | #define ALIVZERODigitizer_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
b0d2c2d3 | 6 | ///_________________________________________________________________________ |
7 | /// | |
8 | /// Class for making Digits in VZERO | |
9 | ///_________________________________________________________________________ | |
2434abb9 | 10 | |
11 | ||
b0d2c2d3 | 12 | // --- Standard library --- |
13 | ||
14 | // --- AliRoot header files --- | |
15 | ||
2434abb9 | 16 | #include "AliDigitizer.h" |
2434abb9 | 17 | |
18 | class TClonesArray; | |
2434abb9 | 19 | class AliRunDigitizer; |
ce7090f5 | 20 | class AliCDBManager; |
21 | class AliCDBStorage; | |
22 | class AliVZEROCalibData; | |
2434abb9 | 23 | |
24 | class AliVZERODigitizer: public AliDigitizer { | |
25 | ||
ce7090f5 | 26 | public: |
2434abb9 | 27 | |
ce7090f5 | 28 | AliVZERODigitizer() ; // constructor |
29 | AliVZERODigitizer(AliRunDigitizer *manager);// constructor | |
30 | virtual ~AliVZERODigitizer() ; // destructor | |
2434abb9 | 31 | |
ce7090f5 | 32 | virtual Bool_t Init(); |
33 | virtual void Exec(Option_t* option=0); | |
2434abb9 | 34 | |
20277079 | 35 | void AddDigit(Int_t PMnumber, Int_t adc, Int_t time); |
ce7090f5 | 36 | void ResetDigit(); |
37 | ||
38 | AliVZEROCalibData *GetCalibData() const; | |
8adc9b44 | 39 | Int_t GetPMNumber(Int_t cell) const; |
40 | ||
ce7090f5 | 41 | protected: |
42 | ||
43 | AliVZEROCalibData *fCalibData; //! calibration data | |
44 | ||
2434abb9 | 45 | private: |
ce7090f5 | 46 | |
0b2bea8b | 47 | AliVZERODigitizer(const AliVZERODigitizer& /*digitizer*/); |
48 | ||
49 | AliVZERODigitizer& operator = (const AliVZERODigitizer& /*digitizer*/); | |
2434abb9 | 50 | |
ce7090f5 | 51 | Float_t fPhotoCathodeEfficiency; // Photocathode efficiency |
52 | Float_t fPMVoltage ; // Photomultiplier voltage | |
53 | Float_t fPMGain; // Photomultiplier gain | |
2434abb9 | 54 | |
ce7090f5 | 55 | Int_t fNdigits; //! Number of digits |
56 | TClonesArray *fDigits; //! List of digits | |
2434abb9 | 57 | |
ce7090f5 | 58 | ClassDef(AliVZERODigitizer,2) // digitizer for VZERO |
2434abb9 | 59 | |
60 | }; | |
61 | ||
62 | #endif // AliVZERODigitizer_H |