Loading...
 
HistoRoot         HistoRoot is a user-friendly histogramming package for Root.
Print
HistoRoot is a user-friendly histogramming program based on Root(external link). It permits you to generate and plot histograms from Root or ASCII files, specifying the value via an expression involving the NTuple variables and the usual C functions. It has four sliders that apply range cuts to an expression; sliding them updates the plot in real time. It can combine multiple NTuples in one histogram, and can display multiple histograms on a single canvas (Combo Plot). HistoRoot is an open-source program distributed for Linux, Mac OS X, and Windows; it can also be built from source.

Image


HistoRoot is a Root macro that presents the user with a GUI that permits:
  • Opening of Root Files
  • Opening of ASCII files arranged in columns (space, tab, or comma separated)
  • Selection of one or more NTuples
  • Generation of 1-D histograms from the selected NTuple(s)
  • Generation of 2-D histograms from the selected NTuple(s)
  • Generation of X-Y plots from the selected NTuple(s)
  • Defining persistent variables in terms of expressions of Ntuple fields
  • Values histogrammed or plotted are entered as C expressions of variables or NTuple fields
  • Four sliders are available to impose cuts based on the values of expressions
  • Histograms and plots can be combined onto a single canvas
  • For NTuples generated by G4beamlineOld, a count of each type of particle is printed.

Note you must have Root installed and working to use HistoRoot.

HistoRoot 2.0 is now compiled, which makes it run ~100 times faster than 1.0 on large files (1.0 ran as an interpreted Root macro). Because of this, you must install a compatible version of Root. It will fall back to running the macro if the compiled version won't load. You need a compiler only if you want to compile and run it with a version of Root that is incompatible with the distributed version.

Download

The source code (HistoRoot.C) is included with every installer, as is a Makefile and instructions how to build it on other OSs or other versions of Root.

Mac OS X (Intel)

This version runs on Leopard (10.5.x), Snow Leopard (10.6.x), and Lion (10.7.x).
HistoRoot-2.0.dmg(external link)
Here is a compatible version of Root (re-packaged as a Mac OS X application):
root-5.26.dmg(external link)

Linux

This version is built on Scientific Linux 4.x, and should run on that and later RedHat-derived distributions of Linux; it may well run on other Linux distributions.
http://muonsinc.com/muons3/historoot/HistoRoot-2.0.tgz(external link)
Here is a compatible version of Root:
root_v5.28.00c.Linux-slc4-gcc3.4.tar.gz(external link)

Windows

This version is built on Windows Xp using VC++ 9, and should run on that and later versions of Windows.
historoot/HistoRoot-2.01.msi(external link)
Here is a compatible version of Root:
oot_v5.28.00c.win32.vc90.msi(external link)