Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
_roofit.pyzdoc
Go to the documentation of this file.
1/**
2\defgroup RoofitPythonizations Roofit pythonizations
3\ingroup Roofitmain
4- [RooAbsCollection](\ref _rooabscollection)
5 - [printLatex](\ref _rooabscollection_printlatex)
6- [RooAbsData](\ref _rooabsdata)
7 - [createHistogram](\ref _rooabsdata_createhistogram)
8 - [plotOn](\ref _rooabsdata_ploton)
9 - [reduce](\ref _rooabsdata_reduce)
10 - [statOn](\ref _rooabsdata_staton)
11- [RooAbsPdf](\ref _rooabspdf)
12 - [createCdf](\ref _rooabspdf_createcdf)
13 - [createChi2](\ref _rooabspdf_createchi2)
14 - [createNLL](\ref _rooabspdf_createnll)
15 - [fitTo](\ref _rooabspdf_fitto)
16 - [generate](\ref _rooabspdf_generate)
17 - [generateBinned](\ref _rooabspdf_generatebinned)
18 - [paramOn](\ref _rooabspdf_paramon)
19 - [plotOn](\ref _rooabspdf_ploton)
20 - [prepareMultiGen](\ref _rooabspdf_preparemultigen)
21- [RooAbsReal](\ref _rooabsreal)
22 - [chi2FitTo](\ref _rooabsreal_chi2fitto)
23 - [createChi2](\ref _rooabsreal_createchi2)
24 - [createHistogram](\ref _rooabsreal_createhistogram)
25 - [createIntegral](\ref _rooabsreal_createintegral)
26 - [createRunningIntegral](\ref _rooabsreal_createrunningintegral)
27 - [plotOn](\ref _rooabsreal_ploton)
28- [RooAbsRealLValue](\ref _rooabsreallvalue)
29 - [createHistogram](\ref _rooabsreallvalue_createhistogram)
30 - [frame](\ref _rooabsreallvalue_frame)
31- [RooArgSet](\ref _rooargset)
32 - [__init__](\ref _rooargset___init__)
33- [RooBCPGenDecay](\ref _roobcpgendecay)
34 - [__init__](\ref _roobcpgendecay___init__)
35- [RooBCPEffDecay](\ref _roobcpeffdecay)
36 - [__init__](\ref _roobcpeffdecay___init__)
37- [RooBDecay](\ref _roobdecay)
38 - [__init__](\ref _roobdecay___init__)
39- [RooBMixDecay](\ref _roobmixdecay)
40 - [__init__](\ref _roobmixdecay___init__)
41- [RooCategory](\ref _roocategory)
42 - [__init__](\ref _roocategory___init__)
43- [RooChi2Var](\ref _roochi2var)
44 - [__init__](\ref _roochi2var___init__)
45- [RooDataHist](\ref _roodatahist)
46 - [__init__](\ref _roodatahist___init__)
47 - [from_numpy](\ref _roodatahist_from_numpy)
48 - [to_numpy](\ref _roodatahist_to_numpy)
49- [RooDataSet](\ref _roodataset)
50 - [__init__](\ref _roodataset___init__)
51 - [from_numpy](\ref _roodataset_from_numpy)
52 - [from_pandas](\ref _roodataset_from_pandas)
53 - [plotOnXY](\ref _roodataset_plotonxy)
54 - [to_numpy](\ref _roodataset_to_numpy)
55 - [to_pandas](\ref _roodataset_to_pandas)
56- [RooDecay](\ref _roodecay)
57 - [__init__](\ref _roodecay___init__)
58- [RooGenFitStudy](\ref _roogenfitstudy)
59 - [setGenConfig](\ref _roogenfitstudy_setgenconfig)
60- [RooJSONFactoryWSTool](\ref _roojsonfactorywstool)
61 - [gendoc](\ref _roojsonfactorywstool_gendoc)
62 - [writedoc](\ref _roojsonfactorywstool_writedoc)
63- [RooMCStudy](\ref _roomcstudy)
64 - [__init__](\ref _roomcstudy___init__)
65 - [plotError](\ref _roomcstudy_ploterror)
66 - [plotNLL](\ref _roomcstudy_plotnll)
67 - [plotParam](\ref _roomcstudy_plotparam)
68 - [plotParamOn](\ref _roomcstudy_plotparamon)
69 - [plotPull](\ref _roomcstudy_plotpull)
70- [RooMsgService](\ref _roomsgservice)
71 - [addStream](\ref _roomsgservice_addstream)
72- [RooNLLVar](\ref _roonllvar)
73 - [__init__](\ref _roonllvar___init__)
74- [RooProdPdf](\ref _rooprodpdf)
75 - [__init__](\ref _rooprodpdf___init__)
76- [RooRealVar](\ref _roorealvar)
77 - [bins](\ref _roorealvar_bins)
78- [RooSimultaneous](\ref _roosimultaneous)
79 - [__init__](\ref _roosimultaneous___init__)
80 - [plotOn](\ref _roosimultaneous_ploton)
81- [RooSimWSTool](\ref _roosimwstool)
82 - [build](\ref _roosimwstool_build)
83- [RooWorkspace](\ref _rooworkspace)
84 - [Import](\ref _rooworkspace_import)
85 - [__init__](\ref _rooworkspace___init__)
86 - [RooWorkspace_import](\ref _rooworkspace_rooworkspace_import)
87
88\anchor _rooabscollection
89## RooAbsCollection
90\see RooAbsCollection
91
92Some member functions of RooAbsCollection that take a RooCmdArg as argument also support keyword arguments.
93So far, this applies to RooAbsCollection::printLatex. For example, the following code is equivalent in PyROOT:
94\code{.py}
95# Directly passing a RooCmdArg:
96params.printLatex(ROOT.RooFit.Sibling(initParams), ROOT.RooFit.Columns(2))
97
98# With keyword arguments:
99params.printLatex(Sibling=initParams, Columns =2)
100\endcode
101
102\anchor _rooabscollection_printlatex
103### RooAbsCollection.printLatex
104The RooAbsCollection::printLatex() function is pythonized with the command argument pythonization.
105The keywords must correspond to the CmdArgs of the function.
106
107\see RooAbsCollection::printLatex(const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8) const
108
109\anchor _rooabsdata
110## RooAbsData
111\see RooAbsData
112
113Some member functions of RooAbsData that take a RooCmdArg as argument also support keyword arguments.
114This applies to RooAbsData::plotOn, RooAbsData::createHistogram, RooAbsData::reduce, RooAbsData::statOn.
115For example, the following code is equivalent in PyROOT:
116\code{.py}
117# Directly passing a RooCmdArg:
118data.plotOn(frame, ROOT.RooFit.CutRange("r1"))
119
120# With keyword arguments:
121data.plotOn(frame, CutRange="r1")
122\endcode
123
124\anchor _rooabsdata_createhistogram
125### RooAbsData.createHistogram
126The RooAbsData::createHistogram() function is pythonized with the command argument pythonization.
127The keywords must correspond to the CmdArgs of the function.
128
129\see RooAbsData::createHistogram(const char *name, const RooAbsRealLValue& xvar, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8) const
130
131\anchor _rooabsdata_ploton
132### RooAbsData.plotOn
133The RooAbsData::plotOn() function is pythonized with the command argument pythonization.
134The keywords must correspond to the CmdArgs of the function.
135
136\see RooAbsData::plotOn(RooPlot* frame, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8) const
137
138\anchor _rooabsdata_reduce
139### RooAbsData.reduce
140The RooAbsData::reduce() function is pythonized with the command argument pythonization.
141The keywords must correspond to the CmdArgs of the function.
142
143\see RooAbsData::reduce(const RooCmdArg& arg1,const RooCmdArg& arg2, const RooCmdArg& arg3,const RooCmdArg& arg4, const RooCmdArg& arg5,const RooCmdArg& arg6, const RooCmdArg& arg7,const RooCmdArg& arg8)
144
145\anchor _rooabsdata_staton
146### RooAbsData.statOn
147The RooAbsData::statOn() function is pythonized with the command argument pythonization.
148The keywords must correspond to the CmdArgs of the function.
149
150\see RooAbsData::statOn(RooPlot* frame, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
151
152\anchor _rooabspdf
153## RooAbsPdf
154\see RooAbsPdf
155
156Some member functions of RooAbsPdf that take a RooCmdArg as argument also support keyword arguments.
157So far, this applies to RooAbsPdf::fitTo, RooAbsPdf::plotOn, RooAbsPdf::generate, RooAbsPdf::paramOn, RooAbsPdf::createCdf,
158RooAbsPdf::generateBinned, RooAbsPdf::createChi2, RooAbsPdf::prepareMultiGen and RooAbsPdf::createNLL.
159For example, the following code is equivalent in PyROOT:
160\code{.py}
161# Directly passing a RooCmdArg:
162pdf.fitTo(data, ROOT.RooFit.Range("r1"))
163
164# With keyword arguments:
165pdf.fitTo(data, Range="r1")
166\endcode
167
168\anchor _rooabspdf_createcdf
169### RooAbsPdf.createCdf
170The RooAbsPdf::createCdf() function is pythonized with the command argument pythonization.
171The keywords must correspond to the CmdArgs of the function.
172
173\see RooAbsPdf::createCdf(const RooArgSet& iset, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
174
175\anchor _rooabspdf_createchi2
176### RooAbsPdf.createChi2
177The RooAbsPdf::createChi2() function is pythonized with the command argument pythonization.
178The keywords must correspond to the CmdArgs of the function.
179
180\see RooAbsPdf::createChi2(RooDataHist& data, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
181
182\anchor _rooabspdf_createnll
183### RooAbsPdf.createNLL
184The RooAbsPdf::createNLL() function is pythonized with the command argument pythonization.
185The keywords must correspond to the CmdArgs of the function.
186
187\see RooAbsPdf::createNLL(RooAbsData&, const RooLinkedList&)
188
189\anchor _rooabspdf_fitto
190### RooAbsPdf.fitTo
191The RooAbsPdf::fitTo() function is pythonized with the command argument pythonization.
192The keywords must correspond to the CmdArgs of the function.
193
194\see RooAbsPdf::fitTo(RooAbsData&, const RooLinkedList&)
195
196\anchor _rooabspdf_generate
197### RooAbsPdf.generate
198The RooAbsPdf::generate() function is pythonized with the command argument pythonization.
199The keywords must correspond to the CmdArgs of the function.
200
201\see RooAbsPdf::generate(const RooArgSet &whatVars, const RooCmdArg& arg1,const RooCmdArg& arg2, const RooCmdArg& arg3,const RooCmdArg& arg4, const RooCmdArg& arg5,const RooCmdArg& arg6)
202
203\anchor _rooabspdf_generatebinned
204### RooAbsPdf.generateBinned
205The RooAbsPdf::generateBinned() function is pythonized with the command argument pythonization.
206The keywords must correspond to the CmdArgs of the function.
207
208\see RooAbsPdf::generateBinned(const RooArgSet &whatVars, const RooCmdArg& arg1,const RooCmdArg& arg2, const RooCmdArg& arg3,const RooCmdArg& arg4, const RooCmdArg& arg5,const RooCmdArg& arg6) const
209
210\anchor _rooabspdf_paramon
211### RooAbsPdf.paramOn
212The RooAbsPdf::paramOn() function is pythonized with the command argument pythonization.
213The keywords must correspond to the CmdArgs of the function.
214
215\see RooAbsPdf::paramOn(RooPlot* frame, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
216
217\anchor _rooabspdf_ploton
218### RooAbsPdf.plotOn
219The RooAbsPdf::plotOn() function is pythonized with the command argument pythonization.
220The keywords must correspond to the CmdArgs of the function.
221
222\see RooAbsPdf::plotOn(RooPlot* frame, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8, const RooCmdArg& arg9, const RooCmdArg& arg10) const
223
224\anchor _rooabspdf_preparemultigen
225### RooAbsPdf.prepareMultiGen
226The RooAbsPdf::prepareMultiGen() function is pythonized with the command argument pythonization.
227The keywords must correspond to the CmdArgs of the function.
228
229\see RooAbsPdf::prepareMultiGen(const RooArgSet &whatVars, const RooCmdArg& arg1,const RooCmdArg& arg2, const RooCmdArg& arg3,const RooCmdArg& arg4, const RooCmdArg& arg5,const RooCmdArg& arg6)
230
231\anchor _rooabsreal
232## RooAbsReal
233\see RooAbsReal
234
235Some member functions of RooAbsReal that take a RooCmdArg as argument also support keyword arguments.
236So far, this applies to RooAbsReal::plotOn, RooAbsReal::createHistogram, RooAbsReal::chi2FitTo,
237RooAbsReal::createChi2, RooAbsReal::createRunningIntegral and RooAbsReal::createIntegral
238For example, the following code is equivalent in PyROOT:
239\code{.py}
240# Directly passing a RooCmdArg:
241var.plotOn(frame, ROOT.RooFit.Components("background"))
242
243# With keyword arguments:
244var.plotOn(frame, Components="background")
245\endcode
246
247\anchor _rooabsreal_chi2fitto
248### RooAbsReal.chi2FitTo
249The RooAbsReal::chi2FitTo() function is pythonized with the command argument pythonization.
250The keywords must correspond to the CmdArgs of the function.
251
252\see RooAbsReal::chi2FitTo(RooDataSet& xydata, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
253
254\anchor _rooabsreal_createchi2
255### RooAbsReal.createChi2
256The RooAbsReal::createChi2() function is pythonized with the command argument pythonization.
257The keywords must correspond to the CmdArgs of the function.
258
259\see RooAbsReal::createChi2(RooDataHist& data, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
260
261\anchor _rooabsreal_createhistogram
262### RooAbsReal.createHistogram
263The RooAbsReal::createHistogram() function is pythonized with the command argument pythonization.
264The keywords must correspond to the CmdArgs of the function.
265
266\see RooAbsReal::createHistogram(const char *name, const RooAbsRealLValue& xvar, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8) const
267
268\anchor _rooabsreal_createintegral
269### RooAbsReal.createIntegral
270The RooAbsReal::createIntegral() function is pythonized with the command argument pythonization.
271The keywords must correspond to the CmdArgs of the function.
272
273\see RooAbsReal::createIntegral(const RooArgSet& iset, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8) const
274
275\anchor _rooabsreal_createrunningintegral
276### RooAbsReal.createRunningIntegral
277The RooAbsReal::createRunningIntegral() function is pythonized with the command argument pythonization.
278The keywords must correspond to the CmdArgs of the function.
279
280\see RooAbsReal::createRunningIntegral(const RooArgSet& iset, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
281
282\anchor _rooabsreal_ploton
283### RooAbsReal.plotOn
284The RooAbsReal::plotOn() function is pythonized with the command argument pythonization.
285The keywords must correspond to the CmdArgs of the function.
286
287\see RooAbsReal::plotOn(RooPlot* frame, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8, const RooCmdArg& arg9, const RooCmdArg& arg10) const
288
289\anchor _rooabsreallvalue
290## RooAbsRealLValue
291\see RooAbsRealLValue
292
293Some member functions of RooAbsRealLValue that take a RooCmdArg as argument also support keyword arguments.
294So far, this applies to RooAbsRealLValue::createHistogram and RooAbsRealLValue::frame.
295For example, the following code is equivalent in PyROOT:
296\code{.py}
297# Directly passing a RooCmdArg:
298frame = x.frame(ROOT.RooFit.Name("xframe"), ROOT.RooFit.Title("RooPlot with decorations"), ROOT.RooFit.Bins(40))
299
300# With keyword arguments:
301frame = x.frame(Name="xframe", Title="RooPlot with decorations", Bins=40)
302\endcode
303
304\anchor _rooabsreallvalue_createhistogram
305### RooAbsRealLValue.createHistogram
306The RooAbsRealLValue::createHistogram() function is pythonized with the command argument pythonization.
307The keywords must correspond to the CmdArgs of the function.
308
309\see RooAbsRealLValue::createHistogram(const char *name, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8) const
310
311\anchor _rooabsreallvalue_frame
312### RooAbsRealLValue.frame
313The RooAbsRealLValue::frame() function is pythonized with the command argument pythonization.
314The keywords must correspond to the CmdArgs of the function.
315
316\see RooAbsRealLValue::frame(const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8) const
317
318\anchor _rooargset
319## RooArgSet
320\see RooArgSet
321
322\anchor _rooargset___init__
323### RooArgSet.__init__
324Pythonization of RooArgSet constructor to support implicit
325conversion from Python sets.
326
327\anchor _roobcpgendecay
328## RooBCPGenDecay
329\see RooBCPGenDecay
330
331\anchor _roobcpgendecay___init__
332### RooBCPGenDecay.__init__
333The RooBCPGenDecay constructor is pythonized with enum values.
334
335\see RooBCPGenDecay(const char *name, const char *title, RooRealVar& t, RooAbsCategory& tag, RooAbsReal& tau, RooAbsReal& dm, RooAbsReal& avgMistag, RooAbsReal& a, RooAbsReal& b, RooAbsReal& delMistag, RooAbsReal& mu, const RooResolutionModel& model, DecayType type)
336
337\anchor _roobcpeffdecay
338## RooBCPEffDecay
339\see RooBCPEffDecay
340
341\anchor _roobcpeffdecay___init__
342### RooBCPEffDecay.__init__
343The RooBCPEffDecay constructor is pythonized with enum values.
344
345\see RooBCPEffDecay(const char *name, const char *title, RooRealVar& t, RooAbsCategory& tag, RooAbsReal& tau, RooAbsReal& dm, RooAbsReal& avgMistag, RooAbsReal& CPeigenval, RooAbsReal& a, RooAbsReal& b, RooAbsReal& effRatio, RooAbsReal& delMistag, const RooResolutionModel& model, DecayType type)
346
347\anchor _roobdecay
348## RooBDecay
349\see RooBDecay
350
351\anchor _roobdecay___init__
352### RooBDecay.__init__
353The RooBDecay constructor is pythonized with enum values.
354
355\see RooBDecay(const char *name, const char *title, RooRealVar& t, RooAbsReal& tau, RooAbsReal& dgamma, RooAbsReal& f0, RooAbsReal& f1, RooAbsReal& f2, RooAbsReal& f3, RooAbsReal& dm, const RooResolutionModel& model, DecayType type)
356
357\anchor _roobmixdecay
358## RooBMixDecay
359\see RooBMixDecay
360
361\anchor _roobmixdecay___init__
362### RooBMixDecay.__init__
363The RooBMixDecay constructor is pythonized with enum values.
364
365\see RooBMixDecay(const char *name, const char *title, RooRealVar& t, RooAbsCategory& mixState, RooAbsCategory& tagFlav, RooAbsReal& tau, RooAbsReal& dm, RooAbsReal& mistag, RooAbsReal& delMistag, const RooResolutionModel& model, DecayType type)
366
367\anchor _roocategory
368## RooCategory
369\see RooCategory
370
371Constructor of RooCategory takes a map as an argument also supports python dictionaries.
372For example, the following code is equivalent in PyROOT:
373\code{.py}
374# Default bindings :
375mixState = ROOT.RooCategory("mixState", "B0/B0bar mixing state")
376mixState.defineType("mixed", -1)
377mixState.defineType("unmixed", 1)
378
379# With pythonization :
380mixState = ROOT.RooCategory("mixState", "B0/B0bar mixing state", {"mixed" : -1, "unmixed" : 1})
381\endcode
382
383\anchor _roocategory___init__
384### RooCategory.__init__
385The RooCategory constructor is pythonized for converting python dict to std::map.
386The instances in the dict must correspond to the template argument in std::map of the constructor.
387
388\see RooCategory(const char* name, const char* title, const std::map<std::string, int>& allowedStates)
389
390\anchor _roochi2var
391## RooChi2Var
392\see RooChi2Var
393
394Constructor of RooChi2Var takes a RooCmdArg as argument also supports keyword arguments.
395
396\anchor _roochi2var___init__
397### RooChi2Var.__init__
398The RooCategory constructor is pythonized for converting python dict to std::map.
399The keywords must correspond to the CmdArg of the constructor function.
400
401\see RooChi2Var(const char* name, const char* title, RooAbsReal& func, RooDataHist& data, const RooCmdArg& arg1, const RooCmdArg& arg2,const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5,const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8,const RooCmdArg& arg9)
402
403\see RooChi2Var(const char* name, const char* title, RooAbsPdf& pdf, RooDataHist& data, const RooCmdArg& arg1, const RooCmdArg& arg2,const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5,const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8,const RooCmdArg& arg9)
404
405\anchor _roodatahist
406## RooDataHist
407\see RooDataHist
408
409Constructor of RooDataHist takes a RooCmdArg as argument also supports keyword arguments.
410For example, the following code is equivalent in PyROOT:
411\code{.py}
412# Directly passing a RooCmdArg:
413dh = ROOT.RooDataHist("dh", "dh", ROOT.RooArgList(x), ROOT.RooFit.Import("SampleA", histo))
414
415# With keyword arguments:
416dh = ROOT.RooDataHist("dh", "dh", ROOT.RooArgList(x), Import=("SampleA", histo))
417\endcode
418
419\anchor _roodatahist___init__
420### RooDataHist.__init__
421The RooDataHist constructor is pythonized with the command argument pythonization and for converting python dict to std::map.
422The keywords must correspond to the CmdArg of the constructor function.
423The instances in dict must correspond to the template argument in std::map of the constructor.
424
425\see RooDataHist(std::string_view name, std::string_view title, const RooArgList& vars, RooCategory& indexCat, std::map<std::string,TH1*> histMap, Double_t initWgt)
426
427\see RooDataHist(std::string_view name, std::string_view title, const RooArgList& vars, RooCategory& indexCat, std::map<std::string,RooDataHist*> dhistMap, Double_t wgt)
428
429\anchor _roodatahist_from_numpy
430### RooDataHist.from_numpy
431Create a RooDataHist from numpy arrays.
432
433Note: The argument stucture was inspired by numpy.histogramdd.
434
435Args:
436 hist_weights (numpy.ndarray): The multidimensional histogram bin
437 weights.
438 bins (list): The bin specification, where each element is either:
439 * a numpy array describing the monotonically
440 increasing bin edges along each dimension.
441 * a scalar value for the number of bins (in this
442 case, the corresponding item in the `ranges`
443 argument must be filled)
444 * `None` for a category dimension or if you want to
445 use the default binning of the RooFit variable
446 variables (RooArgSet, or list/tuple of RooAbsArgs):
447 Specification of the variables in the RooDataHist, will be
448 forwarded to the RooDataHist constructor. Both real values and
449 categories are supported.
450 ranges (list): An optional list specifying the variable range
451 limits. Each element is either:
452 * `None` if a full bin edges array is given to
453 `bins` or for a category dimension
454 * a tuple with two values corresponding to the
455 minimum and maximum values
456 weights_squared_sum (numpy.ndarray):
457 The sum of squared weights of the original samples that were
458 used to fill the histogram. If the input weights are from a
459 weighted histogram, this parameter is no longer optional.
460 name (str): Name of the RooDataSet, `None` is equivalent to an
461 empty string.
462 title (str): Title of the RooDataSet, `None` is equivalent to an
463 empty string.
464
465Returns:
466 RooDataHist
467
468\anchor _roodatahist_to_numpy
469### RooDataHist.to_numpy
470Converts the weights and bin edges of a RooDataHist to numpy arrays.
471
472Note: The output stucture was inspired by numpy.histogramdd.
473
474Returns:
475 weight (numpy.ndarray): The weights for each histrogram bin.
476 bin_edges (list): A list of `n_dim` arrays describing the bin edges
477 for each dimension. For dimensions of category
478 types, the list element is `None`.
479
480\anchor _roodataset
481## RooDataSet
482\see RooDataSet
483
484Some member functions of RooDataSet that take a RooCmdArg as argument also support keyword arguments.
485So far, this applies to RooDataSet() constructor and RooDataSet::plotOnXY.
486For example, the following code is equivalent in PyROOT:
487\code{.py}
488# Directly passing a RooCmdArg:
489dxy = ROOT.RooDataSet("dxy", "dxy", ROOT.RooArgSet(x, y), ROOT.RooFit.StoreError(ROOT.RooArgSet(x, y)))
490
491# With keyword arguments:
492dxy = ROOT.RooDataSet("dxy", "dxy", ROOT.RooArgSet(x, y), StoreError=(ROOT.RooArgSet(x, y)))
493\endcode
494
495\anchor _roodataset___init__
496### RooDataSet.__init__
497The RooDataSet constructor is pythonized with the command argument pythonization.
498The keywords must correspond to the CmdArgs of the constructor.
499
500\see RooDataSet(std::string_view name, std::string_view title, const RooArgSet& vars, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4,const RooCmdArg& arg5, const RooCmdArg& arg6,const RooCmdArg& arg7,const RooCmdArg& arg8)
501
502\anchor _roodataset_from_numpy
503### RooDataSet.from_numpy
504Create a RooDataSet from a dictionary of numpy arrays.
505Args:
506 data (dict): Dictionary with strings as keys and numpy arrays as
507 values, to be imported into the RooDataSet.
508 variables (RooArgSet, or list/tuple of RooAbsArgs):
509 Specification of the variables in the RooDataSet, will be
510 forwarded to the RooDataSet constructor. Both real values and
511 categories are supported.
512 name (str): Name of the RooDataSet, `None` is equivalent to an
513 empty string.
514 title (str): Title of the RooDataSet, `None` is equivalent to an
515 empty string.
516 weight_name (str): Key of the array in `data` that will be used for
517 the dataset weights.
518
519Returns:
520 RooDataSet
521
522\anchor _roodataset_from_pandas
523### RooDataSet.from_pandas
524Create a RooDataSet from a pandas DataFrame.
525Args:
526 df (pandas.DataFrame): Pandas DataFrame to import.
527 variables (RooArgSet, or list/tuple of RooAbsArgs):
528 Specification of the variables in the RooDataSet, will be
529 forwarded to the RooDataSet constructor. Both real values and
530 categories are supported.
531 name (str): Name of the RooDataSet, `None` is equivalent to an
532 empty string.
533 title (str): Title of the RooDataSet, `None` is equivalent to an
534 empty string.
535 weight_name (str): Key of the array in `data` that will be used for
536 the dataset weights.
537
538Returns:
539 RooDataSet
540
541\anchor _roodataset_plotonxy
542### RooDataSet.plotOnXY
543The RooDataSet::plotOnXY() function is pythonized with the command argument pythonization.
544The keywords must correspond to the CmdArgs of the function.
545
546\see RooDataSet::plotOnXY(RooPlot* frame, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8) const
547
548\anchor _roodataset_to_numpy
549### RooDataSet.to_numpy
550Export a RooDataSet to a dictinary of numpy arrays.
551
552Args:
553 copy (bool): If False, the data will not be copied. Use with
554 caution, as the numpy arrays and the RooAbsData now
555 own the same memory. If the dataset uses a
556 RooTreeDataStore, there will always be a copy and the
557 copy argument is ignored.
558
559Returns:
560 dict: A dictionary with the variable or weight names as keys and
561 the numpy arrays as values.
562
563\anchor _roodataset_to_pandas
564### RooDataSet.to_pandas
565Export a RooDataSet to a pandas DataFrame.
566
567Args:
568
569Note:
570 Pandas copies the data from the numpy arrays when creating a
571 DataFrame. That's why we can disable copying in the to_numpy call.
572
573Returns:
574 pandas.DataFrame: A dataframe with the variable or weight names as
575 column names and the a row for each variable or
576 weight in the dataset.
577
578\anchor _roodecay
579## RooDecay
580\see RooDecay
581
582Some constructors of classes like RooDecay, RooBDecay, RooBCPGenDecay, RooBCPEffDecay and RooBMixDecay that take an enum
583DecayType as argument also support keyword arguments.
584For example, the following code is equivalent in PyROOT:
585\code{.py}
586# Directly passing keyword argument with string corresponding to enum value name:
587decay_tm = ROOT.RooDecay("decay_tm", "decay", dt, tau, tm, ROOT.RooDecay.DoubleSided)
588
589# With enum value:
590decay_tm = ROOT.RooDecay("decay_tm", "decay", dt, tau, tm, type="DoubleSided")
591\endcode
592
593\anchor _roodecay___init__
594### RooDecay.__init__
595The RooDecay constructor is pythonized with enum values.
596
597\see RooDecay(const char *name, const char *title, RooRealVar& t, RooAbsReal& tau, const RooResolutionModel& model, DecayType type)
598
599\anchor _roogenfitstudy
600## RooGenFitStudy
601\see RooGenFitStudy
602
603Some member functions of RooGenFitStudy that take a RooCmdArg as argument also support keyword arguments.
604So far, this applies to RooGenFitStudy::setGenConfig.
605
606\anchor _roogenfitstudy_setgenconfig
607### RooGenFitStudy.setGenConfig
608The RooGenFitStudy::setGenConfig() function is pythonized with the command argument pythonization.
609The keywords must correspond to the CmdArg of the function.
610
611\see RooGenFitStudy::setGenConfig(const char* pdfName, const char* obsName, const RooCmdArg& arg1, const RooCmdArg& arg2,const RooCmdArg& arg3)
612
613\see RooGenFitStudy::setFitConfig(const char* pdfName, const char* obsName, const RooCmdArg& arg1,const RooCmdArg& arg2,const RooCmdArg& arg3)
614
615\anchor _roojsonfactorywstool
616## RooJSONFactoryWSTool
617\see RooJSONFactoryWSTool
618
619\anchor _roojsonfactorywstool_gendoc
620### RooJSONFactoryWSTool.gendoc
621Generate the importer and exporter documentation.
622
623\anchor _roojsonfactorywstool_writedoc
624### RooJSONFactoryWSTool.writedoc
625Write the importer and exporter documentation as LaTeX code.
626
627\anchor _roomcstudy
628## RooMCStudy
629\see RooMCStudy
630
631Some member functions of RooMCStudy that take a RooCmdArg as argument also support keyword arguments.
632So far, this applies to constructor RooMCStudy(), RooMCStudy::plotParamOn, RooMCStudy::plotParam, RooMCStudy::plotNLL, RooMCStudy::plotError and RooMCStudy::plotPull.
633For example, the following code is equivalent in PyROOT:
634\code{.py}
635# Directly passing a RooCmdArg:
636frame3 = mcstudy.plotPull(mean, ROOT.RooFit.Bins(40), ROOT.RooFit.FitGauss(True))
637
638# With keyword arguments:
639frame3 = mcstudy.plotPull(mean, Bins=40, FitGauss=True)
640\endcode
641
642\anchor _roomcstudy___init__
643### RooMCStudy.__init__
644The RooMCStudy constructor is pythonized with the command argument pythonization.
645The keywords must correspond to the CmdArg of the constructor function.
646
647\see RooMCStudy(const RooAbsPdf& model, const RooArgSet& observables, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
648
649\anchor _roomcstudy_ploterror
650### RooMCStudy.plotError
651The RooMCStudy::plotError() function is pythonized with the command argument pythonization.
652The keywords must correspond to the CmdArg of the function.
653
654\see RooMCStudy::plotError(const RooRealVar& param, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
655
656\anchor _roomcstudy_plotnll
657### RooMCStudy.plotNLL
658The RooMCStudy::plotNLL() function is pythonized with the command argument pythonization.
659The keywords must correspond to the CmdArg of the function.
660
661\see RooMCStudy::plotNLL(const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
662
663\anchor _roomcstudy_plotparam
664### RooMCStudy.plotParam
665The RooMCStudy::plotParam() function is pythonized with the command argument pythonization.
666The keywords must correspond to the CmdArg of the function.
667
668\see RooMCStudy::plotParam(const RooRealVar& param, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
669
670\see RooMCStudy::plotParam(const char* paramName, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
671
672\anchor _roomcstudy_plotparamon
673### RooMCStudy.plotParamOn
674The RooMCStudy::plotParamOn() function is pythonized with the command argument pythonization.
675The keywords must correspond to the CmdArg of the function.
676
677\see RooMCStudy::plotParamOn(RooPlot* frame, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
678
679\anchor _roomcstudy_plotpull
680### RooMCStudy.plotPull
681The RooMCStudy::plotError() function is pythonized with the command argument pythonization.
682The keywords must correspond to the CmdArg of the function.
683
684\see RooMCStudy::plotPull(const RooRealVar& param, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
685
686\anchor _roomsgservice
687## RooMsgService
688\see RooMsgService
689
690Some member functions of RooMsgService that take a RooCmdArg as argument also support keyword arguments.
691So far, this applies to RooMsgService::addStream.
692For example, the following code is equivalent in PyROOT:
693\code{.py}
694# Directly passing a RooCmdArg:
695ROOT.RooMsgService.instance().addStream(ROOT.RooFit.DEBUG, ROOT.RooFit.Topic(ROOT.RooFit.Tracing), ROOT.RooFit.ClassName("RooGaussian"))
696
697# With keyword arguments:
698ROOT.RooMsgService.instance().addStream(ROOT.RooFit.DEBUG, Topic = ROOT.RooFit.Tracing, ClassName = "RooGaussian")
699\endcode
700
701\anchor _roomsgservice_addstream
702### RooMsgService.addStream
703The RooMsgService::addStream() function is pythonized with the command argument pythonization.
704The keywords must correspond to the CmdArg of the function.
705
706\see RooMsgService::addStream(RooFit::MsgLevel level, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6)
707
708\anchor _roonllvar
709## RooNLLVar
710\see RooNLLVar
711
712RooNLLVar() constructor takes a RooCmdArg as argument also supports keyword arguments.
713
714\anchor _roonllvar___init__
715### RooNLLVar.__init__
716The RooNLLVar constructor is pythonized with the command argument pythonization.
717The keywords must correspond to the CmdArg of the constructor function.
718
719\see RooNLLVar(const char* name, const char* title, RooAbsPdf& pdf, RooAbsData& data, const RooCmdArg& arg1, const RooCmdArg& arg2,const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5,const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8,const RooCmdArg& arg9)
720
721\anchor _rooprodpdf
722## RooProdPdf
723\see RooProdPdf
724
725RooProdPdf() constructor takes a RooCmdArg as argument also supports keyword arguments.
726For example, the following code is equivalent in PyROOT:
727\code{.py}
728# Directly passing a RooCmdArg:
729model = ROOT.RooProdPdf(
730 "model", "model", ROOT.RooArgSet(shapePdf), ROOT.RooFit.Conditional(ROOT.RooArgSet(effPdf), ROOT.RooArgSet(cut))
731 )
732
733# With keyword arguments:
734model = ROOT.RooProdPdf(
735 "model", "model", ROOT.RooArgSet(shapePdf), Conditional=(ROOT.RooArgSet(effPdf), ROOT.RooArgSet(cut))
736 )
737\endcode
738
739\anchor _rooprodpdf___init__
740### RooProdPdf.__init__
741The RooProdPdf constructor is pythonized with the command argument pythonization.
742The keywords must correspond to the CmdArgs of the constructor.
743
744\see RooProdPdf(const char* name, const char* title, const RooArgSet& fullPdfSet, const RooCmdArg& arg1 , const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
745
746\anchor _roorealvar
747## RooRealVar
748\see RooRealVar
749
750\anchor _roorealvar_bins
751### RooRealVar.bins
752Return the binning of this RooRealVar as a numpy array.
753
754\anchor _roosimultaneous
755## RooSimultaneous
756\see RooSimultaneous
757
758Some member functions of RooSimultaneous that take a RooCmdArg as argument also support keyword arguments.
759So far, this applies to RooSimultaneous::plotOn.
760For example, the following code is equivalent in PyROOT:
761\code{.py}
762# Directly passing a RooCmdArg:
763pdfSim.plotOn(frame, ROOT.RooFit.Slice(sample,"control"), ROOT.RooFit.ProjWData(sampleSet, combData))
764
765# With keyword arguments:
766simPdf.plotOn(frame, Slice=(sample, "control"), ProjWData=(sampleSet, combData))
767\endcode
768
769\anchor _roosimultaneous___init__
770### RooSimultaneous.__init__
771The RooSimultaneous constructor that takes a map of category names
772to PDFs is accepting a Python dictionary in Python.
773
774\see RooSimultaneous(const char *name, const char *title, std::map<std::string,RooAbsPdf*> pdfMap, RooAbsCategoryLValue& inIndexCat)
775
776\anchor _roosimultaneous_ploton
777### RooSimultaneous.plotOn
778The RooSimultaneous::plotOn() function is pythonized with the command argument pythonization.
779The keywords must correspond to the CmdArgs of the function.
780
781\see RooSimultaneous::plotOn(RooPlot* frame, const RooCmdArg& arg1 , const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8, const RooCmdArg& arg9, const RooCmdArg& arg10) const
782
783\anchor _roosimwstool
784## RooSimWSTool
785\see RooSimWSTool
786
787Some member functions of RooSimWSTool that take a RooCmdArg as argument also support keyword arguments.
788So far, this applies to RooSimWSTool::build.
789For example, the following code is equivalent in PyROOT:
790\code{.py}
791# Directly passing a RooCmdArg:
792sct.build("model_sim2", "model", ROOT.RooFit.SplitParam("p0", "c,d"))
793
794# With keyword arguments:
795sct.build("model_sim2", "model", SplitParam=("p0", "c,d"))
796\endcode
797
798\anchor _roosimwstool_build
799### RooSimWSTool.build
800The RooSimWSTool::build() function is pythonized with the command argument pythonization.
801The keywords must correspond to the CmdArgs of the function.
802
803\see RooSimWSTool::build(const char* simPdfName, const char* protoPdfName, const RooCmdArg& arg1,const RooCmdArg& arg2, const RooCmdArg& arg3,const RooCmdArg& arg4, const RooCmdArg& arg5,const RooCmdArg& arg6)
804
805\anchor _rooworkspace
806## RooWorkspace
807\see RooWorkspace
808
809The RooWorkspace::import function can't be used in PyROOT because `import` is a reserved python keyword.
810For this reason, an alternative with a capitalized name is provided:
811\code{.py}
812workspace.Import(x)
813\endcode
814
815\anchor _rooworkspace_import
816### RooWorkspace.Import
817Support the C++ `import()` as `Import()` in python
818
819\see RooWorkspace::import(const RooAbsArg& arg, const RooCmdArg& arg1,const RooCmdArg& arg2,const RooCmdArg& arg3, const RooCmdArg& arg4,const RooCmdArg& arg5,const RooCmdArg& arg6, const RooCmdArg& arg7,const RooCmdArg& arg8,const RooCmdArg& arg9)
820
821\see RooWorkspace::import(RooAbsData& data, const RooCmdArg& arg1,const RooCmdArg& arg2,const RooCmdArg& arg3, const RooCmdArg& arg4,const RooCmdArg& arg5,const RooCmdArg& arg6, const RooCmdArg& arg7,const RooCmdArg& arg8,const RooCmdArg& arg9)
822
823\see RooWorkspace::import(const char *fileSpec, const RooCmdArg& arg1,const RooCmdArg& arg2,const RooCmdArg& arg3, const RooCmdArg& arg4,const RooCmdArg& arg5,const RooCmdArg& arg6, const RooCmdArg& arg7,const RooCmdArg& arg8,const RooCmdArg& arg9)
824
825\anchor _rooworkspace___init__
826### RooWorkspace.__init__
827The RooWorkspace constructor is pythonized with the command argument pythonization.
828The keywords must correspond to the CmdArgs of the constructor.
829
830\see RooWorkspace::import(const RooAbsArg& arg, const RooCmdArg& arg1,const RooCmdArg& arg2,const RooCmdArg& arg3, const RooCmdArg& arg4,const RooCmdArg& arg5,const RooCmdArg& arg6, const RooCmdArg& arg7,const RooCmdArg& arg8,const RooCmdArg& arg9)
831
832\anchor _rooworkspace_rooworkspace_import
833### RooWorkspace.RooWorkspace_import
834The RooWorkspace::import function can't be used in PyROOT because `import` is a reserved python keyword.
835So, Import() is used and pythonized with the command argument pythonization.
836The keywords must correspond to the CmdArg of the `import()` function.
837
838
839\class RooAbsCollection
840\brief \parblock \endparblock
841\htmlonly
842<div class="pyrootbox">
843\endhtmlonly
844## PyROOT
845Some member functions of RooAbsCollection that take a RooCmdArg as argument also support keyword arguments.
846So far, this applies to RooAbsCollection::printLatex. For example, the following code is equivalent in PyROOT:
847\code{.py}
848# Directly passing a RooCmdArg:
849params.printLatex(ROOT.RooFit.Sibling(initParams), ROOT.RooFit.Columns(2))
850
851# With keyword arguments:
852params.printLatex(Sibling=initParams, Columns =2)
853\endcode
854\htmlonly
855</div>
856\endhtmlonly
857
858\fn RooAbsCollection::printLatex(const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8) const
859\brief \parblock \endparblock
860\htmlonly
861<div class="pyrootbox">
862\endhtmlonly
863## PyROOT
864The RooAbsCollection::printLatex() function is pythonized with the command argument pythonization.
865The keywords must correspond to the CmdArgs of the function.
866\htmlonly
867</div>
868\endhtmlonly
869
870\class RooAbsData
871\brief \parblock \endparblock
872\htmlonly
873<div class="pyrootbox">
874\endhtmlonly
875## PyROOT
876Some member functions of RooAbsData that take a RooCmdArg as argument also support keyword arguments.
877This applies to RooAbsData::plotOn, RooAbsData::createHistogram, RooAbsData::reduce, RooAbsData::statOn.
878For example, the following code is equivalent in PyROOT:
879\code{.py}
880# Directly passing a RooCmdArg:
881data.plotOn(frame, ROOT.RooFit.CutRange("r1"))
882
883# With keyword arguments:
884data.plotOn(frame, CutRange="r1")
885\endcode
886\htmlonly
887</div>
888\endhtmlonly
889
890\fn RooAbsData::createHistogram(const char *name, const RooAbsRealLValue& xvar, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8) const
891\brief \parblock \endparblock
892\htmlonly
893<div class="pyrootbox">
894\endhtmlonly
895## PyROOT
896The RooAbsData::createHistogram() function is pythonized with the command argument pythonization.
897The keywords must correspond to the CmdArgs of the function.
898\htmlonly
899</div>
900\endhtmlonly
901
902\fn RooAbsData::plotOn(RooPlot* frame, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8) const
903\brief \parblock \endparblock
904\htmlonly
905<div class="pyrootbox">
906\endhtmlonly
907## PyROOT
908The RooAbsData::plotOn() function is pythonized with the command argument pythonization.
909The keywords must correspond to the CmdArgs of the function.
910\htmlonly
911</div>
912\endhtmlonly
913
914\fn RooAbsData::reduce(const RooCmdArg& arg1,const RooCmdArg& arg2, const RooCmdArg& arg3,const RooCmdArg& arg4, const RooCmdArg& arg5,const RooCmdArg& arg6, const RooCmdArg& arg7,const RooCmdArg& arg8)
915\brief \parblock \endparblock
916\htmlonly
917<div class="pyrootbox">
918\endhtmlonly
919## PyROOT
920The RooAbsData::reduce() function is pythonized with the command argument pythonization.
921The keywords must correspond to the CmdArgs of the function.
922\htmlonly
923</div>
924\endhtmlonly
925
926\fn RooAbsData::statOn(RooPlot* frame, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
927\brief \parblock \endparblock
928\htmlonly
929<div class="pyrootbox">
930\endhtmlonly
931## PyROOT
932The RooAbsData::statOn() function is pythonized with the command argument pythonization.
933The keywords must correspond to the CmdArgs of the function.
934\htmlonly
935</div>
936\endhtmlonly
937
938\class RooAbsPdf
939\brief \parblock \endparblock
940\htmlonly
941<div class="pyrootbox">
942\endhtmlonly
943## PyROOT
944Some member functions of RooAbsPdf that take a RooCmdArg as argument also support keyword arguments.
945So far, this applies to RooAbsPdf::fitTo, RooAbsPdf::plotOn, RooAbsPdf::generate, RooAbsPdf::paramOn, RooAbsPdf::createCdf,
946RooAbsPdf::generateBinned, RooAbsPdf::createChi2, RooAbsPdf::prepareMultiGen and RooAbsPdf::createNLL.
947For example, the following code is equivalent in PyROOT:
948\code{.py}
949# Directly passing a RooCmdArg:
950pdf.fitTo(data, ROOT.RooFit.Range("r1"))
951
952# With keyword arguments:
953pdf.fitTo(data, Range="r1")
954\endcode
955\htmlonly
956</div>
957\endhtmlonly
958
959\fn RooAbsPdf::createCdf(const RooArgSet& iset, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
960\brief \parblock \endparblock
961\htmlonly
962<div class="pyrootbox">
963\endhtmlonly
964## PyROOT
965The RooAbsPdf::createCdf() function is pythonized with the command argument pythonization.
966The keywords must correspond to the CmdArgs of the function.
967\htmlonly
968</div>
969\endhtmlonly
970
971\fn RooAbsPdf::createChi2(RooDataHist& data, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
972\brief \parblock \endparblock
973\htmlonly
974<div class="pyrootbox">
975\endhtmlonly
976## PyROOT
977The RooAbsPdf::createChi2() function is pythonized with the command argument pythonization.
978The keywords must correspond to the CmdArgs of the function.
979\htmlonly
980</div>
981\endhtmlonly
982
983\fn RooAbsPdf::createNLL(RooAbsData&, const RooLinkedList&)
984\brief \parblock \endparblock
985\htmlonly
986<div class="pyrootbox">
987\endhtmlonly
988## PyROOT
989The RooAbsPdf::createNLL() function is pythonized with the command argument pythonization.
990The keywords must correspond to the CmdArgs of the function.
991\htmlonly
992</div>
993\endhtmlonly
994
995\fn RooAbsPdf::fitTo(RooAbsData&, const RooLinkedList&)
996\brief \parblock \endparblock
997\htmlonly
998<div class="pyrootbox">
999\endhtmlonly
1000## PyROOT
1001The RooAbsPdf::fitTo() function is pythonized with the command argument pythonization.
1002The keywords must correspond to the CmdArgs of the function.
1003\htmlonly
1004</div>
1005\endhtmlonly
1006
1007\fn RooAbsPdf::generate(const RooArgSet &whatVars, const RooCmdArg& arg1,const RooCmdArg& arg2, const RooCmdArg& arg3,const RooCmdArg& arg4, const RooCmdArg& arg5,const RooCmdArg& arg6)
1008\brief \parblock \endparblock
1009\htmlonly
1010<div class="pyrootbox">
1011\endhtmlonly
1012## PyROOT
1013The RooAbsPdf::generate() function is pythonized with the command argument pythonization.
1014The keywords must correspond to the CmdArgs of the function.
1015\htmlonly
1016</div>
1017\endhtmlonly
1018
1019\fn RooAbsPdf::generateBinned(const RooArgSet &whatVars, const RooCmdArg& arg1,const RooCmdArg& arg2, const RooCmdArg& arg3,const RooCmdArg& arg4, const RooCmdArg& arg5,const RooCmdArg& arg6) const
1020\brief \parblock \endparblock
1021\htmlonly
1022<div class="pyrootbox">
1023\endhtmlonly
1024## PyROOT
1025The RooAbsPdf::generateBinned() function is pythonized with the command argument pythonization.
1026The keywords must correspond to the CmdArgs of the function.
1027\htmlonly
1028</div>
1029\endhtmlonly
1030
1031\fn RooAbsPdf::paramOn(RooPlot* frame, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
1032\brief \parblock \endparblock
1033\htmlonly
1034<div class="pyrootbox">
1035\endhtmlonly
1036## PyROOT
1037The RooAbsPdf::paramOn() function is pythonized with the command argument pythonization.
1038The keywords must correspond to the CmdArgs of the function.
1039\htmlonly
1040</div>
1041\endhtmlonly
1042
1043\fn RooAbsPdf::plotOn(RooPlot* frame, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8, const RooCmdArg& arg9, const RooCmdArg& arg10) const
1044\brief \parblock \endparblock
1045\htmlonly
1046<div class="pyrootbox">
1047\endhtmlonly
1048## PyROOT
1049The RooAbsPdf::plotOn() function is pythonized with the command argument pythonization.
1050The keywords must correspond to the CmdArgs of the function.
1051\htmlonly
1052</div>
1053\endhtmlonly
1054
1055\fn RooAbsPdf::prepareMultiGen(const RooArgSet &whatVars, const RooCmdArg& arg1,const RooCmdArg& arg2, const RooCmdArg& arg3,const RooCmdArg& arg4, const RooCmdArg& arg5,const RooCmdArg& arg6)
1056\brief \parblock \endparblock
1057\htmlonly
1058<div class="pyrootbox">
1059\endhtmlonly
1060## PyROOT
1061The RooAbsPdf::prepareMultiGen() function is pythonized with the command argument pythonization.
1062The keywords must correspond to the CmdArgs of the function.
1063\htmlonly
1064</div>
1065\endhtmlonly
1066
1067\class RooAbsReal
1068\brief \parblock \endparblock
1069\htmlonly
1070<div class="pyrootbox">
1071\endhtmlonly
1072## PyROOT
1073Some member functions of RooAbsReal that take a RooCmdArg as argument also support keyword arguments.
1074So far, this applies to RooAbsReal::plotOn, RooAbsReal::createHistogram, RooAbsReal::chi2FitTo,
1075RooAbsReal::createChi2, RooAbsReal::createRunningIntegral and RooAbsReal::createIntegral
1076For example, the following code is equivalent in PyROOT:
1077\code{.py}
1078# Directly passing a RooCmdArg:
1079var.plotOn(frame, ROOT.RooFit.Components("background"))
1080
1081# With keyword arguments:
1082var.plotOn(frame, Components="background")
1083\endcode
1084\htmlonly
1085</div>
1086\endhtmlonly
1087
1088\fn RooAbsReal::chi2FitTo(RooDataSet& xydata, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
1089\brief \parblock \endparblock
1090\htmlonly
1091<div class="pyrootbox">
1092\endhtmlonly
1093## PyROOT
1094The RooAbsReal::chi2FitTo() function is pythonized with the command argument pythonization.
1095The keywords must correspond to the CmdArgs of the function.
1096\htmlonly
1097</div>
1098\endhtmlonly
1099
1100\fn RooAbsReal::createChi2(RooDataHist& data, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
1101\brief \parblock \endparblock
1102\htmlonly
1103<div class="pyrootbox">
1104\endhtmlonly
1105## PyROOT
1106The RooAbsReal::createChi2() function is pythonized with the command argument pythonization.
1107The keywords must correspond to the CmdArgs of the function.
1108\htmlonly
1109</div>
1110\endhtmlonly
1111
1112\fn RooAbsReal::createHistogram(const char *name, const RooAbsRealLValue& xvar, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8) const
1113\brief \parblock \endparblock
1114\htmlonly
1115<div class="pyrootbox">
1116\endhtmlonly
1117## PyROOT
1118The RooAbsReal::createHistogram() function is pythonized with the command argument pythonization.
1119The keywords must correspond to the CmdArgs of the function.
1120\htmlonly
1121</div>
1122\endhtmlonly
1123
1124\fn RooAbsReal::createIntegral(const RooArgSet& iset, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8) const
1125\brief \parblock \endparblock
1126\htmlonly
1127<div class="pyrootbox">
1128\endhtmlonly
1129## PyROOT
1130The RooAbsReal::createIntegral() function is pythonized with the command argument pythonization.
1131The keywords must correspond to the CmdArgs of the function.
1132\htmlonly
1133</div>
1134\endhtmlonly
1135
1136\fn RooAbsReal::createRunningIntegral(const RooArgSet& iset, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
1137\brief \parblock \endparblock
1138\htmlonly
1139<div class="pyrootbox">
1140\endhtmlonly
1141## PyROOT
1142The RooAbsReal::createRunningIntegral() function is pythonized with the command argument pythonization.
1143The keywords must correspond to the CmdArgs of the function.
1144\htmlonly
1145</div>
1146\endhtmlonly
1147
1148\fn RooAbsReal::plotOn(RooPlot* frame, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8, const RooCmdArg& arg9, const RooCmdArg& arg10) const
1149\brief \parblock \endparblock
1150\htmlonly
1151<div class="pyrootbox">
1152\endhtmlonly
1153## PyROOT
1154The RooAbsReal::plotOn() function is pythonized with the command argument pythonization.
1155The keywords must correspond to the CmdArgs of the function.
1156\htmlonly
1157</div>
1158\endhtmlonly
1159
1160\class RooAbsRealLValue
1161\brief \parblock \endparblock
1162\htmlonly
1163<div class="pyrootbox">
1164\endhtmlonly
1165## PyROOT
1166Some member functions of RooAbsRealLValue that take a RooCmdArg as argument also support keyword arguments.
1167So far, this applies to RooAbsRealLValue::createHistogram and RooAbsRealLValue::frame.
1168For example, the following code is equivalent in PyROOT:
1169\code{.py}
1170# Directly passing a RooCmdArg:
1171frame = x.frame(ROOT.RooFit.Name("xframe"), ROOT.RooFit.Title("RooPlot with decorations"), ROOT.RooFit.Bins(40))
1172
1173# With keyword arguments:
1174frame = x.frame(Name="xframe", Title="RooPlot with decorations", Bins=40)
1175\endcode
1176\htmlonly
1177</div>
1178\endhtmlonly
1179
1180\fn RooAbsRealLValue::createHistogram(const char *name, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8) const
1181\brief \parblock \endparblock
1182\htmlonly
1183<div class="pyrootbox">
1184\endhtmlonly
1185## PyROOT
1186The RooAbsRealLValue::createHistogram() function is pythonized with the command argument pythonization.
1187The keywords must correspond to the CmdArgs of the function.
1188\htmlonly
1189</div>
1190\endhtmlonly
1191
1192\fn RooAbsRealLValue::frame(const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8) const
1193\brief \parblock \endparblock
1194\htmlonly
1195<div class="pyrootbox">
1196\endhtmlonly
1197## PyROOT
1198The RooAbsRealLValue::frame() function is pythonized with the command argument pythonization.
1199The keywords must correspond to the CmdArgs of the function.
1200\htmlonly
1201</div>
1202\endhtmlonly
1203
1204\fn RooBCPGenDecay(const char *name, const char *title, RooRealVar& t, RooAbsCategory& tag, RooAbsReal& tau, RooAbsReal& dm, RooAbsReal& avgMistag, RooAbsReal& a, RooAbsReal& b, RooAbsReal& delMistag, RooAbsReal& mu, const RooResolutionModel& model, DecayType type)
1205\brief \parblock \endparblock
1206\htmlonly
1207<div class="pyrootbox">
1208\endhtmlonly
1209## PyROOT
1210The RooBCPGenDecay constructor is pythonized with enum values.
1211\htmlonly
1212</div>
1213\endhtmlonly
1214
1215\fn RooBCPEffDecay(const char *name, const char *title, RooRealVar& t, RooAbsCategory& tag, RooAbsReal& tau, RooAbsReal& dm, RooAbsReal& avgMistag, RooAbsReal& CPeigenval, RooAbsReal& a, RooAbsReal& b, RooAbsReal& effRatio, RooAbsReal& delMistag, const RooResolutionModel& model, DecayType type)
1216\brief \parblock \endparblock
1217\htmlonly
1218<div class="pyrootbox">
1219\endhtmlonly
1220## PyROOT
1221The RooBCPEffDecay constructor is pythonized with enum values.
1222\htmlonly
1223</div>
1224\endhtmlonly
1225
1226\fn RooBDecay(const char *name, const char *title, RooRealVar& t, RooAbsReal& tau, RooAbsReal& dgamma, RooAbsReal& f0, RooAbsReal& f1, RooAbsReal& f2, RooAbsReal& f3, RooAbsReal& dm, const RooResolutionModel& model, DecayType type)
1227\brief \parblock \endparblock
1228\htmlonly
1229<div class="pyrootbox">
1230\endhtmlonly
1231## PyROOT
1232The RooBDecay constructor is pythonized with enum values.
1233\htmlonly
1234</div>
1235\endhtmlonly
1236
1237\fn RooBMixDecay(const char *name, const char *title, RooRealVar& t, RooAbsCategory& mixState, RooAbsCategory& tagFlav, RooAbsReal& tau, RooAbsReal& dm, RooAbsReal& mistag, RooAbsReal& delMistag, const RooResolutionModel& model, DecayType type)
1238\brief \parblock \endparblock
1239\htmlonly
1240<div class="pyrootbox">
1241\endhtmlonly
1242## PyROOT
1243The RooBMixDecay constructor is pythonized with enum values.
1244\htmlonly
1245</div>
1246\endhtmlonly
1247
1248\class RooCategory
1249\brief \parblock \endparblock
1250\htmlonly
1251<div class="pyrootbox">
1252\endhtmlonly
1253## PyROOT
1254Constructor of RooCategory takes a map as an argument also supports python dictionaries.
1255For example, the following code is equivalent in PyROOT:
1256\code{.py}
1257# Default bindings :
1258mixState = ROOT.RooCategory("mixState", "B0/B0bar mixing state")
1259mixState.defineType("mixed", -1)
1260mixState.defineType("unmixed", 1)
1261
1262# With pythonization :
1263mixState = ROOT.RooCategory("mixState", "B0/B0bar mixing state", {"mixed" : -1, "unmixed" : 1})
1264\endcode
1265\htmlonly
1266</div>
1267\endhtmlonly
1268
1269\fn RooCategory(const char* name, const char* title, const std::map<std::string, int>& allowedStates)
1270\brief \parblock \endparblock
1271\htmlonly
1272<div class="pyrootbox">
1273\endhtmlonly
1274## PyROOT
1275The RooCategory constructor is pythonized for converting python dict to std::map.
1276The instances in the dict must correspond to the template argument in std::map of the constructor.
1277\htmlonly
1278</div>
1279\endhtmlonly
1280
1281\class RooChi2Var
1282\brief \parblock \endparblock
1283\htmlonly
1284<div class="pyrootbox">
1285\endhtmlonly
1286## PyROOT
1287Constructor of RooChi2Var takes a RooCmdArg as argument also supports keyword arguments.
1288\htmlonly
1289</div>
1290\endhtmlonly
1291
1292\fn RooChi2Var(const char* name, const char* title, RooAbsReal& func, RooDataHist& data, const RooCmdArg& arg1, const RooCmdArg& arg2,const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5,const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8,const RooCmdArg& arg9)
1293\brief \parblock \endparblock
1294\htmlonly
1295<div class="pyrootbox">
1296\endhtmlonly
1297## PyROOT
1298The RooCategory constructor is pythonized for converting python dict to std::map.
1299The keywords must correspond to the CmdArg of the constructor function.
1300\htmlonly
1301</div>
1302\endhtmlonly
1303
1304\fn RooChi2Var(const char* name, const char* title, RooAbsPdf& pdf, RooDataHist& data, const RooCmdArg& arg1, const RooCmdArg& arg2,const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5,const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8,const RooCmdArg& arg9)
1305\brief \parblock \endparblock
1306\htmlonly
1307<div class="pyrootbox">
1308\endhtmlonly
1309## PyROOT
1310The RooCategory constructor is pythonized for converting python dict to std::map.
1311The keywords must correspond to the CmdArg of the constructor function.
1312\htmlonly
1313</div>
1314\endhtmlonly
1315
1316\class RooDataHist
1317\brief \parblock \endparblock
1318\htmlonly
1319<div class="pyrootbox">
1320\endhtmlonly
1321## PyROOT
1322Constructor of RooDataHist takes a RooCmdArg as argument also supports keyword arguments.
1323For example, the following code is equivalent in PyROOT:
1324\code{.py}
1325# Directly passing a RooCmdArg:
1326dh = ROOT.RooDataHist("dh", "dh", ROOT.RooArgList(x), ROOT.RooFit.Import("SampleA", histo))
1327
1328# With keyword arguments:
1329dh = ROOT.RooDataHist("dh", "dh", ROOT.RooArgList(x), Import=("SampleA", histo))
1330\endcode
1331\htmlonly
1332</div>
1333\endhtmlonly
1334
1335\fn RooDataHist(std::string_view name, std::string_view title, const RooArgList& vars, RooCategory& indexCat, std::map<std::string,TH1*> histMap, Double_t initWgt)
1336\brief \parblock \endparblock
1337\htmlonly
1338<div class="pyrootbox">
1339\endhtmlonly
1340## PyROOT
1341The RooDataHist constructor is pythonized with the command argument pythonization and for converting python dict to std::map.
1342The keywords must correspond to the CmdArg of the constructor function.
1343The instances in dict must correspond to the template argument in std::map of the constructor.
1344\htmlonly
1345</div>
1346\endhtmlonly
1347
1348\fn RooDataHist(std::string_view name, std::string_view title, const RooArgList& vars, RooCategory& indexCat, std::map<std::string,RooDataHist*> dhistMap, Double_t wgt)
1349\brief \parblock \endparblock
1350\htmlonly
1351<div class="pyrootbox">
1352\endhtmlonly
1353## PyROOT
1354The RooDataHist constructor is pythonized with the command argument pythonization and for converting python dict to std::map.
1355The keywords must correspond to the CmdArg of the constructor function.
1356The instances in dict must correspond to the template argument in std::map of the constructor.
1357\htmlonly
1358</div>
1359\endhtmlonly
1360
1361\class RooDataSet
1362\brief \parblock \endparblock
1363\htmlonly
1364<div class="pyrootbox">
1365\endhtmlonly
1366## PyROOT
1367Some member functions of RooDataSet that take a RooCmdArg as argument also support keyword arguments.
1368So far, this applies to RooDataSet() constructor and RooDataSet::plotOnXY.
1369For example, the following code is equivalent in PyROOT:
1370\code{.py}
1371# Directly passing a RooCmdArg:
1372dxy = ROOT.RooDataSet("dxy", "dxy", ROOT.RooArgSet(x, y), ROOT.RooFit.StoreError(ROOT.RooArgSet(x, y)))
1373
1374# With keyword arguments:
1375dxy = ROOT.RooDataSet("dxy", "dxy", ROOT.RooArgSet(x, y), StoreError=(ROOT.RooArgSet(x, y)))
1376\endcode
1377\htmlonly
1378</div>
1379\endhtmlonly
1380
1381\fn RooDataSet(std::string_view name, std::string_view title, const RooArgSet& vars, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4,const RooCmdArg& arg5, const RooCmdArg& arg6,const RooCmdArg& arg7,const RooCmdArg& arg8)
1382\brief \parblock \endparblock
1383\htmlonly
1384<div class="pyrootbox">
1385\endhtmlonly
1386## PyROOT
1387The RooDataSet constructor is pythonized with the command argument pythonization.
1388The keywords must correspond to the CmdArgs of the constructor.
1389\htmlonly
1390</div>
1391\endhtmlonly
1392
1393\fn RooDataSet::plotOnXY(RooPlot* frame, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8) const
1394\brief \parblock \endparblock
1395\htmlonly
1396<div class="pyrootbox">
1397\endhtmlonly
1398## PyROOT
1399The RooDataSet::plotOnXY() function is pythonized with the command argument pythonization.
1400The keywords must correspond to the CmdArgs of the function.
1401\htmlonly
1402</div>
1403\endhtmlonly
1404
1405\class RooDecay
1406\brief \parblock \endparblock
1407\htmlonly
1408<div class="pyrootbox">
1409\endhtmlonly
1410## PyROOT
1411Some constructors of classes like RooDecay, RooBDecay, RooBCPGenDecay, RooBCPEffDecay and RooBMixDecay that take an enum
1412DecayType as argument also support keyword arguments.
1413For example, the following code is equivalent in PyROOT:
1414\code{.py}
1415# Directly passing keyword argument with string corresponding to enum value name:
1416decay_tm = ROOT.RooDecay("decay_tm", "decay", dt, tau, tm, ROOT.RooDecay.DoubleSided)
1417
1418# With enum value:
1419decay_tm = ROOT.RooDecay("decay_tm", "decay", dt, tau, tm, type="DoubleSided")
1420\endcode
1421\htmlonly
1422</div>
1423\endhtmlonly
1424
1425\fn RooDecay(const char *name, const char *title, RooRealVar& t, RooAbsReal& tau, const RooResolutionModel& model, DecayType type)
1426\brief \parblock \endparblock
1427\htmlonly
1428<div class="pyrootbox">
1429\endhtmlonly
1430## PyROOT
1431The RooDecay constructor is pythonized with enum values.
1432\htmlonly
1433</div>
1434\endhtmlonly
1435
1436\class RooGenFitStudy
1437\brief \parblock \endparblock
1438\htmlonly
1439<div class="pyrootbox">
1440\endhtmlonly
1441## PyROOT
1442Some member functions of RooGenFitStudy that take a RooCmdArg as argument also support keyword arguments.
1443So far, this applies to RooGenFitStudy::setGenConfig.
1444\htmlonly
1445</div>
1446\endhtmlonly
1447
1448\fn RooGenFitStudy::setGenConfig(const char* pdfName, const char* obsName, const RooCmdArg& arg1, const RooCmdArg& arg2,const RooCmdArg& arg3)
1449\brief \parblock \endparblock
1450\htmlonly
1451<div class="pyrootbox">
1452\endhtmlonly
1453## PyROOT
1454The RooGenFitStudy::setGenConfig() function is pythonized with the command argument pythonization.
1455The keywords must correspond to the CmdArg of the function.
1456\htmlonly
1457</div>
1458\endhtmlonly
1459
1460\fn RooGenFitStudy::setFitConfig(const char* pdfName, const char* obsName, const RooCmdArg& arg1,const RooCmdArg& arg2,const RooCmdArg& arg3)
1461\brief \parblock \endparblock
1462\htmlonly
1463<div class="pyrootbox">
1464\endhtmlonly
1465## PyROOT
1466The RooGenFitStudy::setGenConfig() function is pythonized with the command argument pythonization.
1467The keywords must correspond to the CmdArg of the function.
1468\htmlonly
1469</div>
1470\endhtmlonly
1471
1472\class RooMCStudy
1473\brief \parblock \endparblock
1474\htmlonly
1475<div class="pyrootbox">
1476\endhtmlonly
1477## PyROOT
1478Some member functions of RooMCStudy that take a RooCmdArg as argument also support keyword arguments.
1479So far, this applies to constructor RooMCStudy(), RooMCStudy::plotParamOn, RooMCStudy::plotParam, RooMCStudy::plotNLL, RooMCStudy::plotError and RooMCStudy::plotPull.
1480For example, the following code is equivalent in PyROOT:
1481\code{.py}
1482# Directly passing a RooCmdArg:
1483frame3 = mcstudy.plotPull(mean, ROOT.RooFit.Bins(40), ROOT.RooFit.FitGauss(True))
1484
1485# With keyword arguments:
1486frame3 = mcstudy.plotPull(mean, Bins=40, FitGauss=True)
1487\endcode
1488\htmlonly
1489</div>
1490\endhtmlonly
1491
1492\fn RooMCStudy(const RooAbsPdf& model, const RooArgSet& observables, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
1493\brief \parblock \endparblock
1494\htmlonly
1495<div class="pyrootbox">
1496\endhtmlonly
1497## PyROOT
1498The RooMCStudy constructor is pythonized with the command argument pythonization.
1499The keywords must correspond to the CmdArg of the constructor function.
1500\htmlonly
1501</div>
1502\endhtmlonly
1503
1504\fn RooMCStudy::plotError(const RooRealVar& param, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
1505\brief \parblock \endparblock
1506\htmlonly
1507<div class="pyrootbox">
1508\endhtmlonly
1509## PyROOT
1510The RooMCStudy::plotError() function is pythonized with the command argument pythonization.
1511The keywords must correspond to the CmdArg of the function.
1512\htmlonly
1513</div>
1514\endhtmlonly
1515
1516\fn RooMCStudy::plotNLL(const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
1517\brief \parblock \endparblock
1518\htmlonly
1519<div class="pyrootbox">
1520\endhtmlonly
1521## PyROOT
1522The RooMCStudy::plotNLL() function is pythonized with the command argument pythonization.
1523The keywords must correspond to the CmdArg of the function.
1524\htmlonly
1525</div>
1526\endhtmlonly
1527
1528\fn RooMCStudy::plotParam(const RooRealVar& param, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
1529\brief \parblock \endparblock
1530\htmlonly
1531<div class="pyrootbox">
1532\endhtmlonly
1533## PyROOT
1534The RooMCStudy::plotParam() function is pythonized with the command argument pythonization.
1535The keywords must correspond to the CmdArg of the function.
1536\htmlonly
1537</div>
1538\endhtmlonly
1539
1540\fn RooMCStudy::plotParam(const char* paramName, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
1541\brief \parblock \endparblock
1542\htmlonly
1543<div class="pyrootbox">
1544\endhtmlonly
1545## PyROOT
1546The RooMCStudy::plotParam() function is pythonized with the command argument pythonization.
1547The keywords must correspond to the CmdArg of the function.
1548\htmlonly
1549</div>
1550\endhtmlonly
1551
1552\fn RooMCStudy::plotParamOn(RooPlot* frame, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
1553\brief \parblock \endparblock
1554\htmlonly
1555<div class="pyrootbox">
1556\endhtmlonly
1557## PyROOT
1558The RooMCStudy::plotParamOn() function is pythonized with the command argument pythonization.
1559The keywords must correspond to the CmdArg of the function.
1560\htmlonly
1561</div>
1562\endhtmlonly
1563
1564\fn RooMCStudy::plotPull(const RooRealVar& param, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
1565\brief \parblock \endparblock
1566\htmlonly
1567<div class="pyrootbox">
1568\endhtmlonly
1569## PyROOT
1570The RooMCStudy::plotError() function is pythonized with the command argument pythonization.
1571The keywords must correspond to the CmdArg of the function.
1572\htmlonly
1573</div>
1574\endhtmlonly
1575
1576\class RooMsgService
1577\brief \parblock \endparblock
1578\htmlonly
1579<div class="pyrootbox">
1580\endhtmlonly
1581## PyROOT
1582Some member functions of RooMsgService that take a RooCmdArg as argument also support keyword arguments.
1583So far, this applies to RooMsgService::addStream.
1584For example, the following code is equivalent in PyROOT:
1585\code{.py}
1586# Directly passing a RooCmdArg:
1587ROOT.RooMsgService.instance().addStream(ROOT.RooFit.DEBUG, ROOT.RooFit.Topic(ROOT.RooFit.Tracing), ROOT.RooFit.ClassName("RooGaussian"))
1588
1589# With keyword arguments:
1590ROOT.RooMsgService.instance().addStream(ROOT.RooFit.DEBUG, Topic = ROOT.RooFit.Tracing, ClassName = "RooGaussian")
1591\endcode
1592\htmlonly
1593</div>
1594\endhtmlonly
1595
1596\fn RooMsgService::addStream(RooFit::MsgLevel level, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6)
1597\brief \parblock \endparblock
1598\htmlonly
1599<div class="pyrootbox">
1600\endhtmlonly
1601## PyROOT
1602The RooMsgService::addStream() function is pythonized with the command argument pythonization.
1603The keywords must correspond to the CmdArg of the function.
1604\htmlonly
1605</div>
1606\endhtmlonly
1607
1608\class RooNLLVar
1609\brief \parblock \endparblock
1610\htmlonly
1611<div class="pyrootbox">
1612\endhtmlonly
1613## PyROOT
1614RooNLLVar() constructor takes a RooCmdArg as argument also supports keyword arguments.
1615\htmlonly
1616</div>
1617\endhtmlonly
1618
1619\fn RooNLLVar(const char* name, const char* title, RooAbsPdf& pdf, RooAbsData& data, const RooCmdArg& arg1, const RooCmdArg& arg2,const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5,const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8,const RooCmdArg& arg9)
1620\brief \parblock \endparblock
1621\htmlonly
1622<div class="pyrootbox">
1623\endhtmlonly
1624## PyROOT
1625The RooNLLVar constructor is pythonized with the command argument pythonization.
1626The keywords must correspond to the CmdArg of the constructor function.
1627\htmlonly
1628</div>
1629\endhtmlonly
1630
1631\class RooProdPdf
1632\brief \parblock \endparblock
1633\htmlonly
1634<div class="pyrootbox">
1635\endhtmlonly
1636## PyROOT
1637RooProdPdf() constructor takes a RooCmdArg as argument also supports keyword arguments.
1638For example, the following code is equivalent in PyROOT:
1639\code{.py}
1640# Directly passing a RooCmdArg:
1641model = ROOT.RooProdPdf(
1642 "model", "model", ROOT.RooArgSet(shapePdf), ROOT.RooFit.Conditional(ROOT.RooArgSet(effPdf), ROOT.RooArgSet(cut))
1643 )
1644
1645# With keyword arguments:
1646model = ROOT.RooProdPdf(
1647 "model", "model", ROOT.RooArgSet(shapePdf), Conditional=(ROOT.RooArgSet(effPdf), ROOT.RooArgSet(cut))
1648 )
1649\endcode
1650\htmlonly
1651</div>
1652\endhtmlonly
1653
1654\fn RooProdPdf(const char* name, const char* title, const RooArgSet& fullPdfSet, const RooCmdArg& arg1 , const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
1655\brief \parblock \endparblock
1656\htmlonly
1657<div class="pyrootbox">
1658\endhtmlonly
1659## PyROOT
1660The RooProdPdf constructor is pythonized with the command argument pythonization.
1661The keywords must correspond to the CmdArgs of the constructor.
1662\htmlonly
1663</div>
1664\endhtmlonly
1665
1666\class RooSimultaneous
1667\brief \parblock \endparblock
1668\htmlonly
1669<div class="pyrootbox">
1670\endhtmlonly
1671## PyROOT
1672Some member functions of RooSimultaneous that take a RooCmdArg as argument also support keyword arguments.
1673So far, this applies to RooSimultaneous::plotOn.
1674For example, the following code is equivalent in PyROOT:
1675\code{.py}
1676# Directly passing a RooCmdArg:
1677pdfSim.plotOn(frame, ROOT.RooFit.Slice(sample,"control"), ROOT.RooFit.ProjWData(sampleSet, combData))
1678
1679# With keyword arguments:
1680simPdf.plotOn(frame, Slice=(sample, "control"), ProjWData=(sampleSet, combData))
1681\endcode
1682\htmlonly
1683</div>
1684\endhtmlonly
1685
1686\fn RooSimultaneous(const char *name, const char *title, std::map<std::string,RooAbsPdf*> pdfMap, RooAbsCategoryLValue& inIndexCat)
1687\brief \parblock \endparblock
1688\htmlonly
1689<div class="pyrootbox">
1690\endhtmlonly
1691## PyROOT
1692The RooSimultaneous constructor that takes a map of category names
1693to PDFs is accepting a Python dictionary in Python.
1694\htmlonly
1695</div>
1696\endhtmlonly
1697
1698\fn RooSimultaneous::plotOn(RooPlot* frame, const RooCmdArg& arg1 , const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8, const RooCmdArg& arg9, const RooCmdArg& arg10) const
1699\brief \parblock \endparblock
1700\htmlonly
1701<div class="pyrootbox">
1702\endhtmlonly
1703## PyROOT
1704The RooSimultaneous::plotOn() function is pythonized with the command argument pythonization.
1705The keywords must correspond to the CmdArgs of the function.
1706\htmlonly
1707</div>
1708\endhtmlonly
1709
1710\class RooSimWSTool
1711\brief \parblock \endparblock
1712\htmlonly
1713<div class="pyrootbox">
1714\endhtmlonly
1715## PyROOT
1716Some member functions of RooSimWSTool that take a RooCmdArg as argument also support keyword arguments.
1717So far, this applies to RooSimWSTool::build.
1718For example, the following code is equivalent in PyROOT:
1719\code{.py}
1720# Directly passing a RooCmdArg:
1721sct.build("model_sim2", "model", ROOT.RooFit.SplitParam("p0", "c,d"))
1722
1723# With keyword arguments:
1724sct.build("model_sim2", "model", SplitParam=("p0", "c,d"))
1725\endcode
1726\htmlonly
1727</div>
1728\endhtmlonly
1729
1730\fn RooSimWSTool::build(const char* simPdfName, const char* protoPdfName, const RooCmdArg& arg1,const RooCmdArg& arg2, const RooCmdArg& arg3,const RooCmdArg& arg4, const RooCmdArg& arg5,const RooCmdArg& arg6)
1731\brief \parblock \endparblock
1732\htmlonly
1733<div class="pyrootbox">
1734\endhtmlonly
1735## PyROOT
1736The RooSimWSTool::build() function is pythonized with the command argument pythonization.
1737The keywords must correspond to the CmdArgs of the function.
1738\htmlonly
1739</div>
1740\endhtmlonly
1741
1742\class RooWorkspace
1743\brief \parblock \endparblock
1744\htmlonly
1745<div class="pyrootbox">
1746\endhtmlonly
1747## PyROOT
1748The RooWorkspace::import function can't be used in PyROOT because `import` is a reserved python keyword.
1749For this reason, an alternative with a capitalized name is provided:
1750\code{.py}
1751workspace.Import(x)
1752\endcode
1753\htmlonly
1754</div>
1755\endhtmlonly
1756
1757\fn RooWorkspace::import(const RooAbsArg& arg, const RooCmdArg& arg1,const RooCmdArg& arg2,const RooCmdArg& arg3, const RooCmdArg& arg4,const RooCmdArg& arg5,const RooCmdArg& arg6, const RooCmdArg& arg7,const RooCmdArg& arg8,const RooCmdArg& arg9)
1758\brief \parblock \endparblock
1759\htmlonly
1760<div class="pyrootbox">
1761\endhtmlonly
1762## PyROOT
1763Support the C++ `import()` as `Import()` in python
1764\htmlonly
1765</div>
1766\endhtmlonly
1767
1768\fn RooWorkspace::import(RooAbsData& data, const RooCmdArg& arg1,const RooCmdArg& arg2,const RooCmdArg& arg3, const RooCmdArg& arg4,const RooCmdArg& arg5,const RooCmdArg& arg6, const RooCmdArg& arg7,const RooCmdArg& arg8,const RooCmdArg& arg9)
1769\brief \parblock \endparblock
1770\htmlonly
1771<div class="pyrootbox">
1772\endhtmlonly
1773## PyROOT
1774Support the C++ `import()` as `Import()` in python
1775\htmlonly
1776</div>
1777\endhtmlonly
1778
1779\fn RooWorkspace::import(const char *fileSpec, const RooCmdArg& arg1,const RooCmdArg& arg2,const RooCmdArg& arg3, const RooCmdArg& arg4,const RooCmdArg& arg5,const RooCmdArg& arg6, const RooCmdArg& arg7,const RooCmdArg& arg8,const RooCmdArg& arg9)
1780\brief \parblock \endparblock
1781\htmlonly
1782<div class="pyrootbox">
1783\endhtmlonly
1784## PyROOT
1785Support the C++ `import()` as `Import()` in python
1786\htmlonly
1787</div>
1788\endhtmlonly
1789
1790\fn RooWorkspace::import(const RooAbsArg& arg, const RooCmdArg& arg1,const RooCmdArg& arg2,const RooCmdArg& arg3, const RooCmdArg& arg4,const RooCmdArg& arg5,const RooCmdArg& arg6, const RooCmdArg& arg7,const RooCmdArg& arg8,const RooCmdArg& arg9)
1791\brief \parblock \endparblock
1792\htmlonly
1793<div class="pyrootbox">
1794\endhtmlonly
1795## PyROOT
1796The RooWorkspace constructor is pythonized with the command argument pythonization.
1797The keywords must correspond to the CmdArgs of the constructor.
1798\htmlonly
1799</div>
1800\endhtmlonly
1801
1802\fn RooFit::DataError(Int_t)
1803\brief \parblock \endparblock
1804\htmlonly
1805<div class="pyrootbox">
1806\endhtmlonly
1807## PyROOT
1808Instead of passing an enum value to this function, you can pass a
1809string with the name of that enum value, for example:
1810
1811~~~ {.py}
1812 data.plotOn(frame, DataError="SumW2")
1813 # instead of DataError=ROOT.RooAbsData.SumW2
1814~~~
1815
1816If you want to use the `"None"` enum value to disable error plotting, you
1817can also pass `None` directly instead of passing a string:
1818
1819~~~ {.py}
1820 data.plotOn(frame, DataError=None)
1821 # instead of DataError="None"
1822~~~
1823\htmlonly
1824</div>
1825\endhtmlonly
1826
1827\fn RooFit::FitOptions(const RooCmdArg& arg1, const RooCmdArg& arg2,const RooCmdArg& arg3,const RooCmdArg& arg4,const RooCmdArg& arg5,const RooCmdArg& arg6)
1828\brief \parblock \endparblock
1829\htmlonly
1830<div class="pyrootbox">
1831\endhtmlonly
1832## PyROOT
1833The FitOptions() function is pythonized with the command argument pythonization.
1834The keywords must correspond to the CmdArg of the function.
1835\htmlonly
1836</div>
1837\endhtmlonly
1838
1839\fn RooFit::Format(const char* what, const RooCmdArg& arg1, const RooCmdArg& arg2,const RooCmdArg& arg3,const RooCmdArg& arg4,const RooCmdArg& arg5,const RooCmdArg& arg6,const RooCmdArg& arg7,const RooCmdArg& arg8)
1840\brief \parblock \endparblock
1841\htmlonly
1842<div class="pyrootbox">
1843\endhtmlonly
1844## PyROOT
1845The Format() function is pythonized with the command argument pythonization.
1846The keywords must correspond to the CmdArg of the function.
1847\htmlonly
1848</div>
1849\endhtmlonly
1850
1851\fn RooFit::Frame(const RooCmdArg& arg1, const RooCmdArg& arg2,const RooCmdArg& arg3, const RooCmdArg& arg4,const RooCmdArg& arg5, const RooCmdArg& arg6)
1852\brief \parblock \endparblock
1853\htmlonly
1854<div class="pyrootbox">
1855\endhtmlonly
1856## PyROOT
1857The Frame() function is pythonized with the command argument pythonization.
1858The keywords must correspond to the CmdArg of the function.
1859\htmlonly
1860</div>
1861\endhtmlonly
1862
1863\fn RooFit::MultiArg(const RooCmdArg& arg1, const RooCmdArg& arg2,const RooCmdArg& arg3,const RooCmdArg& arg4,const RooCmdArg& arg5,const RooCmdArg& arg6,const RooCmdArg& arg7,const RooCmdArg& arg8)
1864\brief \parblock \endparblock
1865\htmlonly
1866<div class="pyrootbox">
1867\endhtmlonly
1868## PyROOT
1869The MultiArg() function is pythonized with the command argument pythonization.
1870The keywords must correspond to the CmdArg of the function.
1871\htmlonly
1872</div>
1873\endhtmlonly
1874
1875\fn RooFit::YVar(const RooAbsRealLValue& var, const RooCmdArg& arg)
1876\brief \parblock \endparblock
1877\htmlonly
1878<div class="pyrootbox">
1879\endhtmlonly
1880## PyROOT
1881The YVar() function is pythonized with the command argument pythonization.
1882The keywords must correspond to the CmdArg of the function.
1883\htmlonly
1884</div>
1885\endhtmlonly
1886
1887\fn RooFit::ZVar(const RooAbsRealLValue& var, const RooCmdArg& arg)
1888\brief \parblock \endparblock
1889\htmlonly
1890<div class="pyrootbox">
1891\endhtmlonly
1892## PyROOT
1893The ZVar() function is pythonized with the command argument pythonization.
1894The keywords must correspond to the CmdArg of the function.
1895\htmlonly
1896</div>
1897\endhtmlonly
1898
1899\fn RooFit::Slice(std::map<RooCategory*, std::string> const&)
1900\brief \parblock \endparblock
1901\htmlonly
1902<div class="pyrootbox">
1903\endhtmlonly
1904## PyROOT
1905The Slice function is pythonized for converting python dict to std::map.
1906The keywords must correspond to the CmdArg of the function.
1907The instances in the dict must correspond to the template argument in std::map of the function.
1908\htmlonly
1909</div>
1910\endhtmlonly
1911
1912\fn RooFit::Import(const std::map<std::string,RooDataSet*>& )
1913\brief \parblock \endparblock
1914\htmlonly
1915<div class="pyrootbox">
1916\endhtmlonly
1917## PyROOT
1918The Import function is pythonized for converting python dict to std::map.
1919The keywords must correspond to the CmdArg of the function.
1920The instances in the dict must correspond to the template argument in std::map of the function.
1921\htmlonly
1922</div>
1923\endhtmlonly
1924
1925\fn RooFit::Import(const std::map<std::string,TH1*>&)
1926\brief \parblock \endparblock
1927\htmlonly
1928<div class="pyrootbox">
1929\endhtmlonly
1930## PyROOT
1931The Import function is pythonized for converting python dict to std::map.
1932The keywords must correspond to the CmdArg of the function.
1933The instances in the dict must correspond to the template argument in std::map of the function.
1934\htmlonly
1935</div>
1936\endhtmlonly
1937
1938\fn RooFit::Import(const std::map<std::string,RooDataHist*>&)
1939\brief \parblock \endparblock
1940\htmlonly
1941<div class="pyrootbox">
1942\endhtmlonly
1943## PyROOT
1944The Import function is pythonized for converting python dict to std::map.
1945The keywords must correspond to the CmdArg of the function.
1946The instances in the dict must correspond to the template argument in std::map of the function.
1947\htmlonly
1948</div>
1949\endhtmlonly
1950
1951\fn RooFit::Link(const std::map<std::string,RooAbsData*>&)
1952\brief \parblock \endparblock
1953\htmlonly
1954<div class="pyrootbox">
1955\endhtmlonly
1956## PyROOT
1957The Link function is pythonized for converting python dict to std::map.
1958The keywords must correspond to the CmdArg of the function.
1959The instances in the dict must correspond to the template argument in std::map of the function.
1960\htmlonly
1961</div>
1962\endhtmlonly
1963
1964\fn RooFit::LineColor(Color_t color)
1965\brief \parblock \endparblock
1966\htmlonly
1967<div class="pyrootbox">
1968\endhtmlonly
1969## PyROOT
1970The `color` argument doesn't necessarily have to be a ROOT color enum value, like `ROOT.kRed`.
1971Here is what you can also do in PyROOT:
1972
1973 1. Pass a string with the enum value name instead, e.g.:
1974~~~ {.py}
1975pdf.plotOn(frame, LineColor="kRed")
1976~~~
1977 2. Pass a string with the corresponding single-character color code following the matplotlib convention:
1978~~~ {.py}
1979pdf.plotOn(frame, LineColor="r")
1980~~~
1981 3. Pass a string with the enum value name instead followed by some manipulation of the enum value:
1982~~~ {.py}
1983pdf.plotOn(frame, LineColor="kRed+1")
1984~~~
1985\htmlonly
1986</div>
1987\endhtmlonly
1988
1989\fn RooFit::FillColor(Color_t color)
1990\brief \parblock \endparblock
1991\htmlonly
1992<div class="pyrootbox">
1993\endhtmlonly
1994## PyROOT
1995The `color` argument doesn't necessarily have to be a ROOT color enum value, like `ROOT.kRed`.
1996Here is what you can also do in PyROOT:
1997
1998 1. Pass a string with the enum value name instead, e.g.:
1999~~~ {.py}
2000pdf.plotOn(frame, LineColor="kRed")
2001~~~
2002 2. Pass a string with the corresponding single-character color code following the matplotlib convention:
2003~~~ {.py}
2004pdf.plotOn(frame, LineColor="r")
2005~~~
2006 3. Pass a string with the enum value name instead followed by some manipulation of the enum value:
2007~~~ {.py}
2008pdf.plotOn(frame, LineColor="kRed+1")
2009~~~
2010\htmlonly
2011</div>
2012\endhtmlonly
2013
2014\fn RooFit::MarkerColor(Color_t color)
2015\brief \parblock \endparblock
2016\htmlonly
2017<div class="pyrootbox">
2018\endhtmlonly
2019## PyROOT
2020The `color` argument doesn't necessarily have to be a ROOT color enum value, like `ROOT.kRed`.
2021Here is what you can also do in PyROOT:
2022
2023 1. Pass a string with the enum value name instead, e.g.:
2024~~~ {.py}
2025pdf.plotOn(frame, LineColor="kRed")
2026~~~
2027 2. Pass a string with the corresponding single-character color code following the matplotlib convention:
2028~~~ {.py}
2029pdf.plotOn(frame, LineColor="r")
2030~~~
2031 3. Pass a string with the enum value name instead followed by some manipulation of the enum value:
2032~~~ {.py}
2033pdf.plotOn(frame, LineColor="kRed+1")
2034~~~
2035\htmlonly
2036</div>
2037\endhtmlonly
2038
2039*/