From: pavlinov Date: Thu, 15 Apr 2010 16:48:21 +0000 (+0000) Subject: Correct setter/getter methods for fgPedestalValue X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=09313fea96d4f64a68161db9310289e91e513eb6;p=u%2Fmrichter%2FAliRoot.git Correct setter/getter methods for fgPedestalValue --- diff --git a/EMCAL/AliEMCALRawUtils.h b/EMCAL/AliEMCALRawUtils.h index cab4a88eaaa..60b764a3d80 100644 --- a/EMCAL/AliEMCALRawUtils.h +++ b/EMCAL/AliEMCALRawUtils.h @@ -53,7 +53,7 @@ class AliEMCALRawUtils : public TObject { Int_t GetNoiseThreshold() const { return fNoiseThreshold; } Int_t GetNPedSamples() const { return fNPedSamples; } // get methods for fast fit simulation - Double_t GetPedestalValue() const {return fgPedestalValue;} + Int_t GetPedestalValue() const {return fgPedestalValue;} Double_t GetFEENoise() const {return fgFEENoise;} Bool_t GetRemoveBadChannels() const {return fRemoveBadChannels;} @@ -72,7 +72,7 @@ class AliEMCALRawUtils : public TObject { // set methods for fast fit simulation void SetFEENoise(Double_t val) {fgFEENoise = val;} void SetRawFormatTimeBins(Int_t val) {fgTimeBins = val;} - void SetPedestalValue(Double_t val) {fgPedestalValue = val;} + void SetPedestalValue(Int_t val) {fgPedestalValue = val;} static Int_t GetRawFormatTimeBins() { return fgTimeBins ; } static Double_t GetRawFormatTimeMax() { return fgTimeBins*fgTimeBinWidth; }