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::buildHistFactoryDist (RooJSONFactoryWSTool &tool, std::string const &name, HistFactoryDist const &dist, std::vector< DistributionRef > const *channelConstraints=nullptr)
 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.
 
void RooFit::HS3::importHistFactoryNode (RooJSONFactoryWSTool &tool, Detail::JSONNode const &node, std::vector< DistributionRef > const *channelConstraints)
 What the built-in importer does with a HistFactory distribution, plus the constraint terms of the channel.
 
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::report (Diagnostics const &diagnostics)
 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.
 
NameOrNumber RooFit::HS3::toNameOrNumber (RooAbsArg const &arg)
 The name of an object, or the value of a literal constant.