A helper class for BCMTFAnalysisFacility storing information. More...
#include <BCMTFComparisonTool.h>
Public Member Functions | |
Constructors and destructors | |
BCMTFComparisonTool (const std::string &name) | |
The default constructor. More... | |
~BCMTFComparisonTool () | |
The defaul destructor. More... | |
Member functions (get) | |
const std::string & | GetName () |
const std::string & | GetSafeName () |
int | GetNContributions () |
Setters | |
void | SetName (const std::string &name) |
Set name. | |
Member functions (miscellaneous methods) | |
void | AddContribution (const std::string &name, TH1D hist) |
Add a constribution. More... | |
void | AddContribution (const std::string &name, double centralvalue, double uncertainty) |
Add a constribution. More... | |
void | DrawOverview () |
Draw an overview. More... | |
Member functions (output methods) | |
void | PrintHistograms (const std::string &filename) |
Print all histograms to a file. More... | |
void | PrintOverview (const std::string &filename) |
Print an overview to a file. More... | |
Detailed Description
A helper class for BCMTFAnalysisFacility storing information.
- Version
- 1.1
- Date
- 06.2012
This is a helper class for BCMTFAnalysisFacility storing information.
Definition at line 31 of file BCMTFComparisonTool.h.
Constructor & Destructor Documentation
BCMTFComparisonTool::BCMTFComparisonTool | ( | const std::string & | name | ) |
The default constructor.
- Parameters
-
name The name of the class.
Definition at line 22 of file BCMTFComparisonTool.cxx.
BCMTFComparisonTool::~BCMTFComparisonTool | ( | ) |
The defaul destructor.
Definition at line 28 of file BCMTFComparisonTool.cxx.
Member Function Documentation
void BCMTFComparisonTool::AddContribution | ( | const std::string & | name, |
TH1D | hist | ||
) |
Add a constribution.
- Parameters
-
name The name of the contribution. hist The histogram.
Definition at line 35 of file BCMTFComparisonTool.cxx.
void BCMTFComparisonTool::AddContribution | ( | const std::string & | name, |
double | centralvalue, | ||
double | uncertainty | ||
) |
Add a constribution.
- Parameters
-
name The name of the contribution. centralvalue The central value. uncertainty The uncertainty.
Definition at line 56 of file BCMTFComparisonTool.cxx.
void BCMTFComparisonTool::DrawOverview | ( | ) |
Draw an overview.
Definition at line 101 of file BCMTFComparisonTool.cxx.
|
inline |
- Returns
- The name of the class.
Definition at line 54 of file BCMTFComparisonTool.h.
|
inline |
- Returns
- The number of contributions.
Definition at line 64 of file BCMTFComparisonTool.h.
|
inline |
- Returns
- The name of the class.
Definition at line 59 of file BCMTFComparisonTool.h.
void BCMTFComparisonTool::PrintHistograms | ( | const std::string & | filename | ) |
Print all histograms to a file.
- Parameters
-
filename The name of the file.
Definition at line 72 of file BCMTFComparisonTool.cxx.
void BCMTFComparisonTool::PrintOverview | ( | const std::string & | filename | ) |
Print an overview to a file.
- Parameters
-
filename The name of the file.
Definition at line 169 of file BCMTFComparisonTool.cxx.
The documentation for this class was generated from the following files:
- /root/bat/models/mtf/BCMTFComparisonTool.h
- /root/bat/models/mtf/BCMTFComparisonTool.cxx