]>
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 | ||
12 | #include "TNamed.h" | |
cd906859 | 13 | #include "AliHLTPHOSCommonDefs.h" |
228cb536 | 14 | |
15 | ||
16 | class AliHLTPHOSEmcCalibData: public TNamed { | |
17 | ||
18 | public: | |
19 | AliHLTPHOSEmcCalibData(); | |
20 | AliHLTPHOSEmcCalibData(const char* name); | |
21 | AliHLTPHOSEmcCalibData(const AliHLTPHOSEmcCalibData &calibda); | |
22 | AliHLTPHOSEmcCalibData& operator= (const AliHLTPHOSEmcCalibData &calibda); | |
23 | virtual ~AliHLTPHOSEmcCalibData(); | |
24 | void Reset(); | |
25 | virtual void Print(Option_t *option = "") const; | |
26 | Float_t GetADCchannelEnergy(Int_t module, Int_t column, Int_t row, Int_t gain) const; | |
27 | Float_t GetADCpedestalEmcMeasured(Int_t module, Int_t column, Int_t row, Int_t gain) const; | |
28 | void SetADCchannelEnergy(Int_t module, Int_t column, Int_t row, Int_t gain, Float_t value); | |
29 | void SetADCpedestalEmcMeasured(Int_t module, Int_t column, Int_t row, Int_t gain, Float_t value); | |
30 | void MakeADCpedestalCorrectionTable(); | |
31 | protected: | |
bde48b84 | 32 | Float_t fADCchannelEnergy[N_MODULES][N_COLUMNS_MOD][N_ROWS_MOD][N_GAINS] ; /**<width of one EMC ADC channel in GeV*/ |
33 | Float_t fADCpedestalEmcMeasured[N_MODULES][N_COLUMNS_MOD][N_ROWS_MOD][N_GAINS] ; /**<value of the EMC ADC pedestal measured from calibration run*/ | |
8633654e | 34 | Int_t fADCpedestalAltroReg[N_MODULES][N_COLUMNS_MOD][N_ROWS_MOD][N_GAINS] ; /**<value of the EMC ADC pedestal subtraction values stored in the ALTRO registers*/ |
bde48b84 | 35 | Float_t fADCpedestalCorrectionTable[N_MODULES][N_COLUMNS_MOD][N_ROWS_MOD][N_GAINS] ; /**<value of the EMC ADC pedestal values to be subtracted form the decoed cahnnel data (= fADCpedestalEmcMeasured - fADCpedestalAltroReg)*/ |
228cb536 | 36 | |
37 | ClassDef(AliHLTPHOSEmcCalibData,1) // PHOS EMC calibration data | |
38 | }; | |
39 | ||
40 | #endif |