Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
HS3Writer.cxx File Reference
#include "HS3Document.h"
#include "JSONIOUtils.h"
#include <RooFit/Detail/JSONInterface.h>
#include <algorithm>
#include <cmath>
#include <limits>
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::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)
 
void RooFit::HS3::writeNumber (Detail::JSONNode &node, double value)
 Writes a number, as an integer if it has no fractional part.