Logo ROOT   6.18/05
Reference Guide
List of all members | Public Member Functions | Protected Attributes | List of all members
RooStats::HistFactory::ShapeFactor Class Reference

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

Definition at line 267 of file Systematics.h.

Public Member Functions

 ShapeFactor ()
 
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
 
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

bool fConstant
 
bool fHasInitialShape
 
- 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]

Constructor & Destructor Documentation

◆ ShapeFactor()

RooStats::HistFactory::ShapeFactor::ShapeFactor ( )
inline

Definition at line 271 of file Systematics.h.

Member Function Documentation

◆ GetHistoName()

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

Definition at line 300 of file Systematics.h.

◆ GetHistoPath()

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

Definition at line 306 of file Systematics.h.

◆ GetInitialShape()

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

Definition at line 283 of file Systematics.h.

◆ GetInputFile()

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

Definition at line 294 of file Systematics.h.

◆ HasInitialShape()

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

Definition at line 288 of file Systematics.h.

◆ IsConstant()

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

Definition at line 286 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 216 of file Systematics.cxx.

◆ PrintXML()

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

Implements RooStats::HistFactory::HistogramUncertaintyBase.

Definition at line 256 of file Systematics.cxx.

◆ SetConstant()

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

Definition at line 285 of file Systematics.h.

◆ SetHistoName()

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

Definition at line 296 of file Systematics.h.

◆ SetHistoPath()

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

Definition at line 302 of file Systematics.h.

◆ SetInitialShape()

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

Definition at line 280 of file Systematics.h.

◆ SetInputFile()

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

Definition at line 290 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 233 of file Systematics.cxx.

Member Data Documentation

◆ fConstant

bool RooStats::HistFactory::ShapeFactor::fConstant
protected

Definition at line 310 of file Systematics.h.

◆ fHasInitialShape

bool RooStats::HistFactory::ShapeFactor::fHasInitialShape
protected

Definition at line 314 of file Systematics.h.


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