ROOT 6.16/01 Reference Guide |
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 More... | |
~Sample () | |
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 Name, Double_t Val, Double_t Low, Double_t High, bool Const=false) |
void | AddOverallSys (const OverallSys &Sys) |
void | AddOverallSys (std::string Name, Double_t Low, Double_t 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 () |
get name of associated channel More... | |
TH1 * | GetHisto () |
std::vector< RooStats::HistFactory::HistoFactor > & | GetHistoFactorList () |
std::string | GetHistoName () |
get histogram name More... | |
std::string | GetHistoPath () |
get histogram path More... | |
std::vector< RooStats::HistFactory::HistoSys > & | GetHistoSysList () |
std::string | GetInputFile () |
get input ROOT file More... | |
std::string | GetName () |
get name of sample More... | |
bool | GetNormalizeByTheory () |
does the normalization scale with luminosity More... | |
std::vector< RooStats::HistFactory::NormFactor > & | GetNormFactorList () |
std::vector< RooStats::HistFactory::OverallSys > & | GetOverallSysList () |
std::vector< RooStats::HistFactory::ShapeFactor > & | GetShapeFactorList () |
std::vector< RooStats::HistFactory::ShapeSys > & | GetShapeSysList () |
RooStats::HistFactory::StatError & | GetStatError () |
void | Print (std::ostream &=std::cout) |
void | PrintXML (std::ofstream &xml) |
void | SetChannelName (const std::string &ChannelName) |
set name of associated channel More... | |
void | SetHisto (TH1 *histo) |
void | SetHistoName (const std::string &HistoName) |
set histogram name More... | |
void | SetHistoPath (const std::string &HistoPath) |
set histogram path More... | |
void | SetInputFile (const std::string &InputFile) |
set input ROOT file More... | |
void | SetName (const std::string &Name) |
set name of sample More... | |
void | SetNormalizeByTheory (bool norm) |
defines whether the normalization scale with luminosity More... | |
void | SetStatError (RooStats::HistFactory::StatError Error) |
void | SetValue (Double_t Val) |
void | writeToFile (std::string FileName, std::string DirName) |
Protected Attributes | |
std::string | fChannelName |
The Name of the parent channel. More... | |
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. More... | |
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. More... | |
bool | fStatErrorActivate |
#include <RooStats/HistFactory/Sample.h>
RooStats::HistFactory::Sample::Sample | ( | ) |
Definition at line 22 of file Sample.cxx.
RooStats::HistFactory::Sample::Sample | ( | std::string | Name | ) |
Definition at line 58 of file Sample.cxx.
RooStats::HistFactory::Sample::Sample | ( | const Sample & | other | ) |
Definition at line 26 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 52 of file Sample.cxx.
RooStats::HistFactory::Sample::~Sample | ( | ) |
Definition at line 64 of file Sample.cxx.
void RooStats::HistFactory::Sample::ActivateStatError | ( | ) |
Definition at line 288 of file Sample.cxx.
void RooStats::HistFactory::Sample::ActivateStatError | ( | std::string | HistoName, |
std::string | InputFile, | ||
std::string | HistoPath = "" |
||
) |
Definition at line 296 of file Sample.cxx.
void RooStats::HistFactory::Sample::AddHistoFactor | ( | const HistoFactor & | Factor | ) |
Definition at line 385 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 367 of file Sample.cxx.
Definition at line 362 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 343 of file Sample.cxx.
void RooStats::HistFactory::Sample::AddNormFactor | ( | const NormFactor & | Factor | ) |
Definition at line 338 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 324 of file Sample.cxx.
void RooStats::HistFactory::Sample::AddOverallSys | ( | const OverallSys & | Sys | ) |
Definition at line 320 of file Sample.cxx.
Definition at line 309 of file Sample.cxx.
void RooStats::HistFactory::Sample::AddShapeFactor | ( | const ShapeFactor & | Factor | ) |
Definition at line 399 of file Sample.cxx.
void RooStats::HistFactory::Sample::AddShapeFactor | ( | std::string | Name | ) |
Definition at line 390 of file Sample.cxx.
Definition at line 418 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 404 of file Sample.cxx.
|
inline |
TH1 * RooStats::HistFactory::Sample::GetHisto | ( | ) |
Definition at line 69 of file Sample.cxx.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void RooStats::HistFactory::Sample::Print | ( | std::ostream & | stream = std::cout | ) |
Definition at line 134 of file Sample.cxx.
void RooStats::HistFactory::Sample::PrintXML | ( | std::ofstream & | xml | ) |
Definition at line 174 of file Sample.cxx.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 110 of file Sample.cxx.
void RooStats::HistFactory::Sample::writeToFile | ( | std::string | FileName, |
std::string | DirName | ||
) |
Definition at line 75 of file Sample.cxx.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |