virtual | ~HistFactoryNavigation() |
static TClass* | Class() |
void | DrawChannel(const string& channel, RooDataSet* data = NULL) |
double | GetBinValue(int bin, const string& channel) |
double | GetBinValue(int bin, const string& channel, const string& sample) |
TH1* | GetChannelHist(const string& channel, const string& name = "") |
RooAbsPdf* | GetChannelPdf(const string& channel) |
vector<std::string> | GetChannelSampleList(const string& channel) |
THStack* | GetChannelStack(const string& channel, const string& name = "") |
RooAbsReal* | GetConstraintTerm(const string& parameter) |
double | GetConstraintUncertainty(const string& parameter) |
TH1* | GetDataHist(RooDataSet* data, const string& channel, const string& name = "") |
int | GetMaxBinToPrint() const |
int | GetMinBinToPrint() const |
RooAbsPdf* | GetModel() const |
RooArgSet* | GetObservableSet(const string& channel) |
TH1* | GetSampleHist(const string& channel, const string& sample, const string& name = "") |
RooStats::HistFactory::HistFactoryNavigation | HistFactoryNavigation(RooStats::ModelConfig* mc) |
RooStats::HistFactory::HistFactoryNavigation | HistFactoryNavigation(const RooStats::HistFactory::HistFactoryNavigation&) |
RooStats::HistFactory::HistFactoryNavigation | HistFactoryNavigation(RooAbsPdf* model, RooArgSet* observables) |
RooStats::HistFactory::HistFactoryNavigation | HistFactoryNavigation(const string& File, const string& WorkspaceName = "combined", const string& ModelConfigName = "ModelConfig") |
virtual TClass* | IsA() const |
RooStats::HistFactory::HistFactoryNavigation& | operator=(const RooStats::HistFactory::HistFactoryNavigation&) |
void | PrintChannelParameters(const string& channel, bool IncludeConstantParams = false) |
void | PrintDataSet(RooDataSet* data, const string& channel = "") |
void | PrintModelAndData(RooDataSet* data) |
void | PrintParameters(bool IncludeConstantParams = false) |
void | PrintSampleComponents(const string& channel, const string& sample) |
void | PrintSampleParameters(const string& channel, const string& sample, bool IncludeConstantParams = false) |
void | PrintState() |
void | PrintState(const string& channel) |
void | ReplaceNode(const string& ToReplace, RooAbsArg* ReplaceWith) |
RooAbsReal* | SampleFunction(const string& channel, const string& sample) |
void | SetConstant(const string& regExpr = ".*", bool constant = true) |
void | SetMaxBinToPrint(int max) |
void | SetMinBinToPrint(int min) |
virtual void | ShowMembers(TMemberInspector&) |
virtual void | Streamer(TBuffer&) |
void | StreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b) |
RooRealVar* | var(const string& varName) const |
void | _GetNodes(RooStats::ModelConfig* mc) |
void | _GetNodes(RooAbsPdf* model, const RooArgSet* observables) |
map<std::string,RooAbsReal*> | GetSampleFunctionMap(const string& channel) |
TH1* | MakeHistFromRooFunction(RooAbsReal* func, RooArgList vars, string name = "Hist") |
void | PrintMultiDimHist(TH1* hist, int bin_print_width) |
void | SetPrintWidths(const string& channel) |
RooArgSet | _GetAllProducts(RooProduct* node) |
RooAbsArg* | findChild(const string& name, RooAbsReal* parent) const |
int | _bin_print_width | |
int | _label_print_width | |
int | _maxBinToPrint | |
int | _minBinToPrint | |
vector<std::string> | fChannelNameVec | |
map<std::string,RooArgSet*> | fChannelObservMap | |
map<std::string,RooAbsPdf*> | fChannelPdfMap | |
map<std::string,std::map<std::string,RooAbsReal*> > | fChannelSampleFunctionMap | |
map<std::string,RooAbsPdf*> | fChannelSumNodeMap | |
RooAbsPdf* | fModel | |
RooArgSet* | fObservables |
Print the contents of a 'HistFactory' RooDataset These are stored in a somewhat odd way that makes them difficult to inspect for humans. They have the following layout: ChannelA ChannelB ChannelCat Weight bin_1_center 0 ChannelA bin_1_height bin_2_center 0 ChannelA bin_2_height 0 bin_1_center ChannelB bin_1_height 0 bin_2_center ChannelB bin_2_height ...etc... int label_print_width = 20; int bin_print_width = 12; Get the Data Histogram for this channel
Loop over all channels and print model (including all samples) and compare it to the supplied dataset
Get the list of parameters
Get the list of parameters
Get the total bin height for the ith bin (ROOT indexing convention) in channel 'channel' (Could be optimized, it uses an intermediate histogram for now...)
Get the total bin height for the ith bin (ROOT indexing convention) in channel 'channel' (This will be slow if you plan on looping over it. Could be optimized, it uses an intermediate histogram for now...)
Get a map of strings to function pointers, which each function cooresponds to a sample
Return the function object pointer cooresponding to a particular sample in a particular channel
Get a histogram of the expected values for a particular sample in a particular channel Give a name, or a default one will be used
Get a histogram of the total expected value per bin for this channel Give a name, or a default one will be used
TO DO: MAINTAIN THE ACTUAL RANGE, USING THE OBSERVABLES MAKE IT WORK FOR MULTI-DIMENSIONAL If the dataset covers multiple categories, Split the dataset based on the categories
Turn a RooAbsReal* into a TH1* based on a template histogram. The 'vars' arg list defines the x (and y and z variables) Loop over the bins of the Template, find the bin centers, Scan the input Var over those bin centers, and use the value of the function to make the new histogram Make the new histogram Cone and empty the template TH1* hist = (TH1*) histTemplate.Clone( name.c_str() );