![]() |
ROOT
6.06/09
Reference Guide
|
Definition at line 19 of file HistFactoryNavigation.h.
Public Member Functions | |
| HistFactoryNavigation (ModelConfig *mc) | |
| HistFactoryNavigation (const std::string &File, const std::string &WorkspaceName="combined", const std::string &ModelConfigName="ModelConfig") | |
| HistFactoryNavigation (RooAbsPdf *model, RooArgSet *observables) | |
| virtual | ~HistFactoryNavigation () |
| void | PrintState () |
| void | PrintState (const std::string &channel) |
| void | PrintParameters (bool IncludeConstantParams=false) |
| void | PrintChannelParameters (const std::string &channel, bool IncludeConstantParams=false) |
| void | PrintSampleParameters (const std::string &channel, const std::string &sample, bool IncludeConstantParams=false) |
| void | PrintSampleComponents (const std::string &channel, const std::string &sample) |
| void | PrintDataSet (RooDataSet *data, const std::string &channel="") |
| void | PrintModelAndData (RooDataSet *data) |
| double | GetBinValue (int bin, const std::string &channel) |
| double | GetBinValue (int bin, const std::string &channel, const std::string &sample) |
| TH1 * | GetSampleHist (const std::string &channel, const std::string &sample, const std::string &name="") |
| TH1 * | GetChannelHist (const std::string &channel, const std::string &name="") |
| TH1 * | GetDataHist (RooDataSet *data, const std::string &channel, const std::string &name="") |
| THStack * | GetChannelStack (const std::string &channel, const std::string &name="") |
| void | DrawChannel (const std::string &channel, RooDataSet *data=NULL) |
| RooAbsReal * | SampleFunction (const std::string &channel, const std::string &sample) |
| RooArgSet * | GetObservableSet (const std::string &channel) |
| RooAbsReal * | GetConstraintTerm (const std::string ¶meter) |
| double | GetConstraintUncertainty (const std::string ¶meter) |
| void | ReplaceNode (const std::string &ToReplace, RooAbsArg *ReplaceWith) |
| void | SetConstant (const std::string ®Expr=".*", bool constant=true) |
| void | SetMaxBinToPrint (int max) |
| int | GetMaxBinToPrint () const |
| void | SetMinBinToPrint (int min) |
| int | GetMinBinToPrint () const |
| RooAbsPdf * | GetModel () const |
| RooAbsPdf * | GetChannelPdf (const std::string &channel) |
| std::vector< std::string > | GetChannelSampleList (const std::string &channel) |
| RooRealVar * | var (const std::string &varName) const |
Protected Member Functions | |
| void | SetPrintWidths (const std::string &channel) |
| void | _GetNodes (ModelConfig *mc) |
| void | _GetNodes (RooAbsPdf *model, const RooArgSet *observables) |
| void | PrintMultiDimHist (TH1 *hist, int bin_print_width) |
| TH1 * | MakeHistFromRooFunction (RooAbsReal *func, RooArgList vars, std::string name="Hist") |
| std::map< std::string, RooAbsReal * > | GetSampleFunctionMap (const std::string &channel) |
Private Member Functions | |
| RooAbsArg * | findChild (const std::string &name, RooAbsReal *parent) const |
| RooArgSet | _GetAllProducts (RooProduct *node) |
Private Attributes | |
| RooAbsPdf * | fModel |
| RooArgSet * | fObservables |
| int | _minBinToPrint |
| int | _maxBinToPrint |
| int | _label_print_width |
| int | _bin_print_width |
| std::vector< std::string > | fChannelNameVec |
| std::map< std::string, RooAbsPdf * > | fChannelPdfMap |
| std::map< std::string, RooAbsPdf * > | fChannelSumNodeMap |
| std::map< std::string, RooArgSet * > | fChannelObservMap |
| std::map< std::string, std::map< std::string, RooAbsReal * > > | fChannelSampleFunctionMap |
#include <RooStats/HistFactory/HistFactoryNavigation.h>
Collaboration diagram for RooStats::HistFactory::HistFactoryNavigation:| RooStats::HistFactory::HistFactoryNavigation::HistFactoryNavigation | ( | ModelConfig * | mc | ) |
Definition at line 30 of file HistFactoryNavigation.cxx.
| RooStats::HistFactory::HistFactoryNavigation::HistFactoryNavigation | ( | const std::string & | File, |
| const std::string & | WorkspaceName = "combined", |
||
| const std::string & | ModelConfigName = "ModelConfig" |
||
| ) |
Definition at line 74 of file HistFactoryNavigation.cxx.
| RooStats::HistFactory::HistFactoryNavigation::HistFactoryNavigation | ( | RooAbsPdf * | model, |
| RooArgSet * | observables | ||
| ) |
Definition at line 140 of file HistFactoryNavigation.cxx.
|
inlinevirtual |
Definition at line 31 of file HistFactoryNavigation.h.
|
private |
Definition at line 727 of file HistFactoryNavigation.cxx.
Referenced by PrintSampleComponents().
|
protected |
Definition at line 1240 of file HistFactoryNavigation.cxx.
Referenced by HistFactoryNavigation().
|
protected |
Definition at line 760 of file HistFactoryNavigation.cxx.
| void RooStats::HistFactory::HistFactoryNavigation::DrawChannel | ( | const std::string & | channel, |
| RooDataSet * | data = NULL |
||
| ) |
Definition at line 711 of file HistFactoryNavigation.cxx.
|
private |
Definition at line 889 of file HistFactoryNavigation.cxx.
Referenced by GetConstraintTerm(), PrintChannelParameters(), PrintSampleParameters(), ReplaceNode(), and var().
| double RooStats::HistFactory::HistFactoryNavigation::GetBinValue | ( | int | bin, |
| const std::string & | channel | ||
| ) |
Definition at line 473 of file HistFactoryNavigation.cxx.
| double RooStats::HistFactory::HistFactoryNavigation::GetBinValue | ( | int | bin, |
| const std::string & | channel, | ||
| const std::string & | sample | ||
| ) |
Definition at line 486 of file HistFactoryNavigation.cxx.
| TH1 * RooStats::HistFactory::HistFactoryNavigation::GetChannelHist | ( | const std::string & | channel, |
| const std::string & | name = "" |
||
| ) |
Definition at line 572 of file HistFactoryNavigation.cxx.
Referenced by GetBinValue(), and PrintState().
| RooAbsPdf * RooStats::HistFactory::HistFactoryNavigation::GetChannelPdf | ( | const std::string & | channel | ) |
Definition at line 194 of file HistFactoryNavigation.cxx.
Referenced by PrintChannelParameters().
| std::vector< std::string > RooStats::HistFactory::HistFactoryNavigation::GetChannelSampleList | ( | const std::string & | channel | ) |
Definition at line 617 of file HistFactoryNavigation.cxx.
Referenced by GetChannelStack().
| THStack * RooStats::HistFactory::HistFactoryNavigation::GetChannelStack | ( | const std::string & | channel, |
| const std::string & | name = "" |
||
| ) |
Definition at line 632 of file HistFactoryNavigation.cxx.
Referenced by DrawChannel().
| RooAbsReal * RooStats::HistFactory::HistFactoryNavigation::GetConstraintTerm | ( | const std::string & | parameter | ) |
Definition at line 945 of file HistFactoryNavigation.cxx.
Referenced by GetConstraintUncertainty().
| double RooStats::HistFactory::HistFactoryNavigation::GetConstraintUncertainty | ( | const std::string & | parameter | ) |
Definition at line 977 of file HistFactoryNavigation.cxx.
| TH1 * RooStats::HistFactory::HistFactoryNavigation::GetDataHist | ( | RooDataSet * | data, |
| const std::string & | channel, | ||
| const std::string & | name = "" |
||
| ) |
Definition at line 653 of file HistFactoryNavigation.cxx.
Referenced by DrawChannel(), and PrintDataSet().
|
inline |
Definition at line 103 of file HistFactoryNavigation.h.
|
inline |
Definition at line 106 of file HistFactoryNavigation.h.
|
inline |
Definition at line 109 of file HistFactoryNavigation.h.
| RooArgSet * RooStats::HistFactory::HistFactoryNavigation::GetObservableSet | ( | const std::string & | channel | ) |
Definition at line 539 of file HistFactoryNavigation.cxx.
Referenced by GetChannelHist(), GetDataHist(), GetSampleHist(), and PrintSampleComponents().
|
protected |
Definition at line 500 of file HistFactoryNavigation.cxx.
Referenced by GetChannelHist(), PrintState(), and SetPrintWidths().
| TH1 * RooStats::HistFactory::HistFactoryNavigation::GetSampleHist | ( | const std::string & | channel, |
| const std::string & | sample, | ||
| const std::string & | name = "" |
||
| ) |
Definition at line 554 of file HistFactoryNavigation.cxx.
Referenced by GetBinValue(), GetChannelStack(), and PrintState().
|
protected |
Definition at line 1193 of file HistFactoryNavigation.cxx.
Referenced by GetChannelHist(), GetSampleHist(), and PrintSampleComponents().
| void RooStats::HistFactory::HistFactoryNavigation::PrintChannelParameters | ( | const std::string & | channel, |
| bool | IncludeConstantParams = false |
||
| ) |
Definition at line 389 of file HistFactoryNavigation.cxx.
| void RooStats::HistFactory::HistFactoryNavigation::PrintDataSet | ( | RooDataSet * | data, |
| const std::string & | channel = "" |
||
| ) |
Definition at line 300 of file HistFactoryNavigation.cxx.
Referenced by PrintModelAndData().
| void RooStats::HistFactory::HistFactoryNavigation::PrintModelAndData | ( | RooDataSet * | data | ) |
Definition at line 338 of file HistFactoryNavigation.cxx.
|
protected |
Definition at line 171 of file HistFactoryNavigation.cxx.
Referenced by PrintDataSet(), PrintSampleComponents(), and PrintState().
| void RooStats::HistFactory::HistFactoryNavigation::PrintParameters | ( | bool | IncludeConstantParams = false | ) |
Definition at line 355 of file HistFactoryNavigation.cxx.
| void RooStats::HistFactory::HistFactoryNavigation::PrintSampleComponents | ( | const std::string & | channel, |
| const std::string & | sample | ||
| ) |
Definition at line 1086 of file HistFactoryNavigation.cxx.
| void RooStats::HistFactory::HistFactoryNavigation::PrintSampleParameters | ( | const std::string & | channel, |
| const std::string & | sample, | ||
| bool | IncludeConstantParams = false |
||
| ) |
Definition at line 430 of file HistFactoryNavigation.cxx.
| void RooStats::HistFactory::HistFactoryNavigation::PrintState | ( | ) |
Definition at line 276 of file HistFactoryNavigation.cxx.
Referenced by PrintModelAndData().
| void RooStats::HistFactory::HistFactoryNavigation::PrintState | ( | const std::string & | channel | ) |
Definition at line 216 of file HistFactoryNavigation.cxx.
| void RooStats::HistFactory::HistFactoryNavigation::ReplaceNode | ( | const std::string & | ToReplace, |
| RooAbsArg * | ReplaceWith | ||
| ) |
Definition at line 1046 of file HistFactoryNavigation.cxx.
| RooAbsReal * RooStats::HistFactory::HistFactoryNavigation::SampleFunction | ( | const std::string & | channel, |
| const std::string & | sample | ||
| ) |
Definition at line 515 of file HistFactoryNavigation.cxx.
Referenced by GetSampleHist(), PrintSampleComponents(), and PrintSampleParameters().
| void RooStats::HistFactory::HistFactoryNavigation::SetConstant | ( | const std::string & | regExpr = ".*", |
| bool | constant = true |
||
| ) |
Definition at line 1247 of file HistFactoryNavigation.cxx.
|
inline |
Definition at line 102 of file HistFactoryNavigation.h.
|
inline |
Definition at line 105 of file HistFactoryNavigation.h.
|
protected |
Definition at line 284 of file HistFactoryNavigation.cxx.
Referenced by PrintModelAndData().
| RooRealVar * RooStats::HistFactory::HistFactoryNavigation::var | ( | const std::string & | varName | ) | const |
Definition at line 1288 of file HistFactoryNavigation.cxx.
|
private |
Definition at line 171 of file HistFactoryNavigation.h.
Referenced by PrintDataSet(), and PrintState().
|
private |
Definition at line 170 of file HistFactoryNavigation.h.
Referenced by PrintDataSet(), PrintState(), and SetPrintWidths().
|
private |
Definition at line 168 of file HistFactoryNavigation.h.
Referenced by GetMaxBinToPrint(), PrintMultiDimHist(), PrintSampleComponents(), PrintState(), and SetMaxBinToPrint().
|
private |
Definition at line 167 of file HistFactoryNavigation.h.
Referenced by GetMinBinToPrint(), PrintMultiDimHist(), PrintSampleComponents(), PrintState(), and SetMinBinToPrint().
|
private |
Definition at line 174 of file HistFactoryNavigation.h.
Referenced by _GetNodes(), PrintDataSet(), PrintModelAndData(), and PrintState().
|
private |
Definition at line 183 of file HistFactoryNavigation.h.
Referenced by _GetNodes(), and GetObservableSet().
|
private |
Definition at line 177 of file HistFactoryNavigation.h.
Referenced by _GetNodes(), and GetChannelPdf().
|
private |
Definition at line 187 of file HistFactoryNavigation.h.
Referenced by _GetNodes(), GetChannelSampleList(), GetSampleFunctionMap(), and SampleFunction().
|
private |
Definition at line 180 of file HistFactoryNavigation.h.
Referenced by _GetNodes().
|
private |
Definition at line 162 of file HistFactoryNavigation.h.
Referenced by GetChannelPdf(), GetConstraintTerm(), GetDataHist(), GetModel(), HistFactoryNavigation(), PrintChannelParameters(), PrintParameters(), PrintSampleParameters(), ReplaceNode(), SetConstant(), and var().
|
private |
Definition at line 165 of file HistFactoryNavigation.h.
Referenced by HistFactoryNavigation(), PrintChannelParameters(), PrintParameters(), PrintSampleParameters(), and SetConstant().