Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
HS3Writer.cxx File Reference
#include "HS3Document.h"
#include <RooFit/Detail/JSONInterface.h>
#include <algorithm>
#include <cmath>
Include dependency graph for HS3Writer.cxx:

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.
 

Functions

void RooFit::HS3::writeAxis (Detail::JSONNode &node, BinnedAxis const &axis)
 Writes an axis of binned data.
 
void RooFit::HS3::writeBinnedData (Detail::JSONNode &node, BinnedData const &data)
 Writes the axes, contents and uncertainties of binned data, without its name and type.
 
void RooFit::HS3::writeCombinedDist (Detail::JSONNode &node, CombinedDist const &dist)
 Writes a combined distribution, without its name.
 
void RooFit::HS3::writeContents (Detail::JSONNode &node, std::vector< double > const &values)
 Writes an array of numbers, each as an integer if it has no fractional part.
 
void RooFit::HS3::writeDocument (Detail::JSONNode &root, HS3Document const &doc)
 Writes everything but the distributions and functions, which are written one by one while they are exported: the generic ones by the exporters, and the others with functions like writeHistFactoryDist().
 
void RooFit::HS3::writeHistFactoryDist (Detail::JSONNode &node, HistFactoryDist const &dist)
 Writes a HistFactory distribution, without its name.
 
void RooFit::HS3::writeInterpolatedFunction (Detail::JSONNode &node, InterpolatedFunction const &function)
 Writes the functions "interpolation" and "interpolation0d", with a single interpolation if they are all the same.
 
void RooFit::HS3::writeInterpolatedNumber (Detail::JSONNode &node, InterpolatedNumber const &function)
 
void RooFit::HS3::writeInterpolation (Detail::JSONNode &node, Interpolation const &interpolation)