BayesianAnalysisToolkit
0.9.3
Main Page
Namespaces
Classes
Files
File List
File Members
models
mtf
BCMTFComparisonTool.h
Go to the documentation of this file.
1
#ifndef __BCMTFCOMPARISONTOOL__H
2
#define __BCMTFCOMPARISONTOOL__H
3
14
/*
15
* Copyright (C) 2007-2013, the BAT core developer team
16
* All rights reserved.
17
*
18
* For the licensing terms see doc/COPYING.
19
* For documentation see http://mpp.mpg.de/bat
20
*/
21
22
// ---------------------------------------------------------
23
#include <string>
24
#include <vector>
25
26
#include <TH1D.h>
27
28
// ---------------------------------------------------------
29
class
BCMTFComparisonTool
30
{
31
32
public
:
33
40
BCMTFComparisonTool
(
const
char
* name);
41
44
~BCMTFComparisonTool
();
45
52
std::string
GetName
()
53
{
return
fName
; };
54
57
int
GetNContributions
()
58
{
return
(
int
)
fHistogramContainer
.size(); };
59
68
void
AddContribution
(
const
char
* name, TH1D hist);
69
75
void
AddContribution
(
const
char
* name,
double
centralvalue,
double
uncertainty);
76
79
void
DrawOverview
();
80
88
void
PrintHistograms
(
const
char
* filename);
89
93
void
PrintOverview
(
const
char
* filename);
94
97
private
:
98
101
std::string
fName
;
102
105
std::vector<std::string>
fNameContainer
;
106
109
std::vector<TH1D *>
fHistogramContainer
;
110
113
std::vector<double>
fCentralValueContainer
;
114
117
std::vector<double>
fUncertaintyContainer
;
118
119
};
120
// ---------------------------------------------------------
121
122
#endif
123
Generated by
1.8.4