From 0ad637e2105e0ef248029f6377e5e73323333e00 Mon Sep 17 00:00:00 2001 From: Axel Naumann Date: Wed, 28 Jun 2017 14:47:37 +0200 Subject: [PATCH] Make default TTree::Draw() hists double precision (THxD). --- README/ReleaseNotes/v612/index.md | 1 + config/rootrc.in | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README/ReleaseNotes/v612/index.md b/README/ReleaseNotes/v612/index.md index 99ac2c5d25145..a26f0bb60a619 100644 --- a/README/ReleaseNotes/v612/index.md +++ b/README/ReleaseNotes/v612/index.md @@ -61,6 +61,7 @@ or will be set to the address of the histogram read from the file. - Resolved O(N^2) scaling problem in ```TTree::Draw()``` observed when a branch that contains a large TClonesArray where each element contains another small vector container. +- `TTree::Draw()` now creates double precision histograms by default; this can be configured in etc/system.rootrc / .rootrc as `Hist.Precision.1D` (or `2D` or `3D`). ## Histogram Libraries diff --git a/config/rootrc.in b/config/rootrc.in index f46868a32a0d9..626dd9a5bb6f4 100644 --- a/config/rootrc.in +++ b/config/rootrc.in @@ -167,10 +167,10 @@ Hist.Binning.3D.z: 20 Hist.Binning.3D.Profx: 100 Hist.Binning.3D.Profy: 100 -# Default histogram precision for TTree::Draw(). It can be 'float"or "double" -Hist.Precision.1D: float -Hist.Precision.2D: float -Hist.Precision.3D: float +# Default histogram precision for TTree::Draw(). It can be "float" or "double" +Hist.Precision.1D: double +Hist.Precision.2D: double +Hist.Precision.3D: double # Default statistics parameters names. Hist.Stats.Entries: Entries