Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooStats::HistFactory::StatError Class Reference

Statistical error of Monte Carlo predictions.

Definition at line 307 of file Systematics.h.

Public Member Functions

 StatError ()
 
void Activate (bool IsActive=true)
 
bool GetActivate () const
 
const TH1GetErrorHist () const
 
const std::string & GetHistoName () const
 
const std::string & GetHistoPath () const
 
const std::string & GetInputFile () const
 
bool GetUseHisto () const
 
void Print (std::ostream &=std::cout) const override
 
void PrintXML (std::ostream &) const override
 
void SetErrorHist (TH1 *Error)
 
void SetHistoName (const std::string &HistoName)
 
void SetHistoPath (const std::string &HistoPath)
 
void SetInputFile (const std::string &InputFile)
 
void SetUseHisto (bool UseHisto=true)
 
void writeToFile (const std::string &FileName, const std::string &DirName) override
 
- Public Member Functions inherited from RooStats::HistFactory::HistogramUncertaintyBase
 HistogramUncertaintyBase ()
 
 HistogramUncertaintyBase (const HistogramUncertaintyBase &oth)
 
 HistogramUncertaintyBase (const std::string &Name)
 
 HistogramUncertaintyBase (HistogramUncertaintyBase &&)=default
 
virtual ~HistogramUncertaintyBase ()
 
const TH1GetHistoHigh () const
 
const TH1GetHistoLow () const
 
const std::string & GetHistoNameHigh () const
 
const std::string & GetHistoNameLow () const
 
const std::string & GetHistoPathHigh () const
 
const std::string & GetHistoPathLow () const
 
const std::string & GetInputFileHigh () const
 
const std::string & GetInputFileLow () const
 
const std::string & GetName () const
 
HistogramUncertaintyBaseoperator= (const HistogramUncertaintyBase &oth)
 
HistogramUncertaintyBaseoperator= (HistogramUncertaintyBase &&)=default
 
void SetHistoHigh (TH1 *High)
 
void SetHistoLow (TH1 *Low)
 
void SetHistoNameHigh (const std::string &HistoNameHigh)
 
void SetHistoNameLow (const std::string &HistoNameLow)
 
void SetHistoPathHigh (const std::string &HistoPathHigh)
 
void SetHistoPathLow (const std::string &HistoPathLow)
 
void SetInputFileHigh (const std::string &InputFileHigh)
 
void SetInputFileLow (const std::string &InputFileLow)
 
void SetName (const std::string &Name)
 

Protected Attributes

bool fActivate
 
bool fUseHisto
 
- Protected Attributes inherited from RooStats::HistFactory::HistogramUncertaintyBase
std::unique_ptr< TH1fhHigh
 
std::string fHistoNameHigh
 
std::string fHistoNameLow
 
std::string fHistoPathHigh
 
std::string fHistoPathLow
 
std::unique_ptr< TH1fhLow
 
std::string fInputFileHigh
 
std::string fInputFileLow
 
std::string fName
 

#include <RooStats/HistFactory/Systematics.h>

Inheritance diagram for RooStats::HistFactory::StatError:
[legend]

Constructor & Destructor Documentation

◆ StatError()

RooStats::HistFactory::StatError::StatError ( )
inline

Definition at line 311 of file Systematics.h.

Member Function Documentation

◆ Activate()

void RooStats::HistFactory::StatError::Activate ( bool  IsActive = true)
inline

Definition at line 319 of file Systematics.h.

◆ GetActivate()

bool RooStats::HistFactory::StatError::GetActivate ( ) const
inline

Definition at line 320 of file Systematics.h.

◆ GetErrorHist()

const TH1 * RooStats::HistFactory::StatError::GetErrorHist ( ) const
inline

Definition at line 335 of file Systematics.h.

◆ GetHistoName()

const std::string & RooStats::HistFactory::StatError::GetHistoName ( ) const
inline

Definition at line 329 of file Systematics.h.

◆ GetHistoPath()

const std::string & RooStats::HistFactory::StatError::GetHistoPath ( ) const
inline

Definition at line 332 of file Systematics.h.

◆ GetInputFile()

const std::string & RooStats::HistFactory::StatError::GetInputFile ( ) const
inline

Definition at line 326 of file Systematics.h.

◆ GetUseHisto()

bool RooStats::HistFactory::StatError::GetUseHisto ( ) const
inline

Definition at line 323 of file Systematics.h.

◆ Print()

void RooStats::HistFactory::StatError::Print ( std::ostream &  stream = std::cout) const
overridevirtual

Reimplemented from RooStats::HistFactory::HistogramUncertaintyBase.

Definition at line 282 of file Systematics.cxx.

◆ PrintXML()

void RooStats::HistFactory::StatError::PrintXML ( std::ostream &  xml) const
overridevirtual

Implements RooStats::HistFactory::HistogramUncertaintyBase.

Definition at line 290 of file Systematics.cxx.

◆ SetErrorHist()

void RooStats::HistFactory::StatError::SetErrorHist ( TH1 Error)
inline

Definition at line 338 of file Systematics.h.

◆ SetHistoName()

void RooStats::HistFactory::StatError::SetHistoName ( const std::string &  HistoName)
inline

Definition at line 328 of file Systematics.h.

◆ SetHistoPath()

void RooStats::HistFactory::StatError::SetHistoPath ( const std::string &  HistoPath)
inline

Definition at line 331 of file Systematics.h.

◆ SetInputFile()

void RooStats::HistFactory::StatError::SetInputFile ( const std::string &  InputFile)
inline

Definition at line 325 of file Systematics.h.

◆ SetUseHisto()

void RooStats::HistFactory::StatError::SetUseHisto ( bool  UseHisto = true)
inline

Definition at line 322 of file Systematics.h.

◆ writeToFile()

void RooStats::HistFactory::StatError::writeToFile ( const std::string &  FileName,
const std::string &  DirName 
)
overridevirtual

Reimplemented from RooStats::HistFactory::HistogramUncertaintyBase.

Definition at line 305 of file Systematics.cxx.

Member Data Documentation

◆ fActivate

bool RooStats::HistFactory::StatError::fActivate
protected

Definition at line 344 of file Systematics.h.

◆ fUseHisto

bool RooStats::HistFactory::StatError::fUseHisto
protected

Definition at line 345 of file Systematics.h.

Libraries for RooStats::HistFactory::StatError:

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