Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
HS3Validate.cxx File Reference
#include "HS3Document.h"
#include <algorithm>
#include <cmath>
#include <limits>
#include <map>
#include <optional>
#include <set>
#include <string>
#include <vector>
Include dependency graph for HS3Validate.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::checkDocument (HS3Document const &doc, Diagnostics &diagnostics, ValidateOptions const &options={})
 The checks of validate(), for a document that is still needed if it doesn't pass them.
 
std::optional< ValidatedHS3Document > RooFit::HS3::validate (HS3Document doc, Diagnostics &diagnostics, ValidateOptions const &options={})
 Checks what can be checked without knowing how the objects are built: unique names, that the references can be resolved, and that the sizes of arrays are consistent.
 
void RooFit::HS3::validateHistFactoryDist (HistFactoryDist const &dist, std::string const &name, Diagnostics &diagnostics)
 Same as validate(), but for a single HistFactory distribution that doesn't come with a document.
 

Variable Documentation

◆ _diagnostics

Diagnostics& _diagnostics
private

Definition at line 133 of file HS3Validate.cxx.

◆ _doc

HS3Document const& _doc
private

Definition at line 132 of file HS3Validate.cxx.

◆ _options

ValidateOptions const& _options
private

Definition at line 134 of file HS3Validate.cxx.

◆ _parameters

std::set<std::string> _parameters
private

Definition at line 136 of file HS3Validate.cxx.

◆ _sections

std::map<std::string, std::vector<char const *> > _sections
private

The sections where a name is defined.

Definition at line 135 of file HS3Validate.cxx.