Logo ROOT  
Reference Guide
HistFactoryJSONTool.h
Go to the documentation of this file.
1/*
2 * Project: RooFit
3 * Authors:
4 * Carsten D. Burgard, DESY/ATLAS, Dec 2021
5 *
6 * Copyright (c) 2022, CERN
7 *
8 * Redistribution and use in source and binary forms,
9 * with or without modification, are permitted according to the terms
10 * listed in LICENSE (http://roofit.sourceforge.net/license.txt)
11 */
12
13#ifndef RooFitHS3_HistFactoryJSONTool_h
14#define RooFitHS3_HistFactoryJSONTool_h
15
16#include <iostream>
17#include <string>
18
19namespace RooStats {
20namespace HistFactory {
21
22class Measurement;
23
24class JSONTool {
25public:
27
28 void PrintJSON(std::ostream &os = std::cout);
29 void PrintJSON(std::string const &filename);
30 void PrintYAML(std::ostream &os = std::cout);
31 void PrintYAML(std::string const &filename);
32
33private:
35};
36
37} // namespace HistFactory
38} // namespace RooStats
39
40#endif
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
void PrintYAML(std::ostream &os=std::cout)
RooStats::HistFactory::Measurement & _measurement
JSONTool(RooStats::HistFactory::Measurement &m)
void PrintJSON(std::ostream &os=std::cout)
The RooStats::HistFactory::Measurement class can be used to construct a model by combining multiple R...
Definition: Measurement.h:31
@ HistFactory
Definition: RooGlobalFunc.h:63
Namespace for the RooStats classes.
Definition: Asimov.h:19
TMarker m
Definition: textangle.C:8