]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Correct setter/getter methods for fgPedestalValue
authorpavlinov <pavlinov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 15 Apr 2010 16:48:21 +0000 (16:48 +0000)
committerpavlinov <pavlinov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 15 Apr 2010 16:48:21 +0000 (16:48 +0000)
EMCAL/AliEMCALRawUtils.h

index cab4a88eaaacb98ac8eb812831b32d16f003b5f7..60b764a3d802460bc8371ac7040aae275fcc98a4 100644 (file)
@@ -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; }