HBookHistogram


HBookHistogram - C++ concrete implementation class for histograms.

The HBookHistogram class is descended from the more general HepHistogram class. It provides a simple and generic interface to the HBook histogramming library.

The code assumes that FORTRAN is callable from C by the (mostly) standard BSD convention: all lowercase symbol names with an "_" appended.

Author

Created by Bob Jacobsen to go with HepHistogram.

See also

HepTuple, HepTupleManager, HepHistogram, HBookTuple, HBookFile.

Declaration

#include "CLHEP/Hist/HBookHistogram.h"

class HBookHistogram : public HepHistogram

Public Member Functions

Constructor
HBookHistogram(const char *title, int nBins, float low, float high, int id_req=0)
Create a 1D histogram with the given title and binning.
Constructor
HBookHistogram(const char *title, int nBinsX, float lowX, float highX, int nBinsY, float lowY, float highY, int id_req=0)
Create a 2D histogram with the given title and binning.
Destructor
virtual ~HBookHistogram()
accumulate
virtual void accumulate(float x, float weight=1.)
virtual void accumulate(float x, float y, float weight)


10 October 1997
EVC