VZERO reconstruction starting from raw-data input. New AliVZERORawStream class for...
[u/mrichter/AliRoot.git] / VZERO / AliVZERODigitizer.h
CommitLineData
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
18class TClonesArray;
2434abb9 19class AliRunDigitizer;
ce7090f5 20class AliCDBManager;
21class AliCDBStorage;
22class AliVZEROCalibData;
2434abb9 23
24class 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;
39
40 protected:
41
42 AliVZEROCalibData *fCalibData; //! calibration data
43
2434abb9 44 private:
ce7090f5 45
0b2bea8b 46 AliVZERODigitizer(const AliVZERODigitizer& /*digitizer*/);
47
48 AliVZERODigitizer& operator = (const AliVZERODigitizer& /*digitizer*/);
2434abb9 49
ce7090f5 50 Float_t fPhotoCathodeEfficiency; // Photocathode efficiency
51 Float_t fPMVoltage ; // Photomultiplier voltage
52 Float_t fPMGain; // Photomultiplier gain
2434abb9 53
ce7090f5 54 Int_t fNdigits; //! Number of digits
55 TClonesArray *fDigits; //! List of digits
2434abb9 56
ce7090f5 57 ClassDef(AliVZERODigitizer,2) // digitizer for VZERO
2434abb9 58
59};
60
61#endif // AliVZERODigitizer_H