Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
HS3Builder.h File Reference
#include "HS3Document.h"
#include <RooArgSet.h>
#include <memory>
#include <string>
#include <vector>
Include dependency graph for HS3Builder.h:
This graph shows which files directly or indirectly include this file:

Namespaces

namespace  RooFit
 The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or other types of arguments).
 
namespace  RooFit::HS3
 Types that represent an HS3 document.
 
namespace  RooFit::JSONIO
 

Functions

void RooFit::HS3::buildCombinedDist (RooJSONFactoryWSTool &tool, std::string const &name, CombinedDist const &dist, std::vector< std::string > const &otherLikelihoodTerms={})
 Create the RooSimultaneous of a combined distribution in the workspace of the tool.
 
void RooFit::HS3::buildHistFactoryDist (RooJSONFactoryWSTool &tool, std::string const &name, HistFactoryDist const &dist)
 Create the RooFit objects of a HistFactory distribution in the workspace of the tool.
 
std::unique_ptr< RooDataHist > RooFit::HS3::createDataHist (std::string const &name, RooArgSet const &vars, std::vector< double > const &contents, std::vector< double > const *errors)
 Create a RooDataHist with the contents and errors. If there are no errors, it doesn't store squared weights.
 
RooArgSet RooFit::HS3::createObservables (std::vector< BinnedAxis > const &axes)
 Create the variables for the axes of binned data.
 
std::string const * RooFit::HS3::importedArrayComponentForm (RooJSONFactoryWSTool &tool, std::string const &name)
 The canonical form (see arrayComponentForm()) of the component of an array distribution that this import created under the name name, or nullptr if it created none of that name.
 
bool RooFit::HS3::isBuiltinHistFactoryImporter (JSONIO::Importer const &importer)
 Whether this is the importer that RooFit registers for HistFactory distributions, as opposed to the one of a user.
 
void RooFit::HS3::recordImportedArrayComponent (RooJSONFactoryWSTool &tool, std::string const &name, std::string form)
 Record that this import created the component name of an array distribution, with the canonical form form.
 
void RooFit::HS3::report (Diagnostics const &diagnostics, std::string const &object="")
 Forward the warnings to the message service, and throw if there are errors.
 
void RooFit::HS3::setExportedObject (RooJSONFactoryWSTool &tool, HistFactoryDist dist, std::vector< DistributionRef > channelConstraints)
 Called by the exporter of a HistFactory distribution, which is then written by the tool.
 
BinnedAxis RooFit::HS3::toBinnedAxis (RooRealVar const &var)
 The axis of binned data for a variable, or for a binning of a variable with the given name.
 
BinnedAxis RooFit::HS3::toBinnedAxis (std::string const &name, RooAbsBinning const &binning)
 
NameOrNumber RooFit::HS3::toNameOrNumber (RooAbsArg const &arg)
 The name of an object, or the value of a literal constant.