#include <SetOfHProf.h>
Inheritance diagram for SetOfHProf:


A SetOfHProf contains a set of 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 a BinningFun object that at the same time defines the number of histograms.
The histogram names will a concatenation of the name given by the user, and the bin name given by the BinningFun. The same applies to the title.
A SetOfHProf 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: Benno List
Changelog:
Definition at line 51 of file SetOfHProf.h.
Public Member Functions | |
| SetOfHProf (const char *name_, const char *title_, const ROListPoR &hhl, const BinningFunPoR &binning_) | |
| Constructor for an empty set histograms.   | |
| SetOfHProf (const char *name_, const char *title_, Int_t nbinsx, Axis_t xlow, Axis_t xup, Option_t *option_, const ROListPoR &hhl, const BinningFunPoR &binning_) | |
| Constructor for a set of histograms with equidistant binning.   | |
| SetOfHProf (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 &hhl, const BinningFunPoR &binning_) | |
| Constructor for a set of histograms with equidistant binning and limited y range.   | |
| SetOfHProf (const char *name_, const char *title_, Int_t nbinsx, const Float_t *xbins, Option_t *option_, const ROListPoR &hhl, const BinningFunPoR &binning_) | |
| Constructor for a set of histograms with non-equidistant binning, taking float bin edges.   | |
| SetOfHProf (const char *name_, const char *title_, Int_t nbinsx, const Double_t *xbins, Option_t *option_, const ROListPoR &hhl, const BinningFunPoR &binning_) | |
| Constructor for a set of histograms with non-equidistant binning, taking double bin edges.   | |
| SetOfHProf (const char *name_, const char *title_, Int_t nbinsx, const Double_t *xbins, Axis_t ylow_, Axis_t yup_, Option_t *option_, const ROListPoR &hhl, const BinningFunPoR &binning_) | |
| Constructor for a set of histograms with non-equidistant binning and limited y range.   | |
| SetOfHProf (const char *name_, const char *title_, const Binning &axisbinning_, Option_t *option_, const ROListPoR &hhl, const BinningFunPoR &binning_) | |
| Constructor for a set of histograms with Binning object.   | |
| SetOfHProf (const char *name_, const char *title_, const Binning &axisbinning_, Axis_t ylow_, Axis_t yup_, Option_t *option_, const ROListPoR &hhl, const BinningFunPoR &binning_) | |
| Constructor for a set of histograms with Binning object and limited y range.   | |
| virtual | ~SetOfHProf () | 
| Destructor.  | |
| RegHProf * | getHisto (IndexType i) | 
| Returns histogram number i (corresponding to bin i of the BinningFun).   | |
| void | initHisto (IndexType i) | 
| Books and registers one histogram with number i.   | |
Protected Member Functions | |
| void | initialize (ROList &hhl) | 
Protected Attributes | |
| Binning | axisbinning | 
| The axis binning.  | |
| Axis_t | ylow | 
| Minimum y value (as for TProfile).  | |
| Axis_t | yup | 
| Maximum y value (as for TProfile).  | |
Private Member Functions | |
| SetOfHProf (const SetOfHProf &source) | |
| Private copy constructor, left unimplemented: No copying!  | |
| SetOfHProf & | operator= (const SetOfHProf &source) | 
| Private assignment operator, left unimplemented: No assignment!  | |
      
  | 
  ||||||||||||||||||||
| 
 Constructor for an empty set histograms. 
 
 Definition at line 31 of file SetOfHProf.C. References SetOfH::initHistos().  | 
  
      
  | 
  ||||||||||||||||||||||||||||||||||||
| 
 Constructor for a set of histograms with equidistant binning. 
 
 Definition at line 42 of file SetOfHProf.C. References SetOfH::initHistos().  | 
  
      
  | 
  ||||||||||||||||||||||||||||||||||||||||||||
| 
 Constructor for a set of histograms with equidistant binning and limited y range. 
 
 Definition at line 57 of file SetOfHProf.C. References SetOfH::initHistos().  | 
  
      
  | 
  ||||||||||||||||||||||||||||||||
| 
 Constructor for a set of histograms with non-equidistant binning, taking float bin edges. 
 
 Definition at line 74 of file SetOfHProf.C. References SetOfH::initHistos().  | 
  
      
  | 
  ||||||||||||||||||||||||||||||||
| 
 Constructor for a set of histograms with non-equidistant binning, taking double bin edges. 
 
 Definition at line 88 of file SetOfHProf.C. References SetOfH::initHistos().  | 
  
      
  | 
  ||||||||||||||||||||||||||||||||||||||||
| 
 Constructor for a set of histograms with non-equidistant binning and limited y range. 
 
 Definition at line 102 of file SetOfHProf.C. References SetOfH::initHistos().  | 
  
      
  | 
  ||||||||||||||||||||||||||||
| 
 Constructor for a set of histograms with Binning object. 
 
 Definition at line 118 of file SetOfHProf.C. References SetOfH::initHistos().  | 
  
      
  | 
  ||||||||||||||||||||||||||||||||||||
| 
 Constructor for a set of histograms with Binning object and limited y range. 
 
 Definition at line 131 of file SetOfHProf.C. References SetOfH::initHistos().  | 
  
      
  | 
  
| 
 Returns histogram number i (corresponding to bin i of the BinningFun). 
 
 Definition at line 160 of file SetOfHProf.C. References ROList::getEntry().  | 
  
      
  | 
  
| 
 Books and registers one histogram with number i. 
 
 Implements SetOfH. Definition at line 148 of file SetOfHProf.C. References axisbinning, SetOfH::genBinName(), SetOfH::genBinTitle(), SetOfH::getOption(), ROList::registerObject(), ylow, and yup.  | 
  
 
1.3.2