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