BAT  0.9.4
The Bayesian analysis toolkit
 All Classes Namespaces Functions Variables Enumerations
BCMTFComparisonTool Class Reference

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)
 

Detailed Description

A helper class for BCMTFAnalysisFacility storing information.

Author
Daniel Kollar
Kevin Kröninger
Version
1.1
Date
06.2012 This is a helper class for BCMTFAnalysisFacility storing information.

Definition at line 29 of file BCMTFComparisonTool.h.

Constructor & Destructor Documentation

BCMTFComparisonTool::BCMTFComparisonTool ( const char *  name)

The default constructor.

Parameters
nameThe 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 char *  name,
TH1D  hist 
)

Add a constribution.

Parameters
nameThe name of the contribution.
histThe histogram.

Definition at line 37 of file BCMTFComparisonTool.cxx.

void BCMTFComparisonTool::AddContribution ( const char *  name,
double  centralvalue,
double  uncertainty 
)

Add a constribution.

Parameters
nameThe name of the contribution.
centralvalueThe central value.
uncertaintyThe uncertainty.

Definition at line 53 of file BCMTFComparisonTool.cxx.

void BCMTFComparisonTool::DrawOverview ( )

Draw an overview.

Definition at line 105 of file BCMTFComparisonTool.cxx.

std::string BCMTFComparisonTool::GetName ( )
inline
Returns
The name of the class.

Definition at line 52 of file BCMTFComparisonTool.h.

int BCMTFComparisonTool::GetNContributions ( )
inline
Returns
The number of contributions.

Definition at line 57 of file BCMTFComparisonTool.h.

void BCMTFComparisonTool::PrintHistograms ( const char *  filename)

Print all histograms to a file.

Parameters
filenameThe name of the file.

Definition at line 69 of file BCMTFComparisonTool.cxx.

void BCMTFComparisonTool::PrintOverview ( const char *  filename)

Print an overview to a file.

Parameters
filenameThe name of the file.

Definition at line 172 of file BCMTFComparisonTool.cxx.


The documentation for this class was generated from the following files: