Logo ROOT  
Reference Guide
RooGlobalFunc.h
Go to the documentation of this file.
1/*****************************************************************************
2 * Project: RooFit *
3 * Package: RooFitCore *
4 * File: $Id: RooGlobalFunc.h,v 1.14 2007/07/16 21:04:28 wouter Exp $
5 * Authors: *
6 * WV, Wouter Verkerke, UC Santa Barbara, verkerke@slac.stanford.edu *
7 * DK, David Kirkby, UC Irvine, dkirkby@uci.edu *
8 * *
9 * Copyright (c) 2000-2005, Regents of the University of California *
10 * and Stanford University. All rights reserved. *
11 * *
12 * Redistribution and use in source and binary forms, *
13 * with or without modification, are permitted according to the terms *
14 * listed in LICENSE (http://roofit.sourceforge.net/license.txt) *
15 *****************************************************************************/
16#ifndef ROO_GLOBAL_FUNC
17#define ROO_GLOBAL_FUNC
18
19#include "RooCmdArg.h"
20#include "RooArgSet.h"
21
22#include "ROOT/RConfig.hxx"
23
24#include <map>
25#include <string>
26
27class RooDataHist ;
28class RooDataSet ;
29class RooFitResult ;
30class RooAbsPdf ;
31class RooAbsRealLValue ;
32class RooRealConstant ;
33class RooMsgService ;
34class RooFormulaVar ;
35class RooAbsData ;
36class RooCategory ;
37class RooAbsReal ;
38class RooAbsBinning ;
39class RooAbsCollection ;
40class RooAbsPdf ;
41class RooConstVar ;
42class RooRealVar ;
43class RooAbsCategory ;
44class RooNumIntConfig ;
45class RooArgList ;
46class RooAbsCollection ;
47class TH1 ;
48class TTree ;
49
50/*! \namespace RooFit
51The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs
52(or other types of arguments).
53
54These switches are documented with the relevant functions, e.g. RooAbsPdf::fitTo().
55For an introduction to RooFit (not the namespace), check the [user's guides](https://root.cern.ch/root-user-guides-and-manuals),
56[courses](https://root.cern.ch/courses) or [the RooFit chapter of the Manual](https://root.cern/manual/roofit/).
57*/
58namespace RooFit {
59
60/// Verbosity level for RooMsgService::StreamConfig in RooMsgService
61enum MsgLevel { DEBUG=0, INFO=1, PROGRESS=2, WARNING=3, ERROR=4, FATAL=5 } ;
62/// Topics for a RooMsgService::StreamConfig in RooMsgService
65 Contents=4096, DataHandling=8192, NumIntegration=16384, FastEvaluations=1<<15, HistFactory=1<<16, IO=1<<17 };
67
68/// For setting the batch mode flag with the BatchMode() command argument to
69/// RooAbsPdf::fitTo();
70enum class BatchModeOption { Off, Cpu, Cuda, Old };
71
72/**
73 * \defgroup CmdArgs RooFit command arguments
74 * These arguments can be passed to functions of RooFit objects.
75 * \ingroup Roofitmain
76 * @{
77 */
78
79/**
80 * \defgroup Plotting Arguments for plotOn functions
81 * @{
82 */
83RooCmdArg DrawOption(const char* opt) ;
84RooCmdArg Normalization(double scaleFactor) ;
85RooCmdArg Slice(const RooArgSet& sliceSet) ;
86RooCmdArg Slice(RooArgSet && sliceSet) ;
87RooCmdArg Slice(RooCategory& cat, const char* label) ;
88RooCmdArg Slice(std::map<RooCategory*, std::string> const&) ;
89RooCmdArg Project(const RooArgSet& projSet) ;
90RooCmdArg Project(RooArgSet && projSet) ;
91RooCmdArg ProjWData(const RooAbsData& projData, bool binData=false) ;
92RooCmdArg ProjWData(const RooArgSet& projSet, const RooAbsData& projData, bool binData=false) ;
93RooCmdArg ProjWData(RooArgSet && projSet, const RooAbsData& projData, bool binData=false) ;
95RooCmdArg Precision(double prec) ;
97RooCmdArg Range(const char* rangeName, bool adjustNorm=true) ;
98RooCmdArg Range(double lo, double hi, bool adjustNorm=true) ;
99RooCmdArg NormRange(const char* rangeNameList) ;
106RooCmdArg ProjectionRange(const char* rangeName) ;
107RooCmdArg Name(const char* name) ;
108RooCmdArg Invisible(bool inv=true) ;
109RooCmdArg AddTo(const char* name, double wgtSel=1.0, double wgtOther=1.0) ;
112RooCmdArg VisualizeError(const RooDataSet& paramData, double Z=1) ;
113RooCmdArg VisualizeError(const RooFitResult& fitres, double Z=1, bool linearMethod=true) ;
114RooCmdArg VisualizeError(const RooFitResult& fitres, const RooArgSet& param, double Z=1, bool linearMethod=true) ;
115RooCmdArg VisualizeError(const RooFitResult& fitres, RooArgSet && param, double Z=1, bool linearMethod=true) ;
117
118// RooAbsPdf::plotOn arguments
119RooCmdArg Normalization(double scaleFactor, Int_t scaleType) ;
120template<class... Args_t>
121RooCmdArg Components(Args_t &&... argsOrArgSet) {
122 return RooCmdArg("SelectCompSet",0,0,0,0,0,0,
123 &RooCmdArg::take(RooArgSet{std::forward<Args_t>(argsOrArgSet)...}), 0);
124}
125RooCmdArg Components(const char* compSpec) ;
126
127// RooAbsData::plotOn arguments
128RooCmdArg Cut(const char* cutSpec) ;
129RooCmdArg Cut(const RooFormulaVar& cutVar) ;
130RooCmdArg Binning(const RooAbsBinning& binning) ;
131RooCmdArg Binning(const char* binningName) ;
132RooCmdArg Binning(int nBins, double xlo=0., double xhi=0.) ;
136RooCmdArg CutRange(const char* rangeName) ;
137RooCmdArg XErrorSize(double width) ;
139RooCmdArg Efficiency(const RooCategory& cat) ;
140RooCmdArg Rescale(double factor) ;
141
142/** @} */
143
144/**
145 * \defgroup ConstructorArgs Arguments for various constructors
146 * @{
147 */
148// RooDataHist::ctor arguments
149RooCmdArg Weight(double wgt) ;
151RooCmdArg Import(const char* state, TH1& histo) ;
152RooCmdArg Import(const std::map<std::string,TH1*>&) ;
153RooCmdArg Import(const char* state, RooDataHist& dhist) ;
154RooCmdArg Import(const std::map<std::string,RooDataHist*>&) ;
155RooCmdArg Import(TH1& histo, bool importDensity=false) ;
156
157// RooDataSet::ctor arguments
158RooCmdArg WeightVar(const char* name, bool reinterpretAsWeight=false) ;
159RooCmdArg WeightVar(const RooRealVar& arg, bool reinterpretAsWeight=false) ;
160RooCmdArg Import(const char* state, RooDataSet& data) ;
161RooCmdArg Import(const std::map<std::string,RooDataSet*>& ) ;
162RooCmdArg Link(const char* state, RooAbsData& data) ;
163RooCmdArg Link(const std::map<std::string,RooAbsData*>&) ;
166RooCmdArg ImportFromFile(const char* fname, const char* tname) ;
167RooCmdArg StoreError(const RooArgSet& aset) ;
172
173/** @} */
174
175// RooAbsPdf::printLatex arguments
176RooCmdArg Columns(Int_t ncol) ;
177RooCmdArg OutputFile(const char* fileName) ;
178RooCmdArg Format(const char* format, Int_t sigDigit) ;
179RooCmdArg Format(const char* what, const RooCmdArg& arg1=RooCmdArg::none(), const RooCmdArg& arg2=RooCmdArg::none(),
180 const RooCmdArg& arg3=RooCmdArg::none(),const RooCmdArg& arg4=RooCmdArg::none(),
181 const RooCmdArg& arg5=RooCmdArg::none(),const RooCmdArg& arg6=RooCmdArg::none(),
182 const RooCmdArg& arg7=RooCmdArg::none(),const RooCmdArg& arg8=RooCmdArg::none()) ;
183RooCmdArg Sibling(const RooAbsCollection& sibling) ;
184
185// RooAbsRealLValue::frame arguments
186RooCmdArg Title(const char* name) ;
187RooCmdArg Bins(Int_t nbin) ;
188RooCmdArg AutoSymRange(const RooAbsData& data, double marginFactor=0.1) ;
189RooCmdArg AutoRange(const RooAbsData& data, double marginFactor=0.1) ;
190
191// RooAbsData::createHistogram arguments
192RooCmdArg AutoSymBinning(Int_t nbins=100, double marginFactor=0.1) ;
193RooCmdArg AutoBinning(Int_t nbins=100, double marginFactor=0.1) ;
194
195// RooAbsReal::fillHistogram arguments
198
199// RooAbsData::reduce arguments
200RooCmdArg SelectVars(const RooArgSet& vars) ;
202RooCmdArg EventRange(Int_t nStart, Int_t nStop) ;
203
204
205/**
206 * \defgroup Fitting Arguments for fitting
207 * @{
208 */
209// RooChi2Var::ctor / RooNLLVar arguments
210RooCmdArg Extended(bool flag=true) ;
212RooCmdArg NumCPU(Int_t nCPU, Int_t interleave=0) ;
213
214RooCmdArg BatchMode(std::string const& batchMode="cpu");
215// The const char * overload is necessary, otherwise the compiler will cast a
216// C-Style string to a bool and choose the BatchMode(bool) overload if one
217// calls for example BatchMode("off").
218inline RooCmdArg BatchMode(const char * batchMode) { return BatchMode(std::string(batchMode)); }
219inline RooCmdArg BatchMode(bool batchModeOn) { return BatchMode(batchModeOn ? "cpu" : "off"); }
220
221RooCmdArg IntegrateBins(double precision);
222
223// RooAbsPdf::fitTo arguments
224RooCmdArg PrefitDataFraction(double data_ratio = 0.0) ;
225RooCmdArg Optimize(Int_t flag=2) ;
226
227////////////////////////////////////////////////////////////////////////////////
228/// Create a RooCmdArg to declare conditional observables.
229/// \param[in] argsOrArgSet Can either be one or more RooRealVar with the
230// observables or a single RooArgSet containing them.
231template<class... Args_t>
232RooCmdArg ConditionalObservables(Args_t &&... argsOrArgSet) {
233 return RooCmdArg("ProjectedObservables",0,0,0,0,0,0,
234 &RooCmdArg::take(RooArgSet{std::forward<Args_t>(argsOrArgSet)...}));
235}
236
237// obsolete, for backward compatibility
238template<class... Args_t>
239RooCmdArg ProjectedObservables(Args_t &&... argsOrArgSet) {
240 return ConditionalObservables(std::forward<Args_t>(argsOrArgSet)...);
241}
242
243RooCmdArg Verbose(bool flag=true) ;
244RooCmdArg Save(bool flag=true) ;
245RooCmdArg Timer(bool flag=true) ;
247RooCmdArg Warnings(bool flag=true) ;
249RooCmdArg InitialHesse(bool flag=true) ;
250RooCmdArg Hesse(bool flag=true) ;
251RooCmdArg Minos(bool flag=true) ;
252RooCmdArg Minos(const RooArgSet& minosArgs) ;
253RooCmdArg Minos(RooArgSet && minosArgs) ;
254RooCmdArg SplitRange(bool flag=true) ;
255RooCmdArg SumCoefRange(const char* rangeName) ;
256RooCmdArg Constrain(const RooArgSet& params) ;
257RooCmdArg Constrain(RooArgSet && params) ;
258
259template<class... Args_t>
260RooCmdArg GlobalObservables(Args_t &&... argsOrArgSet) {
261 return RooCmdArg("GlobalObservables",0,0,0,0,0,0,0,0,0,0,
262 &RooCmdArg::take(RooArgSet{std::forward<Args_t>(argsOrArgSet)...}));
263}
264RooCmdArg GlobalObservablesSource(const char* sourceName);
265RooCmdArg GlobalObservablesTag(const char* tagName) ;
266RooCmdArg ExternalConstraints(const RooArgSet& constraintPdfs) ;
267RooCmdArg ExternalConstraints(RooArgSet && constraintPdfs) ;
269RooCmdArg EvalErrorWall(bool flag) ;
270RooCmdArg SumW2Error(bool flag) ;
271RooCmdArg AsymptoticError(bool flag) ;
272RooCmdArg CloneData(bool flag) ;
273RooCmdArg Integrate(bool flag) ;
274RooCmdArg Minimizer(const char* type, const char* alg=0) ;
275RooCmdArg Offset(bool flag=true) ;
277/** @} */
278
279// RooAbsPdf::paramOn arguments
280RooCmdArg Label(const char* str) ;
281RooCmdArg Layout(double xmin, double xmax=0.99, double ymin=0.95) ;
282RooCmdArg Parameters(const RooArgSet& params) ;
283RooCmdArg Parameters(RooArgSet && params) ;
284RooCmdArg ShowConstants(bool flag=true) ;
285
286// RooTreeData::statOn arguments
287RooCmdArg What(const char* str) ;
288
289// RooProdPdf::ctor arguments
290RooCmdArg Conditional(const RooArgSet& pdfSet, const RooArgSet& depSet, bool depsAreCond=false) ;
291RooCmdArg Conditional(RooArgSet && pdfSet, const RooArgSet& depSet, bool depsAreCond=false) ;
292RooCmdArg Conditional(const RooArgSet& pdfSet, RooArgSet && depSet, bool depsAreCond=false) ;
293RooCmdArg Conditional(RooArgSet && pdfSet, RooArgSet && depSet, bool depsAreCond=false) ;
294
295/**
296 * \defgroup Generating Arguments for generating data
297 * @{
298 */
299// RooAbsPdf::generate arguments
300RooCmdArg ProtoData(const RooDataSet& protoData, bool randomizeOrder=false, bool resample=false) ;
301RooCmdArg NumEvents(Int_t numEvents) ;
302RooCmdArg NumEvents(double numEvents) ;
303RooCmdArg AutoBinned(bool flag=true) ;
304RooCmdArg GenBinned(const char* tag) ;
306RooCmdArg ExpectedData(bool flag=true) ;
307RooCmdArg Asimov(bool flag=true) ;
308
309/** @} */
310
311// RooAbsRealLValue::createHistogram arguments
312RooCmdArg YVar(const RooAbsRealLValue& var, const RooCmdArg& arg=RooCmdArg::none()) ;
313RooCmdArg ZVar(const RooAbsRealLValue& var, const RooCmdArg& arg=RooCmdArg::none()) ;
314RooCmdArg AxisLabel(const char* name) ;
315RooCmdArg Scaling(bool flag) ;
316
317
318// RooAbsReal::createHistogram arguments
319RooCmdArg IntrinsicBinning(bool flag=true) ;
320
321// RooAbsReal::createIntegral arguments
322template<class... Args_t>
323RooCmdArg NormSet(Args_t &&... argsOrArgSet) {
324 return RooCmdArg("NormSet",0,0,0,0,0,0,
325 &RooCmdArg::take(RooArgSet{std::forward<Args_t>(argsOrArgSet)...}), 0);
326}
328
329// RooMCStudy::ctor arguments
330RooCmdArg Silence(bool flag=true) ;
332RooCmdArg FitOptions(const RooCmdArg& arg1 ,const RooCmdArg& arg2=RooCmdArg::none(),
333 const RooCmdArg& arg3=RooCmdArg::none(),const RooCmdArg& arg4=RooCmdArg::none(),
334 const RooCmdArg& arg5=RooCmdArg::none(),const RooCmdArg& arg6=RooCmdArg::none()) ;
335RooCmdArg Binned(bool flag=true) ;
336
337// RooMCStudy::plot* arguments
338RooCmdArg Frame(const RooCmdArg& arg1 ,const RooCmdArg& arg2=RooCmdArg::none(),
339 const RooCmdArg& arg3=RooCmdArg::none(),const RooCmdArg& arg4=RooCmdArg::none(),
340 const RooCmdArg& arg5=RooCmdArg::none(),const RooCmdArg& arg6=RooCmdArg::none()) ;
342RooCmdArg FrameRange(double xlo, double xhi) ;
343RooCmdArg FitGauss(bool flag=true) ;
344
345// RooRealVar::format arguments
346RooCmdArg AutoPrecision(Int_t ndigit=2) ;
348RooCmdArg TLatexStyle(bool flag=true) ;
349RooCmdArg LatexStyle(bool flag=true) ;
350RooCmdArg LatexTableStyle(bool flag=true) ;
351RooCmdArg VerbatimName(bool flag=true) ;
352
353// RooMsgService::addReportingStream arguments
354RooCmdArg Topic(Int_t topic) ;
355RooCmdArg ObjectName(const char* name) ;
356RooCmdArg ClassName(const char* name) ;
357RooCmdArg BaseClassName(const char* name) ;
358RooCmdArg TagName(const char* name) ;
359RooCmdArg OutputStream(std::ostream& os) ;
360RooCmdArg Prefix(bool flag) ;
361RooCmdArg Color(Color_t color) ;
362
363// RooWorkspace::import() arguments
364RooCmdArg RenameConflictNodes(const char* suffix, bool renameOrigNodes=false) ;
365RooCmdArg RenameAllNodes(const char* suffix) ;
366RooCmdArg RenameAllVariables(const char* suffix) ;
367RooCmdArg RenameAllVariablesExcept(const char* suffix,const char* exceptionList) ;
368RooCmdArg RenameVariable(const char* inputName, const char* outputName) ;
369RooCmdArg Rename(const char* suffix) ;
370RooCmdArg RecycleConflictNodes(bool flag=true) ;
371RooCmdArg Embedded(bool flag=true) ;
372RooCmdArg NoRecursion(bool flag=true) ;
373
374// RooSimCloneTool::build() arguments
375RooCmdArg SplitParam(const char* varname, const char* catname) ;
376RooCmdArg SplitParam(const RooRealVar& var, const RooAbsCategory& cat) ;
377RooCmdArg SplitParamConstrained(const char* varname, const char* catname, const char* rsname) ;
378RooCmdArg SplitParamConstrained(const RooRealVar& var, const RooAbsCategory& cat, const char* rsname) ;
379RooCmdArg Restrict(const char* catName, const char* stateNameList) ;
380
381// RooAbsPdf::createCdf() arguments
382RooCmdArg SupNormSet(const RooArgSet& nset) ;
384RooCmdArg ScanParameters(Int_t nbins,Int_t intOrder) ;
388
389// Generic container arguments (to be able to supply more command line arguments)
390RooCmdArg MultiArg(const RooCmdArg& arg1, const RooCmdArg& arg2,
391 const RooCmdArg& arg3=RooCmdArg::none(),const RooCmdArg& arg4=RooCmdArg::none(),
392 const RooCmdArg& arg5=RooCmdArg::none(),const RooCmdArg& arg6=RooCmdArg::none(),
393 const RooCmdArg& arg7=RooCmdArg::none(),const RooCmdArg& arg8=RooCmdArg::none()) ;
394
395RooConstVar& RooConst(double val) ;
396
397// End group CmdArgs:
398/**
399 * @}
400 */
401}
402
403namespace RooFitShortHand {
404
405RooConstVar& C(double value);
406
407} // namespace RooFitShortHand
408
409#endif
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
short Style_t
Definition: RtypesCore.h:89
short Color_t
Definition: RtypesCore.h:92
float Size_t
Definition: RtypesCore.h:96
short Width_t
Definition: RtypesCore.h:91
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 value
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 Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t format
Option_t Option_t width
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 Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
Option_t Option_t style
char name[80]
Definition: TGX11.cxx:110
float xmin
Definition: THbookFile.cxx:95
#define hi
Definition: THbookFile.cxx:128
float ymin
Definition: THbookFile.cxx:95
float xmax
Definition: THbookFile.cxx:95
RooAbsBinning is the abstract base class for RooRealVar binning definitions.
Definition: RooAbsBinning.h:26
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.
Definition: RooAbsData.h:62
RooAbsRealLValue is the common abstract base class for objects that represent a real value that may a...
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Definition: RooAbsReal.h:64
RooArgList is a container object that can hold multiple RooAbsArg objects.
Definition: RooArgList.h:22
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Definition: RooArgSet.h:57
RooCategory is an object to represent discrete states.
Definition: RooCategory.h:28
RooCmdArg is a named container for two doubles, two integers two object points and three string point...
Definition: RooCmdArg.h:26
static T const & take(T &&obj)
Definition: RooCmdArg.h:108
static const RooCmdArg & none()
Return reference to null argument.
Definition: RooCmdArg.cxx:51
RooConstVar represent a constant real-valued object.
Definition: RooConstVar.h:26
The RooDataHist is a container class to hold N-dimensional binned data.
Definition: RooDataHist.h:45
RooDataSet is a container class to hold unbinned data.
Definition: RooDataSet.h:55
RooFitResult is a container class to hold the input and output of a PDF fit to a dataset.
Definition: RooFitResult.h:40
A RooFormulaVar is a generic implementation of a real-valued object, which takes a RooArgList of serv...
Definition: RooFormulaVar.h:30
The class RooMsgService is a singleton that organizes messages generated in RooFit.
RooNumIntConfig holds the configuration parameters of the various numeric integrators used by RooReal...
RooRealConstant provides static functions to create and keep track of RooRealVar constants.
RooRealVar represents a variable that can be changed from the outside.
Definition: RooRealVar.h:40
TH1 is the base class of all histogram classes in ROOT.
Definition: TH1.h:58
A TTree represents a columnar dataset.
Definition: TTree.h:79
RooCmdArg RecycleConflictNodes(bool flag=true)
RooCmdArg ScanNoCdf()
RooCmdArg AutoRange(const RooAbsData &data, double marginFactor=0.1)
RooCmdArg YVar(const RooAbsRealLValue &var, const RooCmdArg &arg=RooCmdArg::none())
RooCmdArg FitGauss(bool flag=true)
RooCmdArg FrameBins(Int_t nbins)
RooCmdArg ClassName(const char *name)
RooCmdArg FitModel(RooAbsPdf &pdf)
RooCmdArg LatexStyle(bool flag=true)
RooCmdArg VerbatimName(bool flag=true)
RooCmdArg IntegratedObservables(const RooArgSet &intObs)
RooCmdArg OutputStream(std::ostream &os)
RooCmdArg Topic(Int_t topic)
RooCmdArg Parameters(const RooArgSet &params)
RooCmdArg NumIntConfig(const RooNumIntConfig &cfg)
RooCmdArg ScanParameters(Int_t nbins, Int_t intOrder)
RooCmdArg Label(const char *str)
RooCmdArg ZVar(const RooAbsRealLValue &var, const RooCmdArg &arg=RooCmdArg::none())
RooCmdArg FitOptions(const RooCmdArg &arg1, const RooCmdArg &arg2=RooCmdArg::none(), const RooCmdArg &arg3=RooCmdArg::none(), const RooCmdArg &arg4=RooCmdArg::none(), const RooCmdArg &arg5=RooCmdArg::none(), const RooCmdArg &arg6=RooCmdArg::none())
RooCmdArg TagName(const char *name)
RooCmdArg BaseClassName(const char *name)
RooCmdArg IntrinsicBinning(bool flag=true)
RooCmdArg Restrict(const char *catName, const char *stateNameList)
RooCmdArg TLatexStyle(bool flag=true)
RooCmdArg MultiArg(const RooCmdArg &arg1, const RooCmdArg &arg2, const RooCmdArg &arg3=RooCmdArg::none(), const RooCmdArg &arg4=RooCmdArg::none(), const RooCmdArg &arg5=RooCmdArg::none(), const RooCmdArg &arg6=RooCmdArg::none(), const RooCmdArg &arg7=RooCmdArg::none(), const RooCmdArg &arg8=RooCmdArg::none())
RooCmdArg RenameAllVariables(const char *suffix)
RooCmdArg ShowConstants(bool flag=true)
RooCmdArg RenameVariable(const char *inputName, const char *outputName)
RooCmdArg Color(Color_t color)
RooCmdArg Prefix(bool flag)
RooCmdArg FixedPrecision(Int_t ndigit=2)
RooCmdArg AutoPrecision(Int_t ndigit=2)
RooCmdArg Title(const char *name)
RooCmdArg RenameAllNodes(const char *suffix)
RooCmdArg SplitParam(const char *varname, const char *catname)
RooCmdArg Rename(const char *suffix)
RooCmdArg Format(const char *format, Int_t sigDigit)
RooCmdArg SupNormSet(const RooArgSet &nset)
RooCmdArg SelectVars(const RooArgSet &vars)
RooCmdArg AutoBinning(Int_t nbins=100, double marginFactor=0.1)
RooCmdArg FrameRange(double xlo, double xhi)
RooCmdArg Conditional(const RooArgSet &pdfSet, const RooArgSet &depSet, bool depsAreCond=false)
RooCmdArg LatexTableStyle(bool flag=true)
RooCmdArg RenameAllVariablesExcept(const char *suffix, const char *exceptionList)
RooCmdArg Scaling(bool flag)
RooConstVar & RooConst(double val)
RooCmdArg Columns(Int_t ncol)
RooCmdArg EventRange(Int_t nStart, Int_t nStop)
RooCmdArg ScanAllCdf()
RooCmdArg Frame(const RooCmdArg &arg1, const RooCmdArg &arg2=RooCmdArg::none(), const RooCmdArg &arg3=RooCmdArg::none(), const RooCmdArg &arg4=RooCmdArg::none(), const RooCmdArg &arg5=RooCmdArg::none(), const RooCmdArg &arg6=RooCmdArg::none())
RooCmdArg ObjectName(const char *name)
RooCmdArg Silence(bool flag=true)
RooCmdArg NoRecursion(bool flag=true)
RooCmdArg AxisLabel(const char *name)
RooCmdArg Sibling(const RooAbsCollection &sibling)
RooCmdArg Binned(bool flag=true)
RooCmdArg NormSet(Args_t &&... argsOrArgSet)
RooCmdArg SplitParamConstrained(const char *varname, const char *catname, const char *rsname)
RooCmdArg What(const char *str)
RooCmdArg RenameConflictNodes(const char *suffix, bool renameOrigNodes=false)
RooCmdArg AutoSymRange(const RooAbsData &data, double marginFactor=0.1)
RooCmdArg ScanNumCdf()
RooCmdArg Bins(Int_t nbin)
RooCmdArg Embedded(bool flag=true)
RooCmdArg OutputFile(const char *fileName)
RooCmdArg AutoSymBinning(Int_t nbins=100, double marginFactor=0.1)
RooCmdArg Layout(double xmin, double xmax=0.99, double ymin=0.95)
RooCmdArg OwnLinked()
RooCmdArg ImportFromFile(const char *fname, const char *tname)
RooCmdArg StoreAsymError(const RooArgSet &aset)
RooCmdArg Weight(double wgt)
RooCmdArg Index(RooCategory &icat)
RooCmdArg StoreError(const RooArgSet &aset)
RooCmdArg Link(const char *state, RooAbsData &data)
RooCmdArg Import(const char *state, TH1 &histo)
RooCmdArg WeightVar(const char *name, bool reinterpretAsWeight=false)
RooCmdArg InitialHesse(bool flag=true)
RooCmdArg IntegrateBins(double precision)
Integrate the PDF over bins. Improves accuracy for binned fits. Switch off using 0....
RooCmdArg ProjectedObservables(Args_t &&... argsOrArgSet)
RooCmdArg SplitRange(bool flag=true)
RooCmdArg AsymptoticError(bool flag)
RooCmdArg PrefitDataFraction(double data_ratio=0.0)
RooCmdArg Constrain(const RooArgSet &params)
RooCmdArg GlobalObservablesTag(const char *tagName)
RooCmdArg Hesse(bool flag=true)
RooCmdArg Strategy(Int_t code)
RooCmdArg Save(bool flag=true)
RooCmdArg Integrate(bool flag)
RooCmdArg SumW2Error(bool flag)
RooCmdArg GlobalObservables(Args_t &&... argsOrArgSet)
RooCmdArg GlobalObservablesSource(const char *sourceName)
RooCmdArg SumCoefRange(const char *rangeName)
RooCmdArg PrintEvalErrors(Int_t numErrors)
RooCmdArg Optimize(Int_t flag=2)
RooCmdArg EvalErrorWall(bool flag)
RooCmdArg Offset(bool flag=true)
RooCmdArg DataError(Int_t)
RooCmdArg Warnings(bool flag=true)
RooCmdArg ExternalConstraints(const RooArgSet &constraintPdfs)
RooCmdArg Minos(bool flag=true)
RooCmdArg PrintLevel(Int_t code)
RooCmdArg NumCPU(Int_t nCPU, Int_t interleave=0)
RooCmdArg CloneData(bool flag)
RooCmdArg Timer(bool flag=true)
RooCmdArg RecoverFromUndefinedRegions(double strength)
When parameters are chosen such that a PDF is undefined, try to indicate to the minimiser how to leav...
RooCmdArg Verbose(bool flag=true)
RooCmdArg BatchMode(std::string const &batchMode="cpu")
RooCmdArg ConditionalObservables(Args_t &&... argsOrArgSet)
Create a RooCmdArg to declare conditional observables.
RooCmdArg Minimizer(const char *type, const char *alg=0)
RooCmdArg Extended(bool flag=true)
RooCmdArg ProtoData(const RooDataSet &protoData, bool randomizeOrder=false, bool resample=false)
RooCmdArg AllBinned()
RooCmdArg AutoBinned(bool flag=true)
RooCmdArg Asimov(bool flag=true)
RooCmdArg NumEvents(Int_t numEvents)
RooCmdArg GenBinned(const char *tag)
RooCmdArg ExpectedData(bool flag=true)
RooCmdArg MarkerColor(Color_t color)
RooCmdArg RefreshNorm()
RooCmdArg Components(Args_t &&... argsOrArgSet)
RooCmdArg ProjectionRange(const char *rangeName)
RooCmdArg FillColor(Color_t color)
RooCmdArg Binning(const RooAbsBinning &binning)
RooCmdArg ProjWData(const RooAbsData &projData, bool binData=false)
RooCmdArg Precision(double prec)
RooCmdArg EvalErrorValue(double value)
RooCmdArg NormRange(const char *rangeNameList)
RooCmdArg ShowProgress()
RooCmdArg DrawOption(const char *opt)
RooCmdArg Project(const RooArgSet &projSet)
RooCmdArg FillStyle(Style_t style)
RooCmdArg Range(const char *rangeName, bool adjustNorm=true)
RooCmdArg Invisible(bool inv=true)
RooCmdArg MarkerStyle(Style_t style)
RooCmdArg LineWidth(Width_t width)
RooCmdArg Normalization(double scaleFactor)
RooCmdArg VisualizeError(const RooDataSet &paramData, double Z=1)
RooCmdArg ShiftToZero()
RooCmdArg Slice(const RooArgSet &sliceSet)
RooCmdArg AddTo(const char *name, double wgtSel=1.0, double wgtOther=1.0)
RooCmdArg CutRange(const char *rangeName)
RooCmdArg XErrorSize(double width)
RooCmdArg MoveToBack()
RooCmdArg MarkerSize(Size_t size)
RooCmdArg Rescale(double factor)
RooCmdArg Cut(const char *cutSpec)
RooCmdArg Efficiency(const RooCategory &cat)
RooCmdArg LineColor(Color_t color)
RooCmdArg Name(const char *name)
RooCmdArg LineStyle(Style_t style)
RooCmdArg VLines()
RooCmdArg Asymmetry(const RooCategory &cat)
RooConstVar & C(double value)
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
Definition: Common.h:18
MsgLevel
Verbosity level for RooMsgService::StreamConfig in RooMsgService.
Definition: RooGlobalFunc.h:61
@ SimComponents
Definition: RooGlobalFunc.h:66
@ Interleave
Definition: RooGlobalFunc.h:66
@ BulkPartition
Definition: RooGlobalFunc.h:66
BatchModeOption
For setting the batch mode flag with the BatchMode() command argument to RooAbsPdf::fitTo();.
Definition: RooGlobalFunc.h:70
MsgTopic
Topics for a RooMsgService::StreamConfig in RooMsgService.
Definition: RooGlobalFunc.h:63
@ Minimization
Definition: RooGlobalFunc.h:63
@ FastEvaluations
Definition: RooGlobalFunc.h:65
@ Generation
Definition: RooGlobalFunc.h:63
@ NumIntegration
Definition: RooGlobalFunc.h:65
@ Optimization
Definition: RooGlobalFunc.h:64
@ DataHandling
Definition: RooGlobalFunc.h:65
@ HistFactory
Definition: RooGlobalFunc.h:65
@ InputArguments
Definition: RooGlobalFunc.h:64
@ ObjectHandling
Definition: RooGlobalFunc.h:64
@ Integration
Definition: RooGlobalFunc.h:63
@ LinkStateMgmt
Definition: RooGlobalFunc.h:63
Definition: tree.py:1
void inv(rsa_NUMBER *, rsa_NUMBER *, rsa_NUMBER *)
Definition: rsaaux.cxx:949
static const char * what
Definition: stlLoader.cc:6