ROOT
6.07/01
Reference Guide
|
Public Member Functions | |
Sample () | |
Sample (std::string Name) | |
Sample (const Sample &other) | |
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 More... | |
~Sample () | |
void | Print (std::ostream &=std::cout) |
void | PrintXML (std::ofstream &xml) |
void | writeToFile (std::string FileName, std::string DirName) |
TH1 * | GetHisto () |
void | SetHisto (TH1 *histo) |
void | SetValue (Double_t Val) |
void | ActivateStatError () |
Note that histogram name should not include the path of the histogram in the file. More... | |
void | ActivateStatError (std::string HistoName, std::string InputFile, std::string HistoPath="") |
void | AddOverallSys (std::string Name, Double_t Low, Double_t High) |
void | AddOverallSys (const OverallSys &Sys) |
void | AddNormFactor (std::string Name, Double_t Val, Double_t Low, Double_t High, bool Const=false) |
void | AddNormFactor (const NormFactor &Factor) |
void | AddHistoSys (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 | AddHistoFactor (std::string Name, std::string HistoNameLow, std::string HistoFileLow, std::string HistoPathLow, std::string HistoNameHigh, std::string HistoFileHigh, std::string HistoPathHigh) |
void | AddHistoFactor (const HistoFactor &Factor) |
void | AddShapeFactor (std::string Name) |
void | AddShapeFactor (const ShapeFactor &Factor) |
void | AddShapeSys (std::string Name, Constraint::Type ConstraintType, std::string HistoName, std::string HistoFile, std::string HistoPath="") |
void | AddShapeSys (const ShapeSys &Sys) |
void | SetNormalizeByTheory (bool norm) |
bool | GetNormalizeByTheory () |
std::string | GetName () |
void | SetName (const std::string &Name) |
std::string | GetInputFile () |
void | SetInputFile (const std::string &InputFile) |
std::string | GetHistoName () |
void | SetHistoName (const std::string &HistoName) |
std::string | GetHistoPath () |
void | SetHistoPath (const std::string &HistoPath) |
std::string | GetChannelName () |
void | SetChannelName (const std::string &ChannelName) |
std::vector < RooStats::HistFactory::OverallSys > & | GetOverallSysList () |
std::vector < RooStats::HistFactory::NormFactor > & | GetNormFactorList () |
std::vector < RooStats::HistFactory::HistoSys > & | GetHistoSysList () |
std::vector < RooStats::HistFactory::HistoFactor > & | GetHistoFactorList () |
std::vector < RooStats::HistFactory::ShapeSys > & | GetShapeSysList () |
std::vector < RooStats::HistFactory::ShapeFactor > & | GetShapeFactorList () |
RooStats::HistFactory::StatError & | GetStatError () |
void | SetStatError (RooStats::HistFactory::StatError Error) |
Protected Attributes | |
std::string | fName |
std::string | fInputFile |
std::string | fHistoName |
std::string | fHistoPath |
std::string | fChannelName |
std::vector < RooStats::HistFactory::OverallSys > | fOverallSysList |
std::vector < RooStats::HistFactory::NormFactor > | fNormFactorList |
std::vector < RooStats::HistFactory::HistoSys > | fHistoSysList |
std::vector < RooStats::HistFactory::HistoFactor > | fHistoFactorList |
std::vector < RooStats::HistFactory::ShapeSys > | fShapeSysList |
std::vector < RooStats::HistFactory::ShapeFactor > | fShapeFactorList |
RooStats::HistFactory::StatError | fStatError |
bool | fNormalizeByTheory |
bool | fStatErrorActivate |
HistRef | fhNominal |
TH1 * | fhCountingHist |
#include <RooStats/HistFactory/Sample.h>
RooStats::HistFactory::Sample::Sample | ( | ) |
Definition at line 27 of file Sample.cxx.
RooStats::HistFactory::Sample::Sample | ( | std::string | Name | ) |
Definition at line 63 of file Sample.cxx.
RooStats::HistFactory::Sample::Sample | ( | const Sample & | other | ) |
Definition at line 31 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 57 of file Sample.cxx.
RooStats::HistFactory::Sample::~Sample | ( | ) |
Definition at line 69 of file Sample.cxx.
void RooStats::HistFactory::Sample::ActivateStatError | ( | ) |
Note that histogram name should not include the path of the histogram in the file.
This has to be given separatly
Definition at line 293 of file Sample.cxx.
void RooStats::HistFactory::Sample::ActivateStatError | ( | std::string | HistoName, |
std::string | InputFile, | ||
std::string | HistoPath = "" |
||
) |
Definition at line 301 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 372 of file Sample.cxx.
void RooStats::HistFactory::Sample::AddHistoFactor | ( | const HistoFactor & | Factor | ) |
Definition at line 390 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 348 of file Sample.cxx.
Definition at line 367 of file Sample.cxx.
void RooStats::HistFactory::Sample::AddNormFactor | ( | std::string | Name, |
Double_t | Val, | ||
Double_t | Low, | ||
Double_t | High, | ||
bool | Const = false |
||
) |
Definition at line 329 of file Sample.cxx.
void RooStats::HistFactory::Sample::AddNormFactor | ( | const NormFactor & | Factor | ) |
Definition at line 343 of file Sample.cxx.
Definition at line 314 of file Sample.cxx.
void RooStats::HistFactory::Sample::AddOverallSys | ( | const OverallSys & | Sys | ) |
Definition at line 325 of file Sample.cxx.
void RooStats::HistFactory::Sample::AddShapeFactor | ( | std::string | Name | ) |
Definition at line 395 of file Sample.cxx.
void RooStats::HistFactory::Sample::AddShapeFactor | ( | const ShapeFactor & | Factor | ) |
Definition at line 404 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 409 of file Sample.cxx.
Definition at line 423 of file Sample.cxx.
|
inline |
Definition at line 102 of file Sample.h.
Referenced by RooStats::HistFactory::GetChannelEstimateSummaries().
TH1 * RooStats::HistFactory::Sample::GetHisto | ( | ) |
Definition at line 74 of file Sample.cxx.
Referenced by RooStats::HistFactory::Channel::CheckHistograms(), and RooStats::HistFactory::GetChannelEstimateSummaries().
|
inline |
Definition at line 112 of file Sample.h.
Referenced by RooStats::HistFactory::Channel::CheckHistograms(), and RooStats::HistFactory::Channel::CollectHistograms().
|
inline |
Definition at line 92 of file Sample.h.
Referenced by RooStats::HistFactory::Channel::CollectHistograms(), and RooStats::HistFactory::ConfigParser::CreateSampleElement().
|
inline |
Definition at line 97 of file Sample.h.
Referenced by RooStats::HistFactory::Channel::CollectHistograms(), and RooStats::HistFactory::ConfigParser::CreateSampleElement().
|
inline |
|
inline |
Definition at line 87 of file Sample.h.
Referenced by RooStats::HistFactory::Channel::CollectHistograms(), and RooStats::HistFactory::ConfigParser::CreateSampleElement().
|
inline |
Definition at line 82 of file Sample.h.
Referenced by RooStats::HistFactory::Channel::CheckHistograms(), RooStats::HistFactory::ConfigParser::CreateSampleElement(), RooStats::HistFactory::GetChannelEstimateSummaries(), and RooStats::HistFactory::Measurement::writeToFile().
|
inline |
Definition at line 78 of file Sample.h.
Referenced by RooStats::HistFactory::GetChannelEstimateSummaries().
|
inline |
Definition at line 109 of file Sample.h.
Referenced by RooStats::HistFactory::ConfigParser::CreateSampleElement(), and RooStats::HistFactory::GetChannelEstimateSummaries().
|
inline |
Definition at line 108 of file Sample.h.
Referenced by RooStats::HistFactory::ConfigParser::CreateSampleElement(), and RooStats::HistFactory::GetChannelEstimateSummaries().
|
inline |
Definition at line 115 of file Sample.h.
Referenced by RooStats::HistFactory::Channel::CollectHistograms(), RooStats::HistFactory::ConfigParser::CreateSampleElement(), and RooStats::HistFactory::GetChannelEstimateSummaries().
|
inline |
|
inline |
Definition at line 117 of file Sample.h.
Referenced by RooStats::HistFactory::Channel::CheckHistograms(), RooStats::HistFactory::Channel::CollectHistograms(), and RooStats::HistFactory::GetChannelEstimateSummaries().
void RooStats::HistFactory::Sample::Print | ( | std::ostream & | stream = std::cout | ) |
Definition at line 139 of file Sample.cxx.
void RooStats::HistFactory::Sample::PrintXML | ( | std::ofstream & | xml | ) |
Definition at line 179 of file Sample.cxx.
|
inline |
Definition at line 104 of file Sample.h.
Referenced by RooStats::HistFactory::Channel::AddSample(), and RooStats::HistFactory::ConfigParser::CreateSampleElement().
Definition at line 45 of file Sample.h.
Referenced by RooStats::HistFactory::Channel::CollectHistograms().
|
inline |
Definition at line 94 of file Sample.h.
Referenced by RooStats::HistFactory::ConfigParser::CreateSampleElement().
|
inline |
Definition at line 99 of file Sample.h.
Referenced by RooStats::HistFactory::ConfigParser::CreateSampleElement().
|
inline |
Definition at line 89 of file Sample.h.
Referenced by RooStats::HistFactory::ConfigParser::CreateSampleElement().
|
inline |
Definition at line 84 of file Sample.h.
Referenced by RooStats::HistFactory::ConfigParser::CreateSampleElement().
|
inline |
Definition at line 76 of file Sample.h.
Referenced by RooStats::HistFactory::ConfigParser::CreateSampleElement().
|
inline |
Definition at line 118 of file Sample.h.
Referenced by RooStats::HistFactory::ConfigParser::CreateSampleElement().
Definition at line 115 of file Sample.cxx.
Referenced by Sample().
void RooStats::HistFactory::Sample::writeToFile | ( | std::string | FileName, |
std::string | DirName | ||
) |
Definition at line 80 of file Sample.cxx.
Referenced by RooStats::HistFactory::Measurement::writeToFile().
|
protected |
Definition at line 129 of file Sample.h.
Referenced by GetChannelName(), and SetChannelName().
|
protected |
|
protected |
Definition at line 139 of file Sample.h.
Referenced by GetHistoFactorList().
|
protected |
Definition at line 125 of file Sample.h.
Referenced by GetHistoName(), SetHisto(), and SetHistoName().
|
protected |
Definition at line 126 of file Sample.h.
Referenced by GetHistoPath(), and SetHistoPath().
|
protected |
Definition at line 138 of file Sample.h.
Referenced by GetHistoSysList().
|
protected |
Definition at line 153 of file Sample.h.
Referenced by SetHisto().
|
protected |
Definition at line 124 of file Sample.h.
Referenced by GetInputFile(), and SetInputFile().
|
protected |
|
protected |
Definition at line 148 of file Sample.h.
Referenced by GetNormalizeByTheory(), and SetNormalizeByTheory().
|
protected |
Definition at line 136 of file Sample.h.
Referenced by GetNormFactorList().
|
protected |
Definition at line 135 of file Sample.h.
Referenced by GetOverallSysList().
|
protected |
Definition at line 142 of file Sample.h.
Referenced by GetShapeFactorList().
|
protected |
Definition at line 141 of file Sample.h.
Referenced by GetShapeSysList().
|
protected |
Definition at line 146 of file Sample.h.
Referenced by GetStatError(), and SetStatError().
|
protected |