BayesianAnalysisToolkit
0.9.3
|
A class describing a systematic variation. More...
#include <BCMTFSystematicVariation.h>
Public Member Functions | |
Constructors and destructors | |
BCMTFSystematicVariation (const char *channelname, const char *systematicname, int nprocesses) | |
~BCMTFSystematicVariation () | |
Member functions (get) | |
TH1D * | GetHistogramUp (int index) |
TH1D * | GetHistogramDown (int index) |
Member functions (set) | |
void | SetHistogramUp (int index, TH1D *hist) |
void | SetHistogramDown (int index, TH1D *hist) |
void | SetHistograms (int index, TH1D *hist_up, TH1D *hist_down) |
Member functions (miscellaneous methods) | |
void | AddHistogramUp (TH1D *hist) |
void | AddHistogramDown (TH1D *hist) |
void | AddHistograms (TH1D *hist_up, TH1D *hist_down) |
Private Attributes | |
std::vector< TH1D * > | fHistogramUpContainer |
std::vector< TH1D * > | fHistogramDownContainer |
std::string | fChannelName |
std::string | fSystematicName |
A class describing a systematic variation.
Definition at line 31 of file BCMTFSystematicVariation.h.
BCMTFSystematicVariation::BCMTFSystematicVariation | ( | const char * | channelname, |
const char * | systematicname, | ||
int | nprocesses | ||
) |
The default constructor.
channelname | The name of the channel. |
systematicname | The name of the systematic. |
nprocesses | The number of processes. |
Definition at line 16 of file BCMTFSystematicVariation.cxx.
BCMTFSystematicVariation::~BCMTFSystematicVariation | ( | ) |
|
inline |
Add a histogram for down-scale variations.
hist | The histogram. |
Definition at line 122 of file BCMTFSystematicVariation.h.
|
inline |
Add a histograms for up- and down-scale variations.
hist_up | The up-scale histogram. |
hist_down | The down-scale histogram. |
Definition at line 131 of file BCMTFSystematicVariation.h.
|
inline |
Add a histogram for up-scale variations.
hist | The histogram. |
Definition at line 114 of file BCMTFSystematicVariation.h.
|
inline |
Returns the histogram correponding to the down-scale variation of the systematic.
index | The process index. |
Definition at line 66 of file BCMTFSystematicVariation.h.
|
inline |
Returns the histogram correponding to the up-scale variation of the systematic.
index | The process index. |
Definition at line 58 of file BCMTFSystematicVariation.h.
|
inline |
Set the histogram correponding to the down-scale variation of the systematic.
index | The process index. |
hist | The histogram. |
Definition at line 90 of file BCMTFSystematicVariation.h.
|
inline |
Set the histograms correponding to the up- and down-scale variations of the systematic.
index | The process index. |
hist_up | The up-scale histogram. |
hist_down | The down-scale histogram. |
Definition at line 101 of file BCMTFSystematicVariation.h.
|
inline |
Set the histogram correponding to the up-scale variation of the systematic.
index | The process index. |
hist | The histogram. |
Definition at line 80 of file BCMTFSystematicVariation.h.
|
private |
The name of the corresponding channel.
Definition at line 149 of file BCMTFSystematicVariation.h.
|
private |
A container of histograms.
Definition at line 145 of file BCMTFSystematicVariation.h.
|
private |
A container of histograms.
Definition at line 133 of file BCMTFSystematicVariation.h.
|
private |
The name of the corresponding source of systematic uncertainty.
Definition at line 154 of file BCMTFSystematicVariation.h.