#include <MarSysBinningFun.h>
Inheritance diagram for MarSysBinningFun:
Public Member Functions | |
MarSysBinningFun (const TMarSyst &marsyst_, TFile *outfile_) | |
Default: Create an empty binning. | |
virtual int | operator() () const |
Returns a bin number between -1 and getNBins()-1. | |
virtual const char * | getBinName (int i) const |
returns a name string. | |
virtual const char * | getBinTitle (int i) const |
returns a title string. | |
virtual int | getNBins () const |
Protected Types | |
typedef map< string, int > | SysStringMap |
typedef map< int, string > | SysIntMap |
Protected Member Functions | |
virtual | ~MarSysBinningFun () |
Protected destructor to ensure creation on the heap. | |
Protected Attributes | |
const TMarSyst & | marsyst |
TFile * | outfile |
int | nbins |
SysStringMap | sysstringmap |
SysIntMap | sysintmap |
|
Definition at line 83 of file MarSysBinningFun.h. |
|
Definition at line 84 of file MarSysBinningFun.h. |
|
Default: Create an empty binning.
Definition at line 8 of file MarSysBinningFun.C. References marsyst, nbins, TMarSyst::ScalesToBeDone, sysintmap, and sysstringmap. |
|
Protected destructor to ensure creation on the heap.
Definition at line 91 of file MarSysBinningFun.h. |
|
Returns a bin number between -1 and getNBins()-1.
Definition at line 25 of file MarSysBinningFun.C. References marsyst, TMarSyst::Name, and sysstringmap. |
|
returns a name string. The name string MAY, and MUST, be destroyed by the user! therefore: you MUST NOT return a string constant here, like "dummy", but use new[] to allocate the string. The name string should be short, unique, and contain no spaces, like "tbin0".
Definition at line 33 of file MarSysBinningFun.C. |
|
returns a title string. The name string MAY, and MUST, be destroyed by the user! therefore: you MUST NOT return a string constant here, like "dummy", but use new[] to allocate the string. The name string should describe the bin, like "0.1 < t < 0.5".
Definition at line 43 of file MarSysBinningFun.C. References sysintmap. |
|
Definition at line 80 of file MarSysBinningFun.h. References nbins. |
|
Definition at line 85 of file MarSysBinningFun.h. Referenced by MarSysBinningFun(), and operator()(). |
|
Definition at line 86 of file MarSysBinningFun.h. Referenced by getBinName(). |
|
Definition at line 87 of file MarSysBinningFun.h. Referenced by getNBins(), and MarSysBinningFun(). |
|
Definition at line 88 of file MarSysBinningFun.h. Referenced by MarSysBinningFun(), and operator()(). |
|
Definition at line 89 of file MarSysBinningFun.h. Referenced by getBinName(), getBinTitle(), and MarSysBinningFun(). |