Skip to content

Commit

Permalink
Make default TTree::Draw() hists double precision (THxD).
Browse files Browse the repository at this point in the history
  • Loading branch information
Axel-Naumann committed Jun 28, 2017
1 parent 1f22fce commit 0ad637e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions README/ReleaseNotes/v612/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
8 changes: 4 additions & 4 deletions config/rootrc.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0ad637e

Please sign in to comment.