13#ifndef RooFitHS3_RooJSONFactoryWSTool_h
14#define RooFitHS3_RooJSONFactoryWSTool_h
51 static std::ostream &
log(
int level);
61 T *
request(
const std::string &objname,
const std::string &requestAuthor)
63 if (T *out = requestImpl<T>(objname)) {
76 return request<T>(node[key].val(), requestAuthor);
79 template <
class T,
class Coll_t>
86 if (!node[seqName].is_seq()) {
91 for (
const auto &elem : node[seqName].
children()) {
92 out.add(*request<T>(elem.val(), requestAuthor));
100 return requestCollection<T, RooArgSet>(node, seqName);
106 return requestCollection<T, RooArgList>(node, seqName);
111 template <
class Obj_t>
118 template <
class Obj_t,
typename... Args_t>
124 static void error(
const char *s);
125 inline static void error(
const std::string &s) {
error(s.c_str()); }
128 static std::unique_ptr<RooDataHist>
136 bool exportYML(std::string
const &fileName);
148 void importFunction(
const std::string &jsonString,
bool importAllDependants);
167 const char *
what() const noexcept
override {
return _message.c_str(); }
170 template <
typename... Keys_t>
173 return node.
get(
"misc",
"ROOT_internal", keys...);
205 const std::vector<RooJSONFactoryWSTool::CombinedData> &
d);
208 std::string
const &analysisName,
209 std::map<std::string, std::string>
const *dataComponents);
219 std::unique_ptr<RooFit::JSONIO::Detail::Domains>
_domains;
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
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
RooAbsArg is the common abstract base class for objects that represent a value and a "shape" in RooFi...
A space to attach TBranches.
RooAbsCollection is an abstract container object that can hold multiple RooAbsArg objects.
RooAbsData is the common abstract base class for binned and unbinned datasets.
RooArgList is a container object that can hold multiple RooAbsArg objects.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
JSONNode & get(std::string const &key)
virtual children_view children()
virtual bool has_child(std::string const &) const =0
ModelConfig is a simple class that holds configuration information specifying how a model should be u...
The RooStringView is a wrapper around a C-syle string that can also be constructed from a std::string...
The RooWorkspace is a persistable container for RooFit projects.
TObject * obj(RooStringView name) const
Return any type of object (RooAbsArg, RooAbsData or generic object) with given name)
bool import(const RooAbsArg &arg, const RooCmdArg &arg1=RooCmdArg(), const RooCmdArg &arg2=RooCmdArg(), const RooCmdArg &arg3=RooCmdArg(), const RooCmdArg &arg4=RooCmdArg(), const RooCmdArg &arg5=RooCmdArg(), const RooCmdArg &arg6=RooCmdArg(), const RooCmdArg &arg7=RooCmdArg(), const RooCmdArg &arg8=RooCmdArg(), const RooCmdArg &arg9=RooCmdArg())
Import a RooAbsArg object, e.g.
RooCmdArg RecycleConflictNodes(bool flag=true)
RooCmdArg Silence(bool flag=true)
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
Namespace for the RooStats classes.