Public Member Functions | |
| Sample () | |
| Sample (const Sample &other) | |
| Sample (std::string Name) | |
| Sample (std::string Name, std::string HistoName, std::string InputFile, std::string HistoPath="") | |
| constructor from name, file and path. Name of the histogram should not include the path | |
| void | ActivateStatError () |
| void | ActivateStatError (std::string HistoName, std::string InputFile, std::string HistoPath="") |
| void | AddHistoFactor (const HistoFactor &Factor) |
| void | AddHistoFactor (std::string Name, std::string HistoNameLow, std::string HistoFileLow, std::string HistoPathLow, std::string HistoNameHigh, std::string HistoFileHigh, std::string HistoPathHigh) |
| void | AddHistoSys (const HistoSys &Sys) |
| void | AddHistoSys (std::string Name, std::string HistoNameLow, std::string HistoFileLow, std::string HistoPathLow, std::string HistoNameHigh, std::string HistoFileHigh, std::string HistoPathHigh) |
| void | AddNormFactor (const NormFactor &Factor) |
| void | AddNormFactor (std::string const &Name, double Val, double Low, double High) |
| void | AddOverallSys (const OverallSys &Sys) |
| void | AddOverallSys (std::string Name, double Low, double High) |
| void | AddShapeFactor (const ShapeFactor &Factor) |
| void | AddShapeFactor (std::string Name) |
| void | AddShapeSys (const ShapeSys &Sys) |
| void | AddShapeSys (std::string Name, Constraint::Type ConstraintType, std::string HistoName, std::string HistoFile, std::string HistoPath="") |
| std::string | GetChannelName () const |
| get name of associated channel | |
| const TH1 * | GetHisto () const |
| std::vector< RooStats::HistFactory::HistoFactor > & | GetHistoFactorList () |
| const std::vector< RooStats::HistFactory::HistoFactor > & | GetHistoFactorList () const |
| std::string | GetHistoName () const |
| get histogram name | |
| std::string | GetHistoPath () const |
| get histogram path | |
| std::vector< RooStats::HistFactory::HistoSys > & | GetHistoSysList () |
| const std::vector< RooStats::HistFactory::HistoSys > & | GetHistoSysList () const |
| std::string | GetInputFile () const |
| get input ROOT file | |
| std::string | GetName () const |
| get name of sample | |
| bool | GetNormalizeByTheory () const |
| does the normalization scale with luminosity | |
| std::vector< RooStats::HistFactory::NormFactor > & | GetNormFactorList () |
| const std::vector< RooStats::HistFactory::NormFactor > & | GetNormFactorList () const |
| std::vector< RooStats::HistFactory::OverallSys > & | GetOverallSysList () |
| const std::vector< RooStats::HistFactory::OverallSys > & | GetOverallSysList () const |
| std::vector< RooStats::HistFactory::ShapeFactor > & | GetShapeFactorList () |
| const std::vector< RooStats::HistFactory::ShapeFactor > & | GetShapeFactorList () const |
| std::vector< RooStats::HistFactory::ShapeSys > & | GetShapeSysList () |
| const std::vector< RooStats::HistFactory::ShapeSys > & | GetShapeSysList () const |
| RooStats::HistFactory::StatError & | GetStatError () |
| const RooStats::HistFactory::StatError & | GetStatError () const |
| bool | HasStatError () const |
| Sample & | operator= (const Sample &other) |
| void | Print (std::ostream &=std::cout) const |
| void | PrintXML (std::ofstream &xml) const |
| void | SetChannelName (const std::string &ChannelName) |
| set name of associated channel | |
| void | SetHisto (TH1 *histo) |
| void | SetHistoName (const std::string &HistoName) |
| set histogram name | |
| void | SetHistoPath (const std::string &HistoPath) |
| set histogram path | |
| void | SetInputFile (const std::string &InputFile) |
| set input ROOT file | |
| void | SetName (const std::string &Name) |
| set name of sample | |
| void | SetNormalizeByTheory (bool norm) |
| defines whether the normalization scale with luminosity | |
| void | SetStatError (RooStats::HistFactory::StatError Error) |
| void | SetValue (double Val) |
| void | writeToFile (std::string FileName, std::string DirName) |
Protected Attributes | |
| std::string | fChannelName |
| The Name of the parent channel. | |
| std::unique_ptr< TH1 > | fhCountingHist |
| std::vector< RooStats::HistFactory::HistoFactor > | fHistoFactorList |
| std::string | fHistoName |
| std::string | fHistoPath |
| std::vector< RooStats::HistFactory::HistoSys > | fHistoSysList |
| HistRef | fhNominal |
| The Nominal Shape. | |
| std::string | fInputFile |
| std::string | fName |
| bool | fNormalizeByTheory |
| std::vector< RooStats::HistFactory::NormFactor > | fNormFactorList |
| std::vector< RooStats::HistFactory::OverallSys > | fOverallSysList |
| std::vector< RooStats::HistFactory::ShapeFactor > | fShapeFactorList |
| std::vector< RooStats::HistFactory::ShapeSys > | fShapeSysList |
| RooStats::HistFactory::StatError | fStatError |
| Properties. | |
| bool | fStatErrorActivate |
#include <RooStats/HistFactory/Sample.h>
| RooStats::HistFactory::Sample::Sample | ( | ) |
Definition at line 20 of file Sample.cxx.
| RooStats::HistFactory::Sample::Sample | ( | std::string | Name | ) |
Definition at line 83 of file Sample.cxx.
| RooStats::HistFactory::Sample::Sample | ( | const Sample & | other | ) |
Definition at line 24 of file Sample.cxx.
| RooStats::HistFactory::Sample::Sample | ( | std::string | Name, |
| std::string | HistoName, | ||
| std::string | InputFile, | ||
| std::string | HistoPath = "" |
||
| ) |
constructor from name, file and path. Name of the histogram should not include the path
Definition at line 78 of file Sample.cxx.
| void RooStats::HistFactory::Sample::ActivateStatError | ( | ) |
Definition at line 304 of file Sample.cxx.
| void RooStats::HistFactory::Sample::ActivateStatError | ( | std::string | HistoName, |
| std::string | InputFile, | ||
| std::string | HistoPath = "" |
||
| ) |
Definition at line 312 of file Sample.cxx.
| void RooStats::HistFactory::Sample::AddHistoFactor | ( | const HistoFactor & | Factor | ) |
Definition at line 400 of file Sample.cxx.
| void RooStats::HistFactory::Sample::AddHistoFactor | ( | std::string | Name, |
| std::string | HistoNameLow, | ||
| std::string | HistoFileLow, | ||
| std::string | HistoPathLow, | ||
| std::string | HistoNameHigh, | ||
| std::string | HistoFileHigh, | ||
| std::string | HistoPathHigh | ||
| ) |
Definition at line 382 of file Sample.cxx.
| void RooStats::HistFactory::Sample::AddHistoSys | ( | const HistoSys & | Sys | ) |
Definition at line 377 of file Sample.cxx.
| void RooStats::HistFactory::Sample::AddHistoSys | ( | std::string | Name, |
| std::string | HistoNameLow, | ||
| std::string | HistoFileLow, | ||
| std::string | HistoPathLow, | ||
| std::string | HistoNameHigh, | ||
| std::string | HistoFileHigh, | ||
| std::string | HistoPathHigh | ||
| ) |
Definition at line 358 of file Sample.cxx.
| void RooStats::HistFactory::Sample::AddNormFactor | ( | const NormFactor & | Factor | ) |
Definition at line 353 of file Sample.cxx.
| void RooStats::HistFactory::Sample::AddNormFactor | ( | std::string const & | Name, |
| double | Val, | ||
| double | Low, | ||
| double | High | ||
| ) |
Definition at line 340 of file Sample.cxx.
| void RooStats::HistFactory::Sample::AddOverallSys | ( | const OverallSys & | Sys | ) |
Definition at line 336 of file Sample.cxx.
Definition at line 325 of file Sample.cxx.
| void RooStats::HistFactory::Sample::AddShapeFactor | ( | const ShapeFactor & | Factor | ) |
Definition at line 414 of file Sample.cxx.
| void RooStats::HistFactory::Sample::AddShapeFactor | ( | std::string | Name | ) |
Definition at line 405 of file Sample.cxx.
| void RooStats::HistFactory::Sample::AddShapeSys | ( | const ShapeSys & | Sys | ) |
Definition at line 433 of file Sample.cxx.
| void RooStats::HistFactory::Sample::AddShapeSys | ( | std::string | Name, |
| Constraint::Type | ConstraintType, | ||
| std::string | HistoName, | ||
| std::string | HistoFile, | ||
| std::string | HistoPath = "" |
||
| ) |
Definition at line 419 of file Sample.cxx.
|
inline |
| const TH1 * RooStats::HistFactory::Sample::GetHisto | ( | ) | const |
Definition at line 88 of file Sample.cxx.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| RooStats::HistFactory::Sample & RooStats::HistFactory::Sample::operator= | ( | const Sample & | other | ) |
Definition at line 48 of file Sample.cxx.
| void RooStats::HistFactory::Sample::Print | ( | std::ostream & | stream = std::cout | ) | const |
Definition at line 152 of file Sample.cxx.
| void RooStats::HistFactory::Sample::PrintXML | ( | std::ofstream & | xml | ) | const |
Definition at line 192 of file Sample.cxx.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void RooStats::HistFactory::Sample::SetValue | ( | double | Val | ) |
Definition at line 129 of file Sample.cxx.
| void RooStats::HistFactory::Sample::writeToFile | ( | std::string | FileName, |
| std::string | DirName | ||
| ) |
Definition at line 94 of file Sample.cxx.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |