Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
JSONTool.h
Go to the documentation of this file.
1/// \cond ROOFIT_INTERNAL
2
3/*
4 * Project: RooFit
5 * Authors:
6 * Carsten D. Burgard, DESY/ATLAS, Dec 2021
7 *
8 * Copyright (c) 2023, CERN
9 *
10 * Redistribution and use in source and binary forms,
11 * with or without modification, are permitted according to the terms
12 * listed in LICENSE (http://roofit.sourceforge.net/license.txt)
13 */
14
15#ifndef RooStats_HistFactory_JSONTool_h
16#define RooStats_HistFactory_JSONTool_h
17
18#include <iostream>
19#include <string>
20
21namespace RooFit {
22namespace Detail {
23class JSONNode;
24} // namespace Detail
25} // namespace RooFit
26
27namespace RooStats {
28namespace HistFactory {
29
30class Measurement;
31
32class JSONTool {
33public:
34 JSONTool(RooStats::HistFactory::Measurement &m) : _measurement(m) {}
35
36 void PrintJSON(std::ostream &os = std::cout);
37 void PrintJSON(std::string const &filename);
38 void PrintYAML(std::ostream &os = std::cout);
39 void PrintYAML(std::string const &filename);
40
41 static void activateStatError(RooFit::Detail::JSONNode &sampleNode);
42
43private:
45};
46
47} // namespace HistFactory
48} // namespace RooStats
49
50#endif
51
52/// \endcond
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char filename
The RooStats::HistFactory::Measurement class can be used to construct a model by combining multiple R...
Definition Measurement.h:31
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
Definition CodegenImpl.h:64
Namespace for the RooStats classes.
Definition CodegenImpl.h:58
TMarker m
Definition textangle.C:8