Crombie Tools
UncertaintyInfo Struct Reference

Structure holding information to apply uncertainties in certain plots. More...

#include <UncertaintyInfo.h>

Public Member Functions

 UncertaintyInfo (TString UncVariable="", TString FileName="", TString HistName="", Int_t StartBin=1, Int_t EndBin=0)
 The constructor fills all of the entries. More...
 
virtual ~UncertaintyInfo ()
 

Public Attributes

Int_t fEndBin
 The last bin to read from the histogram. More...
 
TString fFileName
 The file that containes the uncertainty histogram. More...
 
TString fHistName
 The uncertainty histogram name. More...
 
Int_t fStartBin
 The first bin to read from the histogram. More...
 
TString fUncVariable
 The variable that the uncertainty is a function of. More...
 

Detailed Description

Structure holding information to apply uncertainties in certain plots.

The Histogram pointed to is assumed to have values greater than 1. When applied via the ApplyUncertainy() function, 1 is subtracted from the bin content to get the uncertainty. This is different than the Corrector approach to uncertainties.

Definition at line 26 of file UncertaintyInfo.h.

Constructor & Destructor Documentation

§ UncertaintyInfo()

UncertaintyInfo::UncertaintyInfo ( TString  UncVariable = "",
TString  FileName = "",
TString  HistName = "",
Int_t  StartBin = 1,
Int_t  EndBin = 0 
)
inline

The constructor fills all of the entries.

Definition at line 29 of file UncertaintyInfo.h.

References fEndBin, fFileName, fHistName, and fStartBin.

§ ~UncertaintyInfo()

virtual UncertaintyInfo::~UncertaintyInfo ( )
inlinevirtual

Definition at line 37 of file UncertaintyInfo.h.

Member Data Documentation

§ fEndBin

Int_t UncertaintyInfo::fEndBin

The last bin to read from the histogram.

Definition at line 43 of file UncertaintyInfo.h.

Referenced by ApplyUncertainty(), and UncertaintyInfo().

§ fFileName

TString UncertaintyInfo::fFileName

The file that containes the uncertainty histogram.

Definition at line 40 of file UncertaintyInfo.h.

Referenced by ApplyUncertainty(), and UncertaintyInfo().

§ fHistName

TString UncertaintyInfo::fHistName

The uncertainty histogram name.

Definition at line 41 of file UncertaintyInfo.h.

Referenced by ApplyUncertainty(), and UncertaintyInfo().

§ fStartBin

Int_t UncertaintyInfo::fStartBin

The first bin to read from the histogram.

Definition at line 42 of file UncertaintyInfo.h.

Referenced by ApplyUncertainty(), and UncertaintyInfo().

§ fUncVariable

TString UncertaintyInfo::fUncVariable

The variable that the uncertainty is a function of.

Definition at line 39 of file UncertaintyInfo.h.


The documentation for this struct was generated from the following file: