Definition at line 445 of file Measurement.h.
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 | |
| ~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 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 = false |
| 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 = false |
#include <RooStats/HistFactory/Measurement.h>
|
default |
|
default |
| RooStats::HistFactory::Sample::Sample | ( | std::string | Name | ) |
Definition at line 560 of file Measurement.cxx.
| RooStats::HistFactory::Sample::Sample | ( | const Sample & | other | ) |
Definition at line 493 of file Measurement.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 550 of file Measurement.cxx.
| void RooStats::HistFactory::Sample::ActivateStatError | ( | ) |
Definition at line 760 of file Measurement.cxx.
| void RooStats::HistFactory::Sample::ActivateStatError | ( | std::string | HistoName, |
| std::string | InputFile, | ||
| std::string | HistoPath = "" ) |
Definition at line 767 of file Measurement.cxx.
| void RooStats::HistFactory::Sample::AddHistoFactor | ( | const HistoFactor & | Factor | ) |
Definition at line 855 of file Measurement.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 836 of file Measurement.cxx.
| void RooStats::HistFactory::Sample::AddHistoSys | ( | const HistoSys & | Sys | ) |
Definition at line 831 of file Measurement.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 812 of file Measurement.cxx.
| void RooStats::HistFactory::Sample::AddNormFactor | ( | const NormFactor & | Factor | ) |
Definition at line 807 of file Measurement.cxx.
| void RooStats::HistFactory::Sample::AddNormFactor | ( | std::string const & | Name, |
| double | Val, | ||
| double | Low, | ||
| double | High ) |
Definition at line 794 of file Measurement.cxx.
| void RooStats::HistFactory::Sample::AddOverallSys | ( | const OverallSys & | Sys | ) |
Definition at line 789 of file Measurement.cxx.
Definition at line 778 of file Measurement.cxx.
| void RooStats::HistFactory::Sample::AddShapeFactor | ( | const ShapeFactor & | Factor | ) |
Definition at line 868 of file Measurement.cxx.
| void RooStats::HistFactory::Sample::AddShapeFactor | ( | std::string | Name | ) |
Definition at line 860 of file Measurement.cxx.
| void RooStats::HistFactory::Sample::AddShapeSys | ( | const ShapeSys & | Sys | ) |
Definition at line 888 of file Measurement.cxx.
| void RooStats::HistFactory::Sample::AddShapeSys | ( | std::string | Name, |
| Constraint::Type | ConstraintType, | ||
| std::string | HistoName, | ||
| std::string | HistoFile, | ||
| std::string | HistoPath = "" ) |
Definition at line 873 of file Measurement.cxx.
|
inline |
get name of associated channel
Definition at line 519 of file Measurement.h.
| const TH1 * RooStats::HistFactory::Sample::GetHisto | ( | ) | const |
Definition at line 562 of file Measurement.cxx.
|
inline |
Definition at line 526 of file Measurement.h.
|
inline |
Definition at line 533 of file Measurement.h.
|
inline |
get histogram name
Definition at line 509 of file Measurement.h.
|
inline |
get histogram path
Definition at line 514 of file Measurement.h.
|
inline |
Definition at line 525 of file Measurement.h.
|
inline |
Definition at line 532 of file Measurement.h.
|
inline |
get input ROOT file
Definition at line 504 of file Measurement.h.
|
inline |
get name of sample
Definition at line 499 of file Measurement.h.
|
inline |
does the normalization scale with luminosity
Definition at line 496 of file Measurement.h.
|
inline |
Definition at line 524 of file Measurement.h.
|
inline |
Definition at line 531 of file Measurement.h.
|
inline |
Definition at line 523 of file Measurement.h.
|
inline |
Definition at line 530 of file Measurement.h.
|
inline |
Definition at line 528 of file Measurement.h.
|
inline |
Definition at line 535 of file Measurement.h.
|
inline |
Definition at line 527 of file Measurement.h.
|
inline |
Definition at line 534 of file Measurement.h.
|
inline |
Definition at line 538 of file Measurement.h.
|
inline |
Definition at line 539 of file Measurement.h.
|
inline |
Definition at line 537 of file Measurement.h.
Definition at line 519 of file Measurement.cxx.
| void RooStats::HistFactory::Sample::Print | ( | std::ostream & | stream = std::cout | ) | const |
Definition at line 621 of file Measurement.cxx.
| void RooStats::HistFactory::Sample::PrintXML | ( | std::ofstream & | xml | ) | const |
Definition at line 652 of file Measurement.cxx.
|
inline |
set name of associated channel
Definition at line 521 of file Measurement.h.
| void RooStats::HistFactory::Sample::SetHisto | ( | TH1 * | histo | ) |
Definition at line 1871 of file Measurement.cxx.
|
inline |
set histogram name
Definition at line 511 of file Measurement.h.
|
inline |
set histogram path
Definition at line 516 of file Measurement.h.
|
inline |
set input ROOT file
Definition at line 506 of file Measurement.h.
|
inline |
set name of sample
Definition at line 501 of file Measurement.h.
|
inline |
defines whether the normalization scale with luminosity
Definition at line 494 of file Measurement.h.
|
inline |
Definition at line 540 of file Measurement.h.
| void RooStats::HistFactory::Sample::SetValue | ( | double | Val | ) |
Definition at line 600 of file Measurement.cxx.
| void RooStats::HistFactory::Sample::writeToFile | ( | std::string | FileName, |
| std::string | DirName ) |
Definition at line 568 of file Measurement.cxx.
|
protected |
The Name of the parent channel.
Definition at line 549 of file Measurement.h.
|
protected |
Definition at line 572 of file Measurement.h.
|
protected |
Definition at line 559 of file Measurement.h.
|
protected |
Definition at line 545 of file Measurement.h.
|
protected |
Definition at line 546 of file Measurement.h.
|
protected |
Definition at line 558 of file Measurement.h.
|
protected |
The Nominal Shape.
Definition at line 571 of file Measurement.h.
|
protected |
Definition at line 544 of file Measurement.h.
|
protected |
Definition at line 543 of file Measurement.h.
|
protected |
Definition at line 567 of file Measurement.h.
|
protected |
Definition at line 556 of file Measurement.h.
|
protected |
Definition at line 555 of file Measurement.h.
|
protected |
Definition at line 562 of file Measurement.h.
|
protected |
Definition at line 561 of file Measurement.h.
|
protected |
Properties.
Definition at line 565 of file Measurement.h.
|
protected |
Definition at line 568 of file Measurement.h.