Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
_rooglobalfunc.pyzdoc
Go to the documentation of this file.
1/**
2\class RooGlobalFunc
3\brief \parblock \endparblock
4\htmlonly
5<div class="pyrootbox">
6\endhtmlonly
7
8## PyROOT
9
10Some member functions of RooGlobalFunc that take a RooCmdArg as argument also support keyword arguments.
11So far, this applies to FitOptions, Format, Frame, MultiArg, YVar and ZVar.
12\code{.py}
13# Directly passing a RooCmdArg:
14ROOT.RooMCStudy(model, ROOT.RooArgSet(x), ROOT.RooFit.FitOptions=(ROOT.RooFit.Save(True), ROOT.RooFit.PrintEvalErrors(0)))
15
16# With keyword arguments:
17ROOT.RooMCStudy(model, ROOT.RooArgSet(x), FitOptions=dict(Save=True, PrintEvalErrors=0))
18\endcode
19
20\htmlonly
21</div>
22\endhtmlonly
23*/