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 274 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
 
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
 
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 278 of file Systematics.h.

Member Function Documentation

◆ GetHistoName()

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

Definition at line 307 of file Systematics.h.

◆ GetHistoPath()

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

Definition at line 313 of file Systematics.h.

◆ GetInitialShape()

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

Definition at line 290 of file Systematics.h.

◆ GetInputFile()

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

Definition at line 301 of file Systematics.h.

◆ HasInitialShape()

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

Definition at line 295 of file Systematics.h.

◆ IsConstant()

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

Definition at line 293 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 292 of file Systematics.h.

◆ SetHistoName()

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

Definition at line 303 of file Systematics.h.

◆ SetHistoPath()

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

Definition at line 309 of file Systematics.h.

◆ SetInitialShape()

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

Definition at line 287 of file Systematics.h.

◆ SetInputFile()

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

Definition at line 297 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 317 of file Systematics.h.

◆ fHasInitialShape

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

Definition at line 321 of file Systematics.h.

Libraries for RooStats::HistFactory::ShapeFactor:

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