#include <MatrixOfHProf.h>
Inheritance diagram for MatrixOfHProf:
A MatrixOfHProf contains a set of 1-dimensional THProfile histograms; these histograms are (normally) all created by the constructor. The histograms share the same axis binning, and their names and titles are created using two BinningFun objects that at the same time define the number of histograms.
The histogram names will a concatenation of the name given by the user, and the bin names given by the BinningFun objects. The same applies to the title.
A MatrixOfHProf is a convenient tool to create a large set of histograms at the same time.
Functions exist to add, multiply, and divide sets of histograms. These operations are performed on pairs of corresponding histograms, if possible.
Author: Jenny Böhme, Benno List
Changelog:
Definition at line 53 of file MatrixOfHProf.h.
Public Member Functions | |
MatrixOfHProf (const char *name_, const char *title_, const ROListPoR &rol, const BinningFunPoR &binning1_, const BinningFunPoR &binning2_) | |
Constructor for an empty set of histograms. | |
MatrixOfHProf (const char *name_, const char *title_, Int_t nbinsx, Axis_t xlow, Axis_t xup, Option_t *option_, const ROListPoR &rol, const BinningFunPoR &binning1_, const BinningFunPoR &binning2_) | |
Constructor for a set of histograms with equidistant axis binning. | |
MatrixOfHProf (const char *name_, const char *title_, Int_t nbinsx, Axis_t xlow, Axis_t xup, Axis_t ylow_, Axis_t yup_, Option_t *option_, const ROListPoR &rol, const BinningFunPoR &binning1_, const BinningFunPoR &binning2_) | |
Constructor for a set of histograms with equidistant axis binning. | |
MatrixOfHProf (const char *name_, const char *title_, Int_t nbinsx, const Double_t *xbins, Option_t *option_, const ROListPoR &rol, const BinningFunPoR &binning1_, const BinningFunPoR &binning2_) | |
Constructor for a set of histograms with non-equidistant axis binning, taking doubles. | |
MatrixOfHProf (const char *name_, const char *title_, Int_t nbinsx, const Double_t *xbins, Axis_t ylow_, Axis_t yup_, Option_t *option_, const ROListPoR &rol, const BinningFunPoR &binning1_, const BinningFunPoR &binning2_) | |
Constructor for a set of histograms with non-equidistant axis binning, taking doubles. | |
MatrixOfHProf (const char *name_, const char *title_, Int_t nbinsx, const Float_t *xbins, Option_t *option_, const ROListPoR &rol, const BinningFunPoR &binning1_, const BinningFunPoR &binning2_) | |
Constructor for a set of histograms with non-equidistant axis binning, taking floats. | |
MatrixOfHProf (const char *name_, const char *title_, Int_t nbinsx, const Float_t *xbins, Axis_t ylow_, Axis_t yup_, Option_t *option_, const ROListPoR &rol, const BinningFunPoR &binning1_, const BinningFunPoR &binning2_) | |
Constructor for a set of histograms with non-equidistant axis binning, taking floats. | |
MatrixOfHProf (const char *name_, const char *title_, const Binning &axisbinning_, Option_t *option_, const ROListPoR &rol, const BinningFunPoR &binning1_, const BinningFunPoR &binning2_) | |
Constructor for a set of histograms taking a Binning object. | |
MatrixOfHProf (const char *name_, const char *title_, const Binning &axisbinning_, Axis_t ylow_, Axis_t yup_, Option_t *option_, const ROListPoR &rol, const BinningFunPoR &binning1_, const BinningFunPoR &binning2_) | |
Constructor for a set of histograms taking a Binning object. | |
virtual | ~MatrixOfHProf () |
Virtual destructor. | |
RegHProf * | getHisto (IndexType i, IndexType j) |
virtual void | initHisto (IndexType i, IndexType j) |
Books and registers one histogram with number i. | |
Private Member Functions | |
MatrixOfHProf (const MatrixOfHProf &source) | |
Private copy constructor, left unimplemented: No copying! | |
MatrixOfHProf & | operator= (const MatrixOfHProf &source) |
Private assignment, left unimplemented: No assignment! | |
Private Attributes | |
Binning | axisbinning |
The axis binning. | |
Axis_t | ylow |
Minimum y value (as for TProfile). | |
Axis_t | yup |
Maximum y value (as for TProfile). |
|
Constructor for an empty set of histograms.
Definition at line 31 of file MatrixOfHProf.C. |
|
Constructor for a set of histograms with equidistant axis binning.
Definition at line 40 of file MatrixOfHProf.C. References MatrixOfH::initHistos(). |
|
Constructor for a set of histograms with equidistant axis binning.
Definition at line 57 of file MatrixOfHProf.C. References MatrixOfH::initHistos(). |
|
Constructor for a set of histograms with non-equidistant axis binning, taking doubles.
Definition at line 76 of file MatrixOfHProf.C. References MatrixOfH::initHistos(). |
|
Constructor for a set of histograms with non-equidistant axis binning, taking doubles.
Definition at line 92 of file MatrixOfHProf.C. References MatrixOfH::initHistos(). |
|
Constructor for a set of histograms with non-equidistant axis binning, taking floats.
Definition at line 110 of file MatrixOfHProf.C. References MatrixOfH::initHistos(). |
|
Constructor for a set of histograms with non-equidistant axis binning, taking floats.
Definition at line 126 of file MatrixOfHProf.C. References MatrixOfH::initHistos(). |
|
Constructor for a set of histograms taking a Binning object.
Definition at line 144 of file MatrixOfHProf.C. References MatrixOfH::initHistos(). |
|
Constructor for a set of histograms taking a Binning object.
Definition at line 159 of file MatrixOfHProf.C. References MatrixOfH::initHistos(). |
|
Returns a pointer to the histogram corresponding to bin i of the 1st and bin j of the 2nd binning
Reimplemented from MatrixOfH. Definition at line 222 of file MatrixOfHProf.C. References MatrixOfH::getBinNumber(), and ROList::getEntry(). |
|
Books and registers one histogram with number i.
Implements MatrixOfH. Definition at line 208 of file MatrixOfHProf.C. References axisbinning, MatrixOfH::genBinName(), MatrixOfH::genBinTitle(), MatrixOfH::getBinNumber(), SetOfH::getOption(), ROList::registerObject(), ylow, and yup. |