Crombie Tools
UncertaintyInfo.h
Go to the documentation of this file.
1
/**
2
@file UncertaintyInfo.h
3
4
Defines the UncertaintyInfo class to apply to plots
5
6
@author Daniel Abercrombie <dabercro@mit.edu>
7
*/
8
9
#ifndef CROMBIETOOLS_COMMONTOOLS_UNCERTAINTYINFO_H
10
#define CROMBIETOOLS_COMMONTOOLS_UNCERTAINTYINFO_H
11
12
#include "TString.h"
13
14
#include "
UncertaintyInfo.h
"
15
16
/**
17
@ingroup commongroup
18
@struct UncertaintyInfo
19
Structure holding information to apply uncertainties in certain plots.
20
The Histogram pointed to is assumed to have values greater than 1.
21
When applied via the ApplyUncertainy() function,
22
1 is subtracted from the bin content to get the uncertainty.
23
This is different than the Corrector approach to uncertainties.
24
*/
25
26
struct
UncertaintyInfo
27
{
28
/// The constructor fills all of the entries
29
UncertaintyInfo
( TString UncVariable =
""
, TString FileName =
""
, TString HistName =
""
,
30
Int_t StartBin = 1, Int_t EndBin = 0 )
31
:
fUncVariable
{UncVariable},
32
fFileName
{FileName},
33
fHistName
{HistName},
34
fStartBin
{StartBin},
35
fEndBin
{EndBin}
36
{}
37
virtual
~UncertaintyInfo
() {}
38
39
TString
fUncVariable
;
///< The variable that the uncertainty is a function of
40
TString
fFileName
;
///< The file that containes the uncertainty histogram
41
TString
fHistName
;
///< The uncertainty histogram name
42
Int_t
fStartBin
;
///< The first bin to read from the histogram
43
Int_t
fEndBin
;
///< The last bin to read from the histogram
44
};
45
46
#endif
old
PlotTools
interface
UncertaintyInfo.h
Generated on Tue Nov 3 2020 04:04:03 for Crombie Tools by
1.8.12