Histogram Library

Histogram Library


This C++ class-library allows to create, destroy and manipulate 1- and 2-dimensional Histograms. Special features include: Projections, slices , error propagation, integration and much more ...

Histograms can be read and written to HBOOK or YZ files.

How to use:

These are programs written in C++. To include them in your programs specify -I/usr/local/include in the compiler flags (if you are using GNU-make this must be added to the CXXFLAGS variable) and provide -L/usr/local/lib -lhisto as a linking option.

PawRzfile and HistogramHandler further requires linking with the packlib of the CERNLIB package and the miscutil library.

The header files must be included via
#include "histolib/header-file.h"

  1. A class of 1-dim and 2-dim Histograms (see HistogramBase.h, Histogram1d.h and Histogram2d.h for details)
  2. class PawRzfile to read and write Histograms to HBOOK files (so-called hbook or rz (random access zebra) files) (see PawRzfile.h for details).
  3. class HistogramHandler allows to access histograms from HBOOK files by name! It may be used only to read Histograms! (see HistogramHandler.h for details).

The code can also be retrieved via ftp.

For EDDA users: use CVS instead.