Skip to content

Commit 3761199

Browse files
author
Olivier
committed
Formating style
1 parent e564a63 commit 3761199

2 files changed

Lines changed: 18 additions & 18 deletions

File tree

hist/hist/src/TH2.cxx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1505,11 +1505,11 @@ TH2 *TH2::Rebin(Int_t ngroup, const char *newname, const Double_t *xbins)
15051505
////////////////////////////////////////////////////////////////////////////////
15061506
/// Rebin this histogram grouping nxgroup/nygroup bins along the xaxis/yaxis together.
15071507
///
1508-
/// #### case 1 xbins=0 || ybins=0
1508+
/// #### case 1 `xbins`=0 || `ybins`=0
15091509
///
1510-
/// if newname is not blank a new temporary histogram hnew is created.
1510+
/// if `newname` is not blank a new temporary histogram hnew is created.
15111511
/// else the current histogram is modified (default)
1512-
/// The parameter nxgroup/nygroup indicate how many bins along the xaxis/yaxis of this
1512+
/// The parameters `nxgroup`/`nygroup` indicate how many bins along the xaxis/yaxis of this
15131513
/// have to me merged into one bin of hnew
15141514
/// If the original histogram has errors stored (via Sumw2), the resulting
15151515
/// histograms has new errors correctly calculated.
@@ -1523,30 +1523,30 @@ TH2 *TH2::Rebin(Int_t ngroup, const char *newname, const Double_t *xbins)
15231523
/// // merging 5 bins of h1 along the yaxis in one bin
15241524
/// ~~~
15251525
///
1526-
/// NOTE : If nxgroup/nygroup is not an exact divider of the number of bins,
1526+
/// \note : If `nxgroup`/`nygroup` is not an exact divider of the number of bins,
15271527
/// along the xaxis/yaxis the top limit(s) of the rebinned histogram
15281528
/// is changed to the upper edge of the xbin=newxbins*nxgroup resp.
15291529
/// ybin=newybins*nygroup and the corresponding bins are added to
15301530
/// the overflow bin.
15311531
/// Statistics will be recomputed from the new bin contents.
15321532
///
1533-
/// #### case 2 xbins!=0 && ybins!=0
1533+
/// #### case 2 `xbins`!=0 && `ybins`!=0
15341534
///
1535-
/// A new histogram is created (you should specify newname).
1536-
/// The parameter nxgroup (nygroup) is the number of variable size bins for the x-axis
1535+
/// A new histogram is created (you should specify `newname`).
1536+
/// The parameter `nxgroup` (`nygroup`) is the number of variable size bins for the x-axis
15371537
/// (y-axis) in the created histogram.
1538-
/// The arrays xbins and ybins must contain nxgroup+1 and nygroups+1 elements
1538+
/// The arrays `xbins` and `ybins` must contain `nxgroup+1` and `nygroups+1` elements
15391539
/// that represent the low-edges of the x and y bins respectively.
15401540
/// If the original histogram has errors stored (via Sumw2), the resulting
15411541
/// histograms has new errors correctly calculated.
15421542
///
1543-
/// NOTE: The bin edges specified in xbins and ybins should correspond
1543+
/// \note The bin edges specified in xbins and ybins should correspond
15441544
/// to bin edges in the original histogram. If a bin edge in the new histogram
15451545
/// is in the middle of a bin in the original histogram, all entries in
15461546
/// the split bin in the original histogram will be transfered to the
15471547
/// lower of the two possible bins in the new histogram. This is
15481548
/// probably not what you want. A warning message is emitted in this
1549-
/// case
1549+
/// case.
15501550
///
15511551
/// examples: if h2 is an existing TH2F histogram with 100 bins on x-axis
15521552
/// and 100 bins y-axis

hist/hist/src/TProfile2D.cxx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1420,11 +1420,11 @@ void TProfile2D::ExtendAxis(Double_t x, TAxis *axis)
14201420
////////////////////////////////////////////////////////////////////////////////
14211421
/// Rebin this histogram grouping nxgroup/nygroup bins along the xaxis/yaxis together.
14221422
///
1423-
/// ## case 1 xbins=0 || ybins=0
1423+
/// ## case 1 `xbins`=0 || `ybins`=0
14241424
///
1425-
/// if newname is not blank a new profile hnew is created.
1425+
/// if `newname` is not blank a new profile hnew is created.
14261426
/// else the current histogram is modified (default)
1427-
/// The parameter nxgroup/nygroup indicate how many bins along the xaxis/yaxis of this
1427+
/// The parameters `nxgroup`/`nygroup` indicate how many bins along the xaxis/yaxis of this
14281428
/// have to be merged into one bin of hnew
14291429
/// If the original profile has errors stored (via Sumw2), the resulting
14301430
/// profile has new errors correctly calculated.
@@ -1440,18 +1440,18 @@ void TProfile2D::ExtendAxis(Double_t x, TAxis *axis)
14401440
/// // merging 5 bins of hpxpy along the yaxis in one bin
14411441
/// ~~~
14421442
///
1443-
/// NOTE : If nxgroup/nygroup is not an exact divider of the number of bins,
1443+
/// \note : If `nxgroup`/`nygroup` is not an exact divider of the number of bins,
14441444
/// along the xaxis/yaxis the top limit(s) of the rebinned profile
14451445
/// is changed to the upper edge of the xbin=newxbins*nxgroup resp.
14461446
/// ybin=newybins*nygroup and the remaining bins are added to
14471447
/// the overflow bin.
14481448
/// Statistics will be recomputed from the new bin contents.
14491449
///
1450-
/// ## case 2 xbins!=0 && ybins!=0
1451-
/// a new profile is created (you should specify newname).
1452-
/// The parameter nxgroup (nygroup) is the number of variable size bins for the x-axis
1450+
/// ## case 2 `xbins`!=0 && `ybins`!=0
1451+
/// a new profile is created (you should specify `newname`).
1452+
/// The parameter `nxgroup` (`nygroup`) is the number of variable size bins for the x-axis
14531453
/// (y-axis) in the created profile.
1454-
/// The arrays xbins and ybins must contain nxgroup+1 and nygroup+1 elements that
1454+
/// The arrays `xbins` and `ybins` must contain `nxgroup+1` and `nygroup+1` elements that
14551455
/// represent the low-edge of the x and y bins respectively.
14561456
/// The data of the old bins are added to the new bin which contains the bin center
14571457
/// of the old bins. It is possible that information from the old binning are attached

0 commit comments

Comments
 (0)