]>
Commit | Line | Data |
---|---|---|
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 | ||
6 | ///_________________________________________________________________________ | |
7 | /// | |
8 | /// Class for making Digits in VZERO | |
9 | ///_________________________________________________________________________ | |
10 | ||
11 | ||
12 | // --- Standard library --- | |
13 | ||
14 | // --- AliRoot header files --- | |
15 | ||
16 | #include "AliDigitizer.h" | |
17 | ||
18 | class TClonesArray; | |
19 | class AliRunDigitizer; | |
20 | ||
21 | ||
22 | class AliVZERODigitizer: public AliDigitizer { | |
23 | ||
24 | public: | |
25 | ||
26 | AliVZERODigitizer() ; // constructor | |
27 | AliVZERODigitizer(AliRunDigitizer *manager);// constructor | |
28 | virtual ~AliVZERODigitizer() ; // destructor | |
29 | ||
30 | virtual Bool_t Init(); | |
31 | virtual void Exec(Option_t* option=0); | |
32 | ||
33 | void AddDigit(Int_t cellnumber, Int_t adc); | |
34 | void ResetDigit(); | |
35 | ||
36 | private: | |
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;} | |
42 | ||
43 | Float_t fPhotoCathodeEfficiency; // Photocathode efficiency | |
44 | Float_t fPMVoltage ; // Photomultiplier voltage | |
45 | Float_t fPMGain; // Photomultiplier gain | |
46 | ||
47 | Int_t fNdigits; //! Number of digits | |
48 | TClonesArray *fDigits; //! List of digits | |
49 | ||
50 | ClassDef(AliVZERODigitizer,2) // digitizer for VZERO | |
51 | ||
52 | }; | |
53 | ||
54 | #endif // AliVZERODigitizer_H |