|
BayesianAnalysisToolkit
0.9.3
|
A helper class for BCMTFAnalysisFacility storing information. More...
#include <BCMTFComparisonTool.h>
Public Member Functions | |
Constructors and destructors | |
| BCMTFComparisonTool (const char *name) | |
| ~BCMTFComparisonTool () | |
Member functions (get) | |
| std::string | GetName () |
| int | GetNContributions () |
Member functions (miscellaneous methods) | |
| void | AddContribution (const char *name, TH1D hist) |
| void | AddContribution (const char *name, double centralvalue, double uncertainty) |
| void | DrawOverview () |
Member functions (output methods) | |
| void | PrintHistograms (const char *filename) |
| void | PrintOverview (const char *filename) |
Private Attributes | |
| std::string | fName |
| std::vector< std::string > | fNameContainer |
| std::vector< TH1D * > | fHistogramContainer |
| std::vector< double > | fCentralValueContainer |
| std::vector< double > | fUncertaintyContainer |
A helper class for BCMTFAnalysisFacility storing information.
Definition at line 29 of file BCMTFComparisonTool.h.
| BCMTFComparisonTool::BCMTFComparisonTool | ( | const char * | name) |
The default constructor.
| name | The name of the class. |
Definition at line 22 of file BCMTFComparisonTool.cxx.
| BCMTFComparisonTool::~BCMTFComparisonTool | ( | ) |
| void BCMTFComparisonTool::AddContribution | ( | const char * | name, |
| TH1D | hist | ||
| ) |
Add a constribution.
| name | The name of the contribution. |
| hist | The histogram. |
Definition at line 37 of file BCMTFComparisonTool.cxx.
| void BCMTFComparisonTool::AddContribution | ( | const char * | name, |
| double | centralvalue, | ||
| double | uncertainty | ||
| ) |
Add a constribution.
| name | The name of the contribution. |
| centralvalue | The central value. |
| uncertainty | The uncertainty. |
Definition at line 53 of file BCMTFComparisonTool.cxx.
| void BCMTFComparisonTool::DrawOverview | ( | ) |
Draw an overview.
Definition at line 105 of file BCMTFComparisonTool.cxx.
|
inline |
|
inline |
| void BCMTFComparisonTool::PrintHistograms | ( | const char * | filename) |
Print all histograms to a file.
| filename | The name of the file. |
Definition at line 69 of file BCMTFComparisonTool.cxx.
| void BCMTFComparisonTool::PrintOverview | ( | const char * | filename) |
Print an overview to a file.
| filename | The name of the file. |
Definition at line 172 of file BCMTFComparisonTool.cxx.
|
private |
A container of central values.
Definition at line 113 of file BCMTFComparisonTool.h.
|
private |
A container of TH1D histograms.
Definition at line 109 of file BCMTFComparisonTool.h.
|
private |
The name of the class.
Definition at line 101 of file BCMTFComparisonTool.h.
|
private |
The names of the contributions.
Definition at line 105 of file BCMTFComparisonTool.h.
|
private |
A container of uncertainties.
Definition at line 117 of file BCMTFComparisonTool.h.
1.8.4