]>
Commit | Line | Data |
---|---|---|
f565d89d | 1 | #ifndef ALIEMCALCALIBDATA_H |
2 | #define ALIEMCALCALIBDATA_H | |
3 | ||
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
7 | /* $Id$ */ | |
8 | ||
9 | //////////////////////////////////////////////// | |
10 | // class for EMCAL calibration // | |
11 | //////////////////////////////////////////////// | |
12 | ||
13 | #include "TNamed.h" | |
14 | #include "AliEMCAL.h" | |
15 | ||
16 | class AliEMCALCalibData: public TNamed { | |
17 | ||
18 | public: | |
19 | AliEMCALCalibData(); | |
20 | AliEMCALCalibData(const char* name); | |
21 | AliEMCALCalibData(const AliEMCALCalibData &calibda); | |
22 | AliEMCALCalibData& operator= (const AliEMCALCalibData &calibda); | |
23 | virtual ~AliEMCALCalibData(); | |
24 | void Reset(); | |
25 | virtual void Print(Option_t *option = "") const; | |
63b315c5 | 26 | // All indexes start from 0! |
f565d89d | 27 | Float_t GetADCchannel(Int_t module, Int_t column, Int_t row) const; |
28 | Float_t GetADCpedestal(Int_t module, Int_t column, Int_t row) const; | |
29 | // | |
30 | void SetADCchannel(Int_t module, Int_t column, Int_t row, Float_t value); | |
31 | void SetADCpedestal(Int_t module, Int_t column, Int_t row, Float_t value); | |
32 | ||
33 | protected: | |
30e19e51 | 34 | Float_t fADCchannel[12][48][24] ; // width of one ADC channel in GeV ([mod][col][row]) |
35 | Float_t fADCpedestal[12][48][24] ; // value of the ADC pedestal ([mod][col][row]) | |
f565d89d | 36 | // |
37 | ClassDef(AliEMCALCalibData,1) // EMCAL Calibration data | |
38 | }; | |
39 | ||
40 | #endif |