X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=EMCAL%2FAliEMCALCalibTimeDepCorrection.h;h=fb106009bffd94672c274f9edeedc7c3518e169e;hp=d7650daf7468a11f7de5c29ce67e0d120063c5c7;hb=0fb9e3f1449ef151a8cd4a38eccf031dff83626c;hpb=2f17a26997992da8c23470bb4cc226ffdb08a08e diff --git a/EMCAL/AliEMCALCalibTimeDepCorrection.h b/EMCAL/AliEMCALCalibTimeDepCorrection.h index d7650daf746..fb106009bff 100644 --- a/EMCAL/AliEMCALCalibTimeDepCorrection.h +++ b/EMCAL/AliEMCALCalibTimeDepCorrection.h @@ -38,8 +38,8 @@ class AliEMCALSuperModuleCalibTimeDepCorrection : public TObject { { return &fCorrection[icol][irow]; }; private: - Int_t fSuperModuleNum; - TArrayF fCorrection[AliEMCALGeoParams::fgkEMCALCols][AliEMCALGeoParams::fgkEMCALRows]; + Int_t fSuperModuleNum; // SM id + TArrayF fCorrection[AliEMCALGeoParams::fgkEMCALCols][AliEMCALGeoParams::fgkEMCALRows]; // values ClassDef(AliEMCALSuperModuleCalibTimeDepCorrection, 2) // help class }; @@ -50,7 +50,7 @@ class AliEMCALCalibTimeDepCorrection : public TObject { AliEMCALCalibTimeDepCorrection(const int nSM = AliEMCALGeoParams::fgkEMCALModules); // interface methods; getting the whole struct should be more efficient though - void InitCorrection(Int_t nSM, Int_t nBins, Float_t val); // assign a certain value to all + void InitCorrection(Int_t nSM, Int_t nBins, Float_t val=1.0); // assign a certain value to all // use the methods below with caution: take care that your argument ranges are valid void SetCorrection(Int_t smIndex, Int_t iCol, Int_t iRow, Int_t iBin, Float_t val=1.0); // assign a certain value to a given bin Float_t GetCorrection(Int_t smIndex, Int_t iCol, Int_t iRow, Int_t iBin) const; // assign a certain value to a given bin