13#ifndef RooFitHS3_JSONIO_h
14#define RooFitHS3_JSONIO_h
57 virtual std::string
const &
key()
const = 0;
67 std::map<std::string, std::string>
proxies;
74using ImportMap = std::map<const std::string, std::vector<std::unique_ptr<const Importer>>>;
75using ExportMap = std::map<TClass const *, std::vector<std::unique_ptr<const Exporter>>>;
96bool registerImporter(
const std::string &key, std::unique_ptr<const Importer>
f,
bool topPriority =
true);
Common abstract base class for objects that represent a value and a "shape" in RooFit.
virtual bool autoExportDependants() const
virtual std::string const & key() const =0
virtual bool exportObject(RooJSONFactoryWSTool *, const RooAbsArg *, RooFit::Detail::JSONNode &) const
virtual bool importPdf(RooJSONFactoryWSTool *tool, const RooFit::Detail::JSONNode &node) const
virtual bool importFunction(RooJSONFactoryWSTool *tool, const RooFit::Detail::JSONNode &node) const
virtual bool importArg(RooJSONFactoryWSTool *tool, const RooFit::Detail::JSONNode &node) const
TClass instances represent classes, structs and namespaces in the ROOT type system.
static bool registerImporter(const std::string &key, bool topPriority=true)
void loadFactoryExpressions(const std::string &fname)
std::map< const std::string, ImportExpression > ImportExpressionMap
std::map< TClass const *, ExportKeys > ExportKeysMap
ImportExpressionMap & importExpressions()
void loadExportKeys(const std::string &fname)
static bool registerExporter(const TClass *key, bool topPriority=true)
void clearFactoryExpressions()
int removeImporters(const std::string &needle)
int removeExporters(const std::string &needle)
std::map< TClass const *, std::vector< std::unique_ptr< const Exporter > > > ExportMap
std::map< const std::string, std::vector< std::unique_ptr< const Importer > > > ImportMap
void printFactoryExpressions()
ExportKeysMap & exportKeys()
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
std::map< std::string, std::string > proxies
std::vector< std::string > arguments