Logo ROOT  
Reference Guide
RooStats::HistFactory::ShapeSys Class Referencefinal

Constrained bin-by-bin variation of affected histogram.

Definition at line 225 of file Systematics.h.

Public Member Functions

 ShapeSys ()
 
 ShapeSys (const ShapeSys &other)
 
Constraint::Type GetConstraintType () const
 
const TH1GetErrorHist () const
 
std::string GetHistoName () const
 
std::string GetHistoPath () const
 
std::string GetInputFile () const
 
void Print (std::ostream &=std::cout) const override
 
void PrintXML (std::ostream &) const override
 
void SetConstraintType (Constraint::Type ConstrType)
 
void SetErrorHist (TH1 *hError)
 
void SetHistoName (const std::string &HistoName)
 
void SetHistoPath (const std::string &HistoPath)
 
void SetInputFile (const std::string &InputFile)
 
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
 
virtual void Print (std::ostream &=std::cout) const
 
virtual void PrintXML (std::ostream &) const =0
 
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)
 
virtual void writeToFile (const std::string &FileName, const std::string &DirName)
 

Protected Attributes

Constraint::Type fConstraintType
 
- 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::ShapeSys:
[legend]

Constructor & Destructor Documentation

◆ ShapeSys() [1/2]

RooStats::HistFactory::ShapeSys::ShapeSys ( )
inline

Definition at line 229 of file Systematics.h.

◆ ShapeSys() [2/2]

RooStats::HistFactory::ShapeSys::ShapeSys ( const ShapeSys other)
inline

Definition at line 232 of file Systematics.h.

Member Function Documentation

◆ GetConstraintType()

Constraint::Type RooStats::HistFactory::ShapeSys::GetConstraintType ( ) const
inline

Definition at line 257 of file Systematics.h.

◆ GetErrorHist()

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

Definition at line 249 of file Systematics.h.

◆ GetHistoName()

std::string RooStats::HistFactory::ShapeSys::GetHistoName ( ) const
inline

Definition at line 240 of file Systematics.h.

◆ GetHistoPath()

std::string RooStats::HistFactory::ShapeSys::GetHistoPath ( ) const
inline

Definition at line 243 of file Systematics.h.

◆ GetInputFile()

std::string RooStats::HistFactory::ShapeSys::GetInputFile ( ) const
inline

Definition at line 237 of file Systematics.h.

◆ Print()

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

Reimplemented from RooStats::HistFactory::HistogramUncertaintyBase.

Definition at line 157 of file Systematics.cxx.

◆ PrintXML()

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

Implements RooStats::HistFactory::HistogramUncertaintyBase.

Definition at line 166 of file Systematics.cxx.

◆ SetConstraintType()

void RooStats::HistFactory::ShapeSys::SetConstraintType ( Constraint::Type  ConstrType)
inline

Definition at line 256 of file Systematics.h.

◆ SetErrorHist()

void RooStats::HistFactory::ShapeSys::SetErrorHist ( TH1 hError)
inline

Definition at line 252 of file Systematics.h.

◆ SetHistoName()

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

Definition at line 239 of file Systematics.h.

◆ SetHistoPath()

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

Definition at line 242 of file Systematics.h.

◆ SetInputFile()

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

Definition at line 236 of file Systematics.h.

◆ writeToFile()

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

Reimplemented from RooStats::HistFactory::HistogramUncertaintyBase.

Definition at line 176 of file Systematics.cxx.

Member Data Documentation

◆ fConstraintType

Constraint::Type RooStats::HistFactory::ShapeSys::fConstraintType
protected

Definition at line 260 of file Systematics.h.

Libraries for RooStats::HistFactory::ShapeSys:
[legend]

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