From 75a7115f2a4e51ca8bb5592c7c31483603917c9c Mon Sep 17 00:00:00 2001
From: Olivier Couet <Olivier.Couet@cern.ch>
Date: Wed, 17 Nov 2010 08:32:33 +0000
Subject: [PATCH] - Fix a typo in the ShowPeaks description.

git-svn-id: http://root.cern.ch/svn/root/trunk@36711 27541ba8-7e3a-0410-8455-c3a389f83636
---
 hist/hist/src/TH1.cxx | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/hist/hist/src/TH1.cxx b/hist/hist/src/TH1.cxx
index a1061dbbbf7..c23b17c2619 100644
--- a/hist/hist/src/TH1.cxx
+++ b/hist/hist/src/TH1.cxx
@@ -7805,12 +7805,12 @@ TH1 *TH1::ShowBackground(Int_t niter, Option_t *option)
 //______________________________________________________________________________
 Int_t TH1::ShowPeaks(Double_t sigma, Option_t *option, Double_t threshold)
 {
-   //Interface to TSpectrum::Search
-   //the function finds peaks in this histogram where the width is > sigma
+   //Interface to TSpectrum::Search.
+   //The function finds peaks in this histogram where the width is > sigma
    //and the peak maximum greater than threshold*maximum bin content of this.
-   //for more detauils see TSpectrum::Search.
-   //note the difference in the default value for option compared to TSpectrum::Search
-   //option="" by default (instead of "goff")
+   //For more details see TSpectrum::Search.
+   //Note the difference in the default value for option compared to TSpectrum::Search
+   //option="" by default (instead of "goff").
 
    return (Int_t)gROOT->ProcessLineFast(Form("TSpectrum::StaticSearch((TH1*)0x%lx,%g,\"%s\",%g)",
                                              (ULong_t)this, sigma, option, threshold));
-- 
GitLab