1 #ifndef INCLUDE_HISTFACTORYNAVIGATION_H
2 #define INCLUDE_HISTFACTORYNAVIGATION_H
27 const std::string& WorkspaceName=
"combined",
28 const std::string& ModelConfigName=
"ModelConfig");
43 bool IncludeConstantParams=
false);
47 bool IncludeConstantParams=
false);
60 double GetBinValue(
int bin,
const std::string& channel);
62 double GetBinValue(
int bin,
const std::string& channel,
const std::string& sample);
67 const std::string& sample,
const std::string&
name=
"");
100 void SetConstant(
const std::string& regExpr=
".*",
bool constant=
true);
204 #endif // INCLUDE_HISTFACTORYNAVIGATION_H
TH1 * MakeHistFromRooFunction(RooAbsReal *func, RooArgList vars, std::string name="Hist")
ModelConfig is a simple class that holds configuration information specifying how a model should be u...
static Vc_ALWAYS_INLINE int_v min(const int_v &x, const int_v &y)
The Histogram stack class.
RooRealVar * var(const std::string &varName) const
void SetMinBinToPrint(int min)
void PrintMultiDimHist(TH1 *hist, int bin_print_width)
RooAbsReal * GetConstraintTerm(const std::string ¶meter)
TH1 * GetSampleHist(const std::string &channel, const std::string &sample, const std::string &name="")
RooAbsArg * findChild(const std::string &name, RooAbsReal *parent) const
void PrintChannelParameters(const std::string &channel, bool IncludeConstantParams=false)
RooAbsPdf * GetModel() const
std::map< std::string, RooAbsPdf * > fChannelPdfMap
int GetMaxBinToPrint() const
int GetMinBinToPrint() const
#define ClassDef(name, id)
void PrintSampleComponents(const std::string &channel, const std::string &sample)
RooArgSet _GetAllProducts(RooProduct *node)
THStack * GetChannelStack(const std::string &channel, const std::string &name="")
void ReplaceNode(const std::string &ToReplace, RooAbsArg *ReplaceWith)
RooAbsReal * SampleFunction(const std::string &channel, const std::string &sample)
TH1 * GetChannelHist(const std::string &channel, const std::string &name="")
void _GetNodes(ModelConfig *mc)
std::map< std::string, RooArgSet * > fChannelObservMap
void SetPrintWidths(const std::string &channel)
std::map< std::string, std::map< std::string, RooAbsReal * > > fChannelSampleFunctionMap
void SetMaxBinToPrint(int max)
void PrintDataSet(RooDataSet *data, const std::string &channel="")
double GetBinValue(int bin, const std::string &channel)
Namespace for the RooStats classes.
virtual ~HistFactoryNavigation()
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
void PrintSampleParameters(const std::string &channel, const std::string &sample, bool IncludeConstantParams=false)
TH1 * GetDataHist(RooDataSet *data, const std::string &channel, const std::string &name="")
double func(double *x, double *p)
static Vc_ALWAYS_INLINE int_v max(const int_v &x, const int_v &y)
std::vector< std::string > fChannelNameVec
std::map< std::string, RooAbsReal * > GetSampleFunctionMap(const std::string &channel)
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
void PrintModelAndData(RooDataSet *data)
void PrintParameters(bool IncludeConstantParams=false)
double GetConstraintUncertainty(const std::string ¶meter)
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
std::vector< std::string > GetChannelSampleList(const std::string &channel)
HistFactoryNavigation(ModelConfig *mc)
RooAbsPdf * GetChannelPdf(const std::string &channel)
std::map< std::string, RooAbsPdf * > fChannelSumNodeMap
RooArgSet * GetObservableSet(const std::string &channel)
void SetConstant(const std::string ®Expr=".*", bool constant=true)
void DrawChannel(const std::string &channel, RooDataSet *data=NULL)