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

*Un*constrained bin-by-bin variation of affected histogram.

Definition at line 250 of file Systematics.h.

Public Member Functions

const std::string & GetHistoName () const
 
const std::string & GetHistoPath () const
 
const TH1GetInitialShape () const
 
const std::string & GetInputFile () const
 
bool HasInitialShape () const
 
bool IsConstant () const
 
void Print (std::ostream &=std::cout) const override
 
void PrintXML (std::ostream &) const override
 
void SetConstant (bool constant)
 
void SetHistoName (const std::string &HistoName)
 
void SetHistoPath (const std::string &HistoPath)
 
void SetInitialShape (TH1 *shape)
 
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
 
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 fConstant = false
 
bool fHasInitialShape = false
 
- 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::ShapeFactor:
[legend]

Member Function Documentation

◆ GetHistoName()

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

Definition at line 277 of file Systematics.h.

◆ GetHistoPath()

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

Definition at line 283 of file Systematics.h.

◆ GetInitialShape()

const TH1 * RooStats::HistFactory::ShapeFactor::GetInitialShape ( ) const
inline

Definition at line 260 of file Systematics.h.

◆ GetInputFile()

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

Definition at line 271 of file Systematics.h.

◆ HasInitialShape()

bool RooStats::HistFactory::ShapeFactor::HasInitialShape ( ) const
inline

Definition at line 265 of file Systematics.h.

◆ IsConstant()

bool RooStats::HistFactory::ShapeFactor::IsConstant ( ) const
inline

Definition at line 263 of file Systematics.h.

◆ Print()

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

Reimplemented from RooStats::HistFactory::HistogramUncertaintyBase.

Definition at line 213 of file Systematics.cxx.

◆ PrintXML()

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

Implements RooStats::HistFactory::HistogramUncertaintyBase.

Definition at line 253 of file Systematics.cxx.

◆ SetConstant()

void RooStats::HistFactory::ShapeFactor::SetConstant ( bool  constant)
inline

Definition at line 262 of file Systematics.h.

◆ SetHistoName()

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

Definition at line 273 of file Systematics.h.

◆ SetHistoPath()

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

Definition at line 279 of file Systematics.h.

◆ SetInitialShape()

void RooStats::HistFactory::ShapeFactor::SetInitialShape ( TH1 shape)
inline

Definition at line 257 of file Systematics.h.

◆ SetInputFile()

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

Definition at line 267 of file Systematics.h.

◆ writeToFile()

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

Reimplemented from RooStats::HistFactory::HistogramUncertaintyBase.

Definition at line 230 of file Systematics.cxx.

Member Data Documentation

◆ fConstant

bool RooStats::HistFactory::ShapeFactor::fConstant = false
protected

Definition at line 287 of file Systematics.h.

◆ fHasInitialShape

bool RooStats::HistFactory::ShapeFactor::fHasInitialShape = false
protected

Definition at line 291 of file Systematics.h.

Libraries for RooStats::HistFactory::ShapeFactor:

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