1 #ifndef ALIEMCALCALIBDATA_H
2 #define ALIEMCALCALIBDATA_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
9 ////////////////////////////////////////////////
10 // class for EMCAL calibration //
11 ////////////////////////////////////////////////
16 class AliEMCALCalibData: public TNamed {
20 AliEMCALCalibData(const char* name);
21 AliEMCALCalibData(const AliEMCALCalibData &calibda);
22 AliEMCALCalibData& operator= (const AliEMCALCalibData &calibda);
23 virtual ~AliEMCALCalibData();
25 virtual void Print(Option_t *option = "") const;
26 // All indexes start from 0!
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;
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);
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])
37 ClassDef(AliEMCALCalibData,1) // EMCAL Calibration data