]>
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; |
20 | ||
2434abb9 | 21 | |
22 | class AliVZERODigitizer: public AliDigitizer { | |
23 | ||
24 | public: | |
25 | ||
26 | AliVZERODigitizer() ; // constructor | |
27 | AliVZERODigitizer(AliRunDigitizer *manager);// constructor | |
28 | virtual ~AliVZERODigitizer() ; // destructor | |
29 | ||
b0d2c2d3 | 30 | virtual Bool_t Init(); |
31 | virtual void Exec(Option_t* option=0); | |
32 | ||
33 | void AddDigit(Int_t cellnumber, Int_t adc); | |
2434abb9 | 34 | void ResetDigit(); |
2434abb9 | 35 | |
36 | private: | |
b0d2c2d3 | 37 | AliVZERODigitizer(const AliVZERODigitizer& digitizer): |
38 | AliDigitizer(digitizer) | |
39 | {Fatal("AliVZERODigitizer", "copy constructor not implemented");} | |
40 | AliVZERODigitizer& operator = (const AliVZERODigitizer& /*digitizer*/) | |
41 | {Fatal("operator=", "assignment operator not implemented"); return *this;} | |
2434abb9 | 42 | |
43 | Float_t fPhotoCathodeEfficiency; // Photocathode efficiency | |
44 | Float_t fPMVoltage ; // Photomultiplier voltage | |
45 | Float_t fPMGain; // Photomultiplier gain | |
46 | ||
b0d2c2d3 | 47 | Int_t fNdigits; //! Number of digits |
48 | TClonesArray *fDigits; //! List of digits | |
2434abb9 | 49 | |
b0d2c2d3 | 50 | ClassDef(AliVZERODigitizer,2) // digitizer for VZERO |
2434abb9 | 51 | |
52 | }; | |
53 | ||
54 | #endif // AliVZERODigitizer_H |