]>
Commit | Line | Data |
---|---|---|
1b41ab20 | 1 | //-*- Mode: C++ -*- |
2 | // $Id$ | |
3 | ||
8633654e | 4 | |
228cb536 | 5 | #ifndef ALIHLTPHOSEMCCALIBDATA_H |
6 | #define ALIHLTPHOSEMCCALIBDATA_H | |
7 | ||
8 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
9 | * See cxx source for full Copyright notice */ | |
10 | ||
11 | //////////////////////////////////////////////// | |
12 | // class for EMC calibration // | |
13 | //////////////////////////////////////////////// | |
14 | ||
e0c124c5 | 15 | |
228cb536 | 16 | #include "TNamed.h" |
4f4b7ba4 | 17 | #include "AliHLTPHOSConstant.h" |
228cb536 | 18 | |
19 | ||
dabc4c35 | 20 | using namespace PhosHLTConst; |
21 | ||
228cb536 | 22 | class AliHLTPHOSEmcCalibData: public TNamed { |
23 | ||
24 | public: | |
25 | AliHLTPHOSEmcCalibData(); | |
26 | AliHLTPHOSEmcCalibData(const char* name); | |
27 | AliHLTPHOSEmcCalibData(const AliHLTPHOSEmcCalibData &calibda); | |
28 | AliHLTPHOSEmcCalibData& operator= (const AliHLTPHOSEmcCalibData &calibda); | |
29 | virtual ~AliHLTPHOSEmcCalibData(); | |
30 | void Reset(); | |
31 | virtual void Print(Option_t *option = "") const; | |
32 | Float_t GetADCchannelEnergy(Int_t module, Int_t column, Int_t row, Int_t gain) const; | |
33 | Float_t GetADCpedestalEmcMeasured(Int_t module, Int_t column, Int_t row, Int_t gain) const; | |
34 | void SetADCchannelEnergy(Int_t module, Int_t column, Int_t row, Int_t gain, Float_t value); | |
35 | void SetADCpedestalEmcMeasured(Int_t module, Int_t column, Int_t row, Int_t gain, Float_t value); | |
36 | void MakeADCpedestalCorrectionTable(); | |
37 | protected: | |
27029341 | 38 | Float_t fADCchannelEnergy[NMODULES][NXCOLUMNSMOD][NZROWSMOD][NGAINS] ; /**<width of one EMC ADC channel in GeV*/ |
39 | Float_t fADCpedestalEmcMeasured[NMODULES][NXCOLUMNSMOD][NZROWSMOD][NGAINS] ; /**<value of the EMC ADC pedestal measured from calibration run*/ | |
40 | Int_t fADCpedestalAltroReg[NMODULES][NXCOLUMNSMOD][NZROWSMOD][NGAINS] ; /**<value of the EMC ADC pedestal subtraction values stored in the ALTRO registers*/ | |
41 | Float_t fADCpedestalCorrectionTable[NMODULES][NXCOLUMNSMOD][NZROWSMOD][NGAINS] ; /**<value of the EMC ADC pedestal values to be subtracted form the decoed cahnnel data (= fADCpedestalEmcMeasured - fADCpedestalAltroReg)*/ | |
228cb536 | 42 | |
43 | ClassDef(AliHLTPHOSEmcCalibData,1) // PHOS EMC calibration data | |
44 | }; | |
45 | ||
46 | #endif |