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 TH1 ;
46class TTree ;
47
48/*! \namespace RooFit
49The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs
50(or other types of arguments).
51
52These switches are documented with the relevant functions, e.g. RooAbsPdf::fitTo().
53For an introduction to RooFit (not the namespace), check the [user's guides](https://root.cern.ch/root-user-guides-and-manuals),
54[courses](https://root.cern.ch/courses) or [the RooFit chapter of the Manual](https://root.cern/manual/roofit/).
55*/
56namespace RooFit {
57
58/// Verbosity level for RooMsgService::StreamConfig in RooMsgService
59enum MsgLevel { DEBUG=0, INFO=1, PROGRESS=2, WARNING=3, ERROR=4, FATAL=5 } ;
60/// Topics for a RooMsgService::StreamConfig in RooMsgService
63 Contents=4096, DataHandling=8192, NumIntegration=16384, FastEvaluations=1<<15, HistFactory=1<<16, IO=1<<17 };
65
66/// For setting the batch mode flag with the BatchMode() command argument to
67/// RooAbsPdf::fitTo();
68enum class BatchModeOption { Off, Cpu, Cuda, Old };
69
70/**
71 * \defgroup CmdArgs RooFit command arguments
72 * These arguments can be passed to functions of RooFit objects.
73 * \ingroup Roofitmain
74 * @{
75 */
76
77/**
78 * \defgroup Plotting Arguments for plotOn functions
79 * @{
80 */
81RooCmdArg DrawOption(const char* opt) ;
82RooCmdArg Normalization(double scaleFactor) ;
83RooCmdArg Slice(const RooArgSet& sliceSet) ;
84RooCmdArg Slice(RooCategory& cat, const char* label) ;
85RooCmdArg Slice(std::map<RooCategory*, std::string> const&) ;
86RooCmdArg Project(const RooArgSet& projSet) ;
87RooCmdArg ProjWData(const RooAbsData& projData, bool binData=false) ;
88RooCmdArg ProjWData(const RooArgSet& projSet, const RooAbsData& projData, bool binData=false) ;
90RooCmdArg Precision(double prec) ;
92RooCmdArg Range(const char* rangeName, bool adjustNorm=true) ;
93RooCmdArg Range(double lo, double hi, bool adjustNorm=true) ;
94RooCmdArg NormRange(const char* rangeNameList) ;
101RooCmdArg ProjectionRange(const char* rangeName) ;
102RooCmdArg Name(const char* name) ;
103RooCmdArg Invisible(bool inv=true) ;
104RooCmdArg AddTo(const char* name, double wgtSel=1.0, double wgtOther=1.0) ;
107RooCmdArg VisualizeError(const RooDataSet& paramData, double Z=1) ;
108RooCmdArg VisualizeError(const RooFitResult& fitres, double Z=1, bool linearMethod=true) ;
109RooCmdArg VisualizeError(const RooFitResult& fitres, const RooArgSet& param, double Z=1, bool linearMethod=true) ;
111
112// RooAbsPdf::plotOn arguments
113RooCmdArg Normalization(double scaleFactor, Int_t scaleType) ;
114template<class... Args_t>
115RooCmdArg Components(Args_t &&... argsOrArgSet) {
116 RooCmdArg out{"SelectCompSet",0};
117 out.setSet(0, RooArgSet{std::forward<Args_t>(argsOrArgSet)...});
118 return out;
119}
120RooCmdArg Components(const char* compSpec) ;
121
122// RooAbsData::plotOn arguments
123RooCmdArg Cut(const char* cutSpec) ;
124RooCmdArg Cut(const RooFormulaVar& cutVar) ;
125RooCmdArg Binning(const RooAbsBinning& binning) ;
126RooCmdArg Binning(const char* binningName) ;
127RooCmdArg Binning(int nBins, double xlo=0.0, double xhi=0.0) ;
131RooCmdArg CutRange(const char* rangeName) ;
132RooCmdArg XErrorSize(double width) ;
134RooCmdArg Efficiency(const RooCategory& cat) ;
135RooCmdArg Rescale(double factor) ;
136
137/** @} */
138
139/**
140 * \defgroup ConstructorArgs Arguments for various constructors
141 * @{
142 */
143// RooDataHist::ctor arguments
144RooCmdArg Weight(double wgt) ;
146RooCmdArg Import(const char* state, TH1& histo) ;
147RooCmdArg Import(const std::map<std::string,TH1*>&) ;
148RooCmdArg Import(const char* state, RooDataHist& dhist) ;
149RooCmdArg Import(const std::map<std::string,RooDataHist*>&) ;
150RooCmdArg Import(TH1& histo, bool importDensity=false) ;
151
152// RooDataSet::ctor arguments
153RooCmdArg WeightVar(const char* name, bool reinterpretAsWeight=false) ;
154RooCmdArg WeightVar(const RooRealVar& arg, bool reinterpretAsWeight=false) ;
155RooCmdArg Import(const char* state, RooDataSet& data) ;
156RooCmdArg Import(const std::map<std::string,RooDataSet*>& ) ;
157RooCmdArg Link(const char* state, RooAbsData& data) ;
158RooCmdArg Link(const std::map<std::string,RooAbsData*>&) ;
161RooCmdArg ImportFromFile(const char* fname, const char* tname) ;
162RooCmdArg StoreError(const RooArgSet& aset) ;
165
166/** @} */
167
168// RooAbsPdf::printLatex arguments
169RooCmdArg Columns(Int_t ncol) ;
170RooCmdArg OutputFile(const char* fileName) ;
171RooCmdArg Format(const char* format, Int_t sigDigit) ;
172RooCmdArg Format(const char* what, const RooCmdArg& arg1=RooCmdArg::none(), const RooCmdArg& arg2=RooCmdArg::none(),
173 const RooCmdArg& arg3=RooCmdArg::none(),const RooCmdArg& arg4=RooCmdArg::none(),
174 const RooCmdArg& arg5=RooCmdArg::none(),const RooCmdArg& arg6=RooCmdArg::none(),
175 const RooCmdArg& arg7=RooCmdArg::none(),const RooCmdArg& arg8=RooCmdArg::none()) ;
176RooCmdArg Sibling(const RooAbsCollection& sibling) ;
177
178// RooAbsRealLValue::frame arguments
179RooCmdArg Title(const char* name) ;
180RooCmdArg Bins(Int_t nbin) ;
181RooCmdArg AutoSymRange(const RooAbsData& data, double marginFactor=0.1) ;
182RooCmdArg AutoRange(const RooAbsData& data, double marginFactor=0.1) ;
183
184// RooAbsData::createHistogram arguments
185RooCmdArg AutoSymBinning(Int_t nbins=100, double marginFactor=0.1) ;
186RooCmdArg AutoBinning(Int_t nbins=100, double marginFactor=0.1) ;
187
188// RooAbsReal::fillHistogram arguments
190
191// RooAbsData::reduce arguments
192RooCmdArg SelectVars(const RooArgSet& vars) ;
193RooCmdArg EventRange(Int_t nStart, Int_t nStop) ;
194
195
196/**
197 * \defgroup Fitting Arguments for fitting
198 * @{
199 */
200// RooChi2Var::ctor / RooNLLVar arguments
201RooCmdArg Extended(bool flag=true) ;
203RooCmdArg NumCPU(Int_t nCPU, Int_t interleave=0) ;
204
205RooCmdArg BatchMode(std::string const& batchMode="cpu");
206// The const char * overload is necessary, otherwise the compiler will cast a
207// C-Style string to a bool and choose the BatchMode(bool) overload if one
208// calls for example BatchMode("off").
209inline RooCmdArg BatchMode(const char * batchMode) { return BatchMode(std::string(batchMode)); }
210inline RooCmdArg BatchMode(bool batchModeOn) { return BatchMode(batchModeOn ? "cpu" : "off"); }
211
212RooCmdArg IntegrateBins(double precision);
213
214// RooAbsPdf::fitTo arguments
215RooCmdArg PrefitDataFraction(double data_ratio = 0.0) ;
216RooCmdArg Optimize(Int_t flag=2) ;
217
218////////////////////////////////////////////////////////////////////////////////
219/// Create a RooCmdArg to declare conditional observables.
220/// \param[in] argsOrArgSet Can either be one or more RooRealVar with the
221// observables or a single RooArgSet containing them.
222template<class... Args_t>
223RooCmdArg ConditionalObservables(Args_t &&... argsOrArgSet) {
224 RooCmdArg out{"ProjectedObservables",0};
225 out.setSet(0, RooArgSet{std::forward<Args_t>(argsOrArgSet)...});
226 return out;
227}
228
229// obsolete, for backward compatibility
230template<class... Args_t>
231RooCmdArg ProjectedObservables(Args_t &&... argsOrArgSet) {
232 return ConditionalObservables(std::forward<Args_t>(argsOrArgSet)...);
233}
234
235RooCmdArg Verbose(bool flag=true) ;
236RooCmdArg Save(bool flag=true) ;
237RooCmdArg Timer(bool flag=true) ;
239RooCmdArg Warnings(bool flag=true) ;
241RooCmdArg InitialHesse(bool flag=true) ;
242RooCmdArg Hesse(bool flag=true) ;
243RooCmdArg Minos(bool flag=true) ;
244RooCmdArg Minos(const RooArgSet& minosArgs) ;
245RooCmdArg SplitRange(bool flag=true) ;
246RooCmdArg SumCoefRange(const char* rangeName) ;
247RooCmdArg Constrain(const RooArgSet& params) ;
248
249template<class... Args_t>
250RooCmdArg GlobalObservables(Args_t &&... argsOrArgSet) {
251 RooCmdArg out{"GlobalObservables",0};
252 out.setSet(0, RooArgSet{std::forward<Args_t>(argsOrArgSet)...});
253 return out;
254}
255RooCmdArg GlobalObservablesSource(const char* sourceName);
256RooCmdArg GlobalObservablesTag(const char* tagName) ;
257RooCmdArg ExternalConstraints(const RooArgSet& constraintPdfs) ;
259RooCmdArg EvalErrorWall(bool flag) ;
260RooCmdArg SumW2Error(bool flag) ;
261RooCmdArg AsymptoticError(bool flag) ;
262RooCmdArg CloneData(bool flag) ;
263RooCmdArg Integrate(bool flag) ;
264RooCmdArg Minimizer(const char* type, const char* alg=nullptr) ;
265RooCmdArg Offset(bool flag=true) ;
267/** @} */
268
269// RooAbsPdf::paramOn arguments
270RooCmdArg Label(const char* str) ;
271RooCmdArg Layout(double xmin, double xmax=0.99, double ymin=0.95) ;
272RooCmdArg Parameters(const RooArgSet& params) ;
273RooCmdArg ShowConstants(bool flag=true) ;
274
275// RooTreeData::statOn arguments
276RooCmdArg What(const char* str) ;
277
278// RooProdPdf::ctor arguments
279RooCmdArg Conditional(const RooArgSet& pdfSet, const RooArgSet& depSet, bool depsAreCond=false) ;
280
281/**
282 * \defgroup Generating Arguments for generating data
283 * @{
284 */
285// RooAbsPdf::generate arguments
286RooCmdArg ProtoData(const RooDataSet& protoData, bool randomizeOrder=false, bool resample=false) ;
287RooCmdArg NumEvents(Int_t numEvents) ;
288RooCmdArg NumEvents(double numEvents) ;
289RooCmdArg AutoBinned(bool flag=true) ;
290RooCmdArg GenBinned(const char* tag) ;
292RooCmdArg ExpectedData(bool flag=true) ;
293RooCmdArg Asimov(bool flag=true) ;
294
295/** @} */
296
297// RooAbsRealLValue::createHistogram arguments
298RooCmdArg YVar(const RooAbsRealLValue& var, const RooCmdArg& arg=RooCmdArg::none()) ;
299RooCmdArg ZVar(const RooAbsRealLValue& var, const RooCmdArg& arg=RooCmdArg::none()) ;
300RooCmdArg AxisLabel(const char* name) ;
301RooCmdArg Scaling(bool flag) ;
302
303
304// RooAbsReal::createHistogram arguments
305RooCmdArg IntrinsicBinning(bool flag=true) ;
306
307// RooAbsReal::createIntegral arguments
308template<class... Args_t>
309RooCmdArg NormSet(Args_t &&... argsOrArgSet) {
310 RooCmdArg out{"NormSet",0};
311 out.setSet(0, RooArgSet{std::forward<Args_t>(argsOrArgSet)...});
312 return out;
313}
315
316// RooMCStudy::ctor arguments
317RooCmdArg Silence(bool flag=true) ;
319RooCmdArg FitOptions(const RooCmdArg& arg1 ,const RooCmdArg& arg2=RooCmdArg::none(),
320 const RooCmdArg& arg3=RooCmdArg::none(),const RooCmdArg& arg4=RooCmdArg::none(),
321 const RooCmdArg& arg5=RooCmdArg::none(),const RooCmdArg& arg6=RooCmdArg::none()) ;
322RooCmdArg Binned(bool flag=true) ;
323
324// RooMCStudy::plot* arguments
325RooCmdArg Frame(const RooCmdArg& arg1 ,const RooCmdArg& arg2=RooCmdArg::none(),
326 const RooCmdArg& arg3=RooCmdArg::none(),const RooCmdArg& arg4=RooCmdArg::none(),
327 const RooCmdArg& arg5=RooCmdArg::none(),const RooCmdArg& arg6=RooCmdArg::none()) ;
329RooCmdArg FrameRange(double xlo, double xhi) ;
330RooCmdArg FitGauss(bool flag=true) ;
331
332// RooRealVar::format arguments
333RooCmdArg AutoPrecision(Int_t ndigit=2) ;
335RooCmdArg TLatexStyle(bool flag=true) ;
336RooCmdArg LatexStyle(bool flag=true) ;
337RooCmdArg LatexTableStyle(bool flag=true) ;
338RooCmdArg VerbatimName(bool flag=true) ;
339
340// RooMsgService::addReportingStream arguments
341RooCmdArg Topic(Int_t topic) ;
342RooCmdArg ObjectName(const char* name) ;
343RooCmdArg ClassName(const char* name) ;
344RooCmdArg BaseClassName(const char* name) ;
345RooCmdArg TagName(const char* name) ;
346RooCmdArg OutputStream(std::ostream& os) ;
347RooCmdArg Prefix(bool flag) ;
348RooCmdArg Color(Color_t color) ;
349
350// RooWorkspace::import() arguments
351RooCmdArg RenameConflictNodes(const char* suffix, bool renameOrigNodes=false) ;
352RooCmdArg RenameAllNodes(const char* suffix) ;
353RooCmdArg RenameAllVariables(const char* suffix) ;
354RooCmdArg RenameAllVariablesExcept(const char* suffix,const char* exceptionList) ;
355RooCmdArg RenameVariable(const char* inputName, const char* outputName) ;
356RooCmdArg Rename(const char* suffix) ;
357RooCmdArg RecycleConflictNodes(bool flag=true) ;
358RooCmdArg Embedded(bool flag=true) ;
359RooCmdArg NoRecursion(bool flag=true) ;
360
361// RooSimCloneTool::build() arguments
362RooCmdArg SplitParam(const char* varname, const char* catname) ;
363RooCmdArg SplitParam(const RooRealVar& var, const RooAbsCategory& cat) ;
364RooCmdArg SplitParamConstrained(const char* varname, const char* catname, const char* rsname) ;
365RooCmdArg SplitParamConstrained(const RooRealVar& var, const RooAbsCategory& cat, const char* rsname) ;
366RooCmdArg Restrict(const char* catName, const char* stateNameList) ;
367
368// RooAbsPdf::createCdf() arguments
369RooCmdArg SupNormSet(const RooArgSet& nset) ;
370RooCmdArg ScanParameters(Int_t nbins,Int_t intOrder) ;
374
375// Generic container arguments (to be able to supply more command line arguments)
376RooCmdArg MultiArg(const RooCmdArg& arg1, const RooCmdArg& arg2,
377 const RooCmdArg& arg3=RooCmdArg::none(),const RooCmdArg& arg4=RooCmdArg::none(),
378 const RooCmdArg& arg5=RooCmdArg::none(),const RooCmdArg& arg6=RooCmdArg::none(),
379 const RooCmdArg& arg7=RooCmdArg::none(),const RooCmdArg& arg8=RooCmdArg::none()) ;
380
381RooConstVar& RooConst(double val) ;
382
383// End group CmdArgs:
384/**
385 * @}
386 */
387}
388
389namespace RooFitShortHand {
390
391RooConstVar& C(double value);
392
393} // namespace RooFitShortHand
394
395#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:25
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:62
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Definition: RooArgSet.h:56
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 const RooCmdArg & none()
Return reference to null argument.
Definition: RooCmdArg.cxx:51
void setSet(Int_t idx, const RooArgSet &set)
Definition: RooCmdArg.cxx:207
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 Minimizer(const char *type, const char *alg=nullptr)
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 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:59
@ SimComponents
Definition: RooGlobalFunc.h:64
@ Interleave
Definition: RooGlobalFunc.h:64
@ BulkPartition
Definition: RooGlobalFunc.h:64
BatchModeOption
For setting the batch mode flag with the BatchMode() command argument to RooAbsPdf::fitTo();.
Definition: RooGlobalFunc.h:68
MsgTopic
Topics for a RooMsgService::StreamConfig in RooMsgService.
Definition: RooGlobalFunc.h:61
@ Minimization
Definition: RooGlobalFunc.h:61
@ FastEvaluations
Definition: RooGlobalFunc.h:63
@ Generation
Definition: RooGlobalFunc.h:61
@ NumIntegration
Definition: RooGlobalFunc.h:63
@ Optimization
Definition: RooGlobalFunc.h:62
@ DataHandling
Definition: RooGlobalFunc.h:63
@ HistFactory
Definition: RooGlobalFunc.h:63
@ InputArguments
Definition: RooGlobalFunc.h:62
@ ObjectHandling
Definition: RooGlobalFunc.h:62
@ Integration
Definition: RooGlobalFunc.h:61
@ LinkStateMgmt
Definition: RooGlobalFunc.h:61
Definition: tree.py:1
void inv(rsa_NUMBER *, rsa_NUMBER *, rsa_NUMBER *)
Definition: rsaaux.cxx:949
static const char * what
Definition: stlLoader.cc:6