Logo ROOT  
Reference Guide
Go to the documentation of this file.
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 *****************************************************************************/
19#include "RooCmdArg.h"
20#include "RooArgSet.h"
21#include <map>
22#include <string>
24class RooDataHist ;
25class RooDataSet ;
26class RooFitResult ;
27class RooAbsPdf ;
28class RooAbsRealLValue ;
29class RooRealConstant ;
30class RooMsgService ;
31class RooFormulaVar ;
32class RooAbsData ;
33class RooCategory ;
34class RooAbsReal ;
35class RooAbsBinning ;
36class RooAbsCollection ;
37class RooAbsPdf ;
38class RooConstVar ;
39class RooRealVar ;
40class RooAbsCategory ;
41class RooNumIntConfig ;
42class RooArgList ;
43class RooAbsCollection ;
44class TH1 ;
45class TTree ;
47/*! \namespace RooFit
48The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs
49(or other types of arguments).
51These switches are documented with the relevant functions, e.g. RooAbsPdf::fitTo().
52For an introduction to RooFit (not the namespace), check the [user's guides](https://root.cern.ch/root-user-guides-and-manuals),
53[courses](https://root.cern.ch/courses) or [the RooFit chapter of the Manual](https://root.cern/manual/roofit/).
55namespace RooFit {
57/// Verbosity level for RooMsgService::StreamConfig in RooMsgService
58enum MsgLevel { DEBUG=0, INFO=1, PROGRESS=2, WARNING=3, ERROR=4, FATAL=5 } ;
59/// Topics for a RooMsgService::StreamConfig in RooMsgService
65/// For setting the batch mode flag with the BatchMode() command argument to
66/// RooAbsPdf::fitTo();
67enum class BatchModeOption { Off, Cpu, Cuda, Old };
70 * \defgroup CmdArgs RooFit command arguments
71 * These arguments can be passed to functions of RooFit objects.
72 * \ingroup Roofitmain
73 * @{
74 */
77 * \defgroup Plotting Arguments for plotOn functions
78 * @{
79 */
80RooCmdArg DrawOption(const char* opt) ;
81RooCmdArg Normalization(Double_t scaleFactor) ;
82RooCmdArg Slice(const RooArgSet& sliceSet) ;
83RooCmdArg Slice(RooArgSet && sliceSet) ;
84RooCmdArg Slice(RooCategory& cat, const char* label) ;
85RooCmdArg Slice(std::map<RooCategory*, std::string> const&) ;
86RooCmdArg Project(const RooArgSet& projSet) ;
87RooCmdArg Project(RooArgSet && projSet) ;
88RooCmdArg ProjWData(const RooAbsData& projData, Bool_t binData=kFALSE) ;
89RooCmdArg ProjWData(const RooArgSet& projSet, const RooAbsData& projData, Bool_t binData=kFALSE) ;
90RooCmdArg ProjWData(RooArgSet && projSet, const RooAbsData& projData, Bool_t binData=kFALSE) ;
94RooCmdArg Range(const char* rangeName, Bool_t adjustNorm=kTRUE) ;
96RooCmdArg NormRange(const char* rangeNameList) ;
103RooCmdArg ProjectionRange(const char* rangeName) ;
104RooCmdArg Name(const char* name) ;
105RooCmdArg Invisible(bool inv=true) ;
106RooCmdArg AddTo(const char* name, double wgtSel=1.0, double wgtOther=1.0) ;
109RooCmdArg VisualizeError(const RooDataSet& paramData, Double_t Z=1) ;
110RooCmdArg VisualizeError(const RooFitResult& fitres, Double_t Z=1, Bool_t linearMethod=kTRUE) ;
111RooCmdArg VisualizeError(const RooFitResult& fitres, const RooArgSet& param, Double_t Z=1, Bool_t linearMethod=kTRUE) ;
112RooCmdArg VisualizeError(const RooFitResult& fitres, RooArgSet && param, Double_t Z=1, Bool_t linearMethod=kTRUE) ;
115// RooAbsPdf::plotOn arguments
116RooCmdArg Normalization(Double_t scaleFactor, Int_t scaleType) ;
117template<class... Args_t>
118RooCmdArg Components(Args_t &&... argsOrArgSet) {
119 return RooCmdArg("SelectCompSet",0,0,0,0,0,0,
120 &RooCmdArg::take(RooArgSet{std::forward<Args_t>(argsOrArgSet)...}), 0);
122RooCmdArg Components(const char* compSpec) ;
124// RooAbsData::plotOn arguments
125RooCmdArg Cut(const char* cutSpec) ;
126RooCmdArg Cut(const RooFormulaVar& cutVar) ;
127RooCmdArg Binning(const RooAbsBinning& binning) ;
128RooCmdArg Binning(const char* binningName) ;
129RooCmdArg Binning(Int_t nBins, Double_t xlo=0., Double_t xhi=0.) ;
133RooCmdArg CutRange(const char* rangeName) ;
136RooCmdArg Efficiency(const RooCategory& cat) ;
137RooCmdArg Rescale(Double_t factor) ;
139/** @} */
142 * \defgroup ConstructorArgs Arguments for various constructors
143 * @{
144 */
145// RooDataHist::ctor arguments
148RooCmdArg Import(const char* state, TH1& histo) ;
149RooCmdArg Import(const std::map<std::string,TH1*>&) ;
150RooCmdArg Import(const char* state, RooDataHist& dhist) ;
151RooCmdArg Import(const std::map<std::string,RooDataHist*>&) ;
152RooCmdArg Import(TH1& histo, Bool_t importDensity=kFALSE) ;
154// RooDataSet::ctor arguments
155RooCmdArg WeightVar(const char* name, Bool_t reinterpretAsWeight=kFALSE) ;
156RooCmdArg WeightVar(const RooRealVar& arg, Bool_t reinterpretAsWeight=kFALSE) ;
157RooCmdArg Import(const char* state, RooDataSet& data) ;
158RooCmdArg Import(const std::map<std::string,RooDataSet*>& ) ;
159RooCmdArg Link(const char* state, RooAbsData& data) ;
160RooCmdArg Link(const std::map<std::string,RooAbsData*>&) ;
163RooCmdArg ImportFromFile(const char* fname, const char* tname) ;
164RooCmdArg StoreError(const RooArgSet& aset) ;
170/** @} */
172// RooAbsPdf::printLatex arguments
173RooCmdArg Columns(Int_t ncol) ;
174RooCmdArg OutputFile(const char* fileName) ;
175RooCmdArg Format(const char* format, Int_t sigDigit) ;
176RooCmdArg Format(const char* what, const RooCmdArg& arg1=RooCmdArg::none(), const RooCmdArg& arg2=RooCmdArg::none(),
177 const RooCmdArg& arg3=RooCmdArg::none(),const RooCmdArg& arg4=RooCmdArg::none(),
178 const RooCmdArg& arg5=RooCmdArg::none(),const RooCmdArg& arg6=RooCmdArg::none(),
179 const RooCmdArg& arg7=RooCmdArg::none(),const RooCmdArg& arg8=RooCmdArg::none()) ;
180RooCmdArg Sibling(const RooAbsCollection& sibling) ;
182// RooAbsRealLValue::frame arguments
183RooCmdArg Title(const char* name) ;
184RooCmdArg Bins(Int_t nbin) ;
185RooCmdArg AutoSymRange(const RooAbsData& data, Double_t marginFactor=0.1) ;
186RooCmdArg AutoRange(const RooAbsData& data, Double_t marginFactor=0.1) ;
188// RooAbsData::createHistogram arguments
189RooCmdArg AutoSymBinning(Int_t nbins=100, Double_t marginFactor=0.1) ;
190RooCmdArg AutoBinning(Int_t nbins=100, Double_t marginFactor=0.1) ;
192// RooAbsReal::fillHistogram arguments
196// RooAbsData::reduce arguments
197RooCmdArg SelectVars(const RooArgSet& vars) ;
199RooCmdArg EventRange(Int_t nStart, Int_t nStop) ;
203 * \defgroup Fitting Arguments for fitting
204 * @{
205 */
206// RooChi2Var::ctor / RooNLLVar arguments
209RooCmdArg NumCPU(Int_t nCPU, Int_t interleave=0) ;
211RooCmdArg BatchMode(std::string const& batchMode="cpu");
212// The const char * overload is necessary, otherwise the compiler will cast a
213// C-Style string to a bool and choose the BatchMode(bool) overload if one
214// calls for example BatchMode("off").
215inline RooCmdArg BatchMode(const char * batchMode) { return BatchMode(std::string(batchMode)); }
216inline RooCmdArg BatchMode(bool batchModeOn) { return BatchMode(batchModeOn ? "cpu" : "off"); }
218RooCmdArg IntegrateBins(double precision);
220// RooAbsPdf::fitTo arguments
221RooCmdArg PrefitDataFraction(Double_t data_ratio = 0.0) ;
222RooCmdArg FitOptions(const char* opts) ;
223RooCmdArg Optimize(Int_t flag=2) ;
226/// Create a RooCmdArg to declare conditional observables.
227/// \param[in] argsOrArgSet Can either be one or more RooRealVar with the
228// observables or a single RooArgSet containing them.
229template<class... Args_t>
230RooCmdArg ConditionalObservables(Args_t &&... argsOrArgSet) {
231 return RooCmdArg("ProjectedObservables",0,0,0,0,0,0,
232 &RooCmdArg::take(RooArgSet{std::forward<Args_t>(argsOrArgSet)...}));
235// obsolete, for backward compatibility
236template<class... Args_t>
237RooCmdArg ProjectedObservables(Args_t &&... argsOrArgSet) {
238 return ConditionalObservables(std::forward<Args_t>(argsOrArgSet)...);
250RooCmdArg Minos(const RooArgSet& minosArgs) ;
251RooCmdArg Minos(RooArgSet && minosArgs) ;
253RooCmdArg SumCoefRange(const char* rangeName) ;
254RooCmdArg Constrain(const RooArgSet& params) ;
255RooCmdArg Constrain(RooArgSet && params) ;
257template<class... Args_t>
258RooCmdArg GlobalObservables(Args_t &&... argsOrArgSet) {
259 return RooCmdArg("GlobalObservables",0,0,0,0,0,0,0,0,0,0,
260 &RooCmdArg::take(RooArgSet{std::forward<Args_t>(argsOrArgSet)...}));
262RooCmdArg GlobalObservablesSource(const char* sourceName);
263RooCmdArg GlobalObservablesTag(const char* tagName) ;
264RooCmdArg ExternalConstraints(const RooArgSet& constraintPdfs) ;
265RooCmdArg ExternalConstraints(RooArgSet && constraintPdfs) ;
272RooCmdArg Minimizer(const char* type, const char* alg=0) ;
275/** @} */
277// RooAbsPdf::paramOn arguments
278RooCmdArg Label(const char* str) ;
280RooCmdArg Parameters(const RooArgSet& params) ;
281RooCmdArg Parameters(RooArgSet && params) ;
284// RooTreeData::statOn arguments
285RooCmdArg What(const char* str) ;
287// RooProdPdf::ctor arguments
288RooCmdArg Conditional(const RooArgSet& pdfSet, const RooArgSet& depSet, Bool_t depsAreCond=kFALSE) ;
289RooCmdArg Conditional(RooArgSet && pdfSet, const RooArgSet& depSet, Bool_t depsAreCond=kFALSE) ;
290RooCmdArg Conditional(const RooArgSet& pdfSet, RooArgSet && depSet, Bool_t depsAreCond=kFALSE) ;
291RooCmdArg Conditional(RooArgSet && pdfSet, RooArgSet && depSet, Bool_t depsAreCond=kFALSE) ;
294 * \defgroup Generating Arguments for generating data
295 * @{
296 */
297// RooAbsPdf::generate arguments
298RooCmdArg ProtoData(const RooDataSet& protoData, Bool_t randomizeOrder=kFALSE, Bool_t resample=kFALSE) ;
299RooCmdArg NumEvents(Int_t numEvents) ;
300RooCmdArg NumEvents(Double_t numEvents) ;
302RooCmdArg GenBinned(const char* tag) ;
307/** @} */
309// RooAbsRealLValue::createHistogram arguments
310RooCmdArg YVar(const RooAbsRealLValue& var, const RooCmdArg& arg=RooCmdArg::none()) ;
311RooCmdArg ZVar(const RooAbsRealLValue& var, const RooCmdArg& arg=RooCmdArg::none()) ;
312RooCmdArg AxisLabel(const char* name) ;
316// RooAbsReal::createHistogram arguments
319// RooAbsReal::createIntegral arguments
320template<class... Args_t>
321RooCmdArg NormSet(Args_t &&... argsOrArgSet) {
322 return RooCmdArg("NormSet",0,0,0,0,0,0,
323 &RooCmdArg::take(RooArgSet{std::forward<Args_t>(argsOrArgSet)...}), 0);
327// RooMCStudy::ctor arguments
330RooCmdArg FitOptions(const RooCmdArg& arg1 ,const RooCmdArg& arg2=RooCmdArg::none(),
331 const RooCmdArg& arg3=RooCmdArg::none(),const RooCmdArg& arg4=RooCmdArg::none(),
332 const RooCmdArg& arg5=RooCmdArg::none(),const RooCmdArg& arg6=RooCmdArg::none()) ;
335// RooMCStudy::plot* arguments
336RooCmdArg Frame(const RooCmdArg& arg1 ,const RooCmdArg& arg2=RooCmdArg::none(),
337 const RooCmdArg& arg3=RooCmdArg::none(),const RooCmdArg& arg4=RooCmdArg::none(),
338 const RooCmdArg& arg5=RooCmdArg::none(),const RooCmdArg& arg6=RooCmdArg::none()) ;
343// RooRealVar::format arguments
344RooCmdArg AutoPrecision(Int_t ndigit=2) ;
351// RooMsgService::addReportingStream arguments
352RooCmdArg Topic(Int_t topic) ;
353RooCmdArg ObjectName(const char* name) ;
354RooCmdArg ClassName(const char* name) ;
355RooCmdArg BaseClassName(const char* name) ;
356RooCmdArg TagName(const char* name) ;
357RooCmdArg OutputStream(std::ostream& os) ;
358RooCmdArg Prefix(Bool_t flag) ;
359RooCmdArg Color(Color_t color) ;
361// RooWorkspace::import() arguments
362RooCmdArg RenameConflictNodes(const char* suffix, Bool_t renameOrigNodes=kFALSE) ;
363RooCmdArg RenameAllNodes(const char* suffix) ;
364RooCmdArg RenameAllVariables(const char* suffix) ;
365RooCmdArg RenameAllVariablesExcept(const char* suffix,const char* exceptionList) ;
366RooCmdArg RenameVariable(const char* inputName, const char* outputName) ;
367RooCmdArg Rename(const char* suffix) ;
372// RooSimCloneTool::build() arguments
373RooCmdArg SplitParam(const char* varname, const char* catname) ;
374RooCmdArg SplitParam(const RooRealVar& var, const RooAbsCategory& cat) ;
375RooCmdArg SplitParamConstrained(const char* varname, const char* catname, const char* rsname) ;
376RooCmdArg SplitParamConstrained(const RooRealVar& var, const RooAbsCategory& cat, const char* rsname) ;
377RooCmdArg Restrict(const char* catName, const char* stateNameList) ;
379// RooAbsPdf::createCdf() arguments
380RooCmdArg SupNormSet(const RooArgSet& nset) ;
382RooCmdArg ScanParameters(Int_t nbins,Int_t intOrder) ;
387// Generic container arguments (to be able to supply more command line arguments)
388RooCmdArg MultiArg(const RooCmdArg& arg1, const RooCmdArg& arg2,
389 const RooCmdArg& arg3=RooCmdArg::none(),const RooCmdArg& arg4=RooCmdArg::none(),
390 const RooCmdArg& arg5=RooCmdArg::none(),const RooCmdArg& arg6=RooCmdArg::none(),
391 const RooCmdArg& arg7=RooCmdArg::none(),const RooCmdArg& arg8=RooCmdArg::none()) ;
395// End group CmdArgs:
397 * @}
398 */
401namespace RooFitShortHand {
403RooConstVar& C(Double_t value);
405} // namespace RooFitShortHand
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
int Int_t
Definition: RtypesCore.h:45
float Size_t
Definition: RtypesCore.h:96
const Bool_t kFALSE
Definition: RtypesCore.h:101
short Width_t
Definition: RtypesCore.h:91
bool Bool_t
Definition: RtypesCore.h:63
double Double_t
Definition: RtypesCore.h:59
short Color_t
Definition: RtypesCore.h:92
short Style_t
Definition: RtypesCore.h:89
const Bool_t kTRUE
Definition: RtypesCore.h:100
include TDocParser_001 C image html pict1_TDocParser_001 png width
Definition: TDocParser.cxx:121
char name[80]
Definition: TGX11.cxx:110
int type
Definition: TGX11.cxx:121
float xmin
Definition: THbookFile.cxx:95
float ymin
Definition: THbookFile.cxx:95
float xmax
Definition: THbookFile.cxx:95
float type_of_call hi(const int &, const int &)
RooAbsBinning is the abstract base class for RooRealVar binning definitions.
Definition: RooAbsBinning.h:26
RooAbsCategory is the base class for objects that represent a discrete value with a finite number of ...
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:80
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:63
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:35
RooCategory is an object to represent discrete states.
Definition: RooCategory.h:27
RooCmdArg is a named container for two doubles, two integers two object points and three string point...
Definition: RooCmdArg.h:27
static T const & take(T &&obj)
Definition: RooCmdArg.h:102
static const RooCmdArg & none()
Return reference to null argument.
Definition: RooCmdArg.cxx:52
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:36
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:39
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 ScanNoCdf()
RooCmdArg Scaling(Bool_t flag)
RooCmdArg FrameBins(Int_t nbins)
RooCmdArg NoRecursion(Bool_t flag=kTRUE)
RooCmdArg TLatexStyle(Bool_t flag=kTRUE)
RooCmdArg ClassName(const char *name)
RooCmdArg Binned(Bool_t flag=kTRUE)
RooCmdArg FitModel(RooAbsPdf &pdf)
RooCmdArg RecycleConflictNodes(Bool_t flag=kTRUE)
RooCmdArg IntegratedObservables(const RooArgSet &intObs)
RooCmdArg OutputStream(std::ostream &os)
RooCmdArg Topic(Int_t topic)
RooCmdArg Embedded(Bool_t flag=kTRUE)
RooCmdArg ShowConstants(Bool_t flag=kTRUE)
RooCmdArg Parameters(const RooArgSet &params)
RooCmdArg NumIntConfig(const RooNumIntConfig &cfg)
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 ScanParameters(Int_t nbins, Int_t intOrder)
RooCmdArg Label(const char *str)
RooCmdArg TagName(const char *name)
RooCmdArg AutoSymBinning(Int_t nbins=100, Double_t marginFactor=0.1)
RooCmdArg BaseClassName(const char *name)
RooCmdArg Restrict(const char *catName, const char *stateNameList)
RooCmdArg FrameRange(Double_t xlo, Double_t xhi)
RooCmdArg YVar(const RooAbsRealLValue &var, const RooCmdArg &arg=RooCmdArg::none())
RooCmdArg IntrinsicBinning(Bool_t flag=kTRUE)
RooCmdArg RenameAllVariables(const char *suffix)
RooCmdArg ZVar(const RooAbsRealLValue &var, const RooCmdArg &arg=RooCmdArg::none())
RooCmdArg FitGauss(Bool_t flag=kTRUE)
RooCmdArg RenameConflictNodes(const char *suffix, Bool_t renameOrigNodes=kFALSE)
RooCmdArg RenameVariable(const char *inputName, const char *outputName)
RooCmdArg Color(Color_t color)
RooCmdArg FixedPrecision(Int_t ndigit=2)
RooCmdArg AutoPrecision(Int_t ndigit=2)
RooCmdArg Title(const char *name)
RooCmdArg RenameAllNodes(const char *suffix)
RooCmdArg Prefix(Bool_t flag)
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 Layout(Double_t xmin, Double_t xmax=0.99, Double_t ymin=0.95)
RooCmdArg SelectVars(const RooArgSet &vars)
RooCmdArg Silence(Bool_t flag=kTRUE)
RooCmdArg LatexTableStyle(Bool_t flag=kTRUE)
RooConstVar & RooConst(Double_t val)
RooCmdArg RenameAllVariablesExcept(const char *suffix, const char *exceptionList)
RooCmdArg VerbatimName(Bool_t flag=kTRUE)
RooCmdArg Columns(Int_t ncol)
RooCmdArg EventRange(Int_t nStart, Int_t nStop)
RooCmdArg ScanAllCdf()
RooCmdArg ObjectName(const char *name)
RooCmdArg AutoSymRange(const RooAbsData &data, Double_t marginFactor=0.1)
RooCmdArg AxisLabel(const char *name)
RooCmdArg Sibling(const RooAbsCollection &sibling)
RooCmdArg Conditional(const RooArgSet &pdfSet, const RooArgSet &depSet, Bool_t depsAreCond=kFALSE)
RooCmdArg NormSet(Args_t &&... argsOrArgSet)
RooCmdArg SplitParamConstrained(const char *varname, const char *catname, const char *rsname)
RooCmdArg AutoRange(const RooAbsData &data, Double_t marginFactor=0.1)
RooCmdArg What(const char *str)
RooCmdArg ScanNumCdf()
RooCmdArg AutoBinning(Int_t nbins=100, Double_t marginFactor=0.1)
RooCmdArg Bins(Int_t nbin)
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 OutputFile(const char *fileName)
RooCmdArg LatexStyle(Bool_t flag=kTRUE)
RooCmdArg WeightVar(const char *name, Bool_t reinterpretAsWeight=kFALSE)
RooCmdArg OwnLinked()
RooCmdArg ImportFromFile(const char *fname, const char *tname)
RooCmdArg StoreAsymError(const RooArgSet &aset)
RooCmdArg Index(RooCategory &icat)
RooCmdArg Weight(Double_t wgt)
RooCmdArg StoreError(const RooArgSet &aset)
RooCmdArg Link(const char *state, RooAbsData &data)
RooCmdArg Import(const char *state, TH1 &histo)
RooCmdArg IntegrateBins(double precision)
Integrate the PDF over bins. Improves accuracy for binned fits. Switch off using 0....
RooCmdArg ProjectedObservables(Args_t &&... argsOrArgSet)
RooCmdArg EvalErrorWall(Bool_t flag)
RooCmdArg Constrain(const RooArgSet &params)
RooCmdArg GlobalObservablesTag(const char *tagName)
RooCmdArg Strategy(Int_t code)
RooCmdArg Warnings(Bool_t flag=kTRUE)
RooCmdArg Integrate(Bool_t flag)
RooCmdArg SumW2Error(Bool_t flag)
RooCmdArg Extended(Bool_t flag=kTRUE)
RooCmdArg GlobalObservables(Args_t &&... argsOrArgSet)
RooCmdArg GlobalObservablesSource(const char *sourceName)
RooCmdArg SumCoefRange(const char *rangeName)
RooCmdArg SplitRange(Bool_t flag=kTRUE)
RooCmdArg PrintEvalErrors(Int_t numErrors)
RooCmdArg Optimize(Int_t flag=2)
RooCmdArg Hesse(Bool_t flag=kTRUE)
RooCmdArg InitialHesse(Bool_t flag=kTRUE)
RooCmdArg ExternalConstraints(const RooArgSet &constraintPdfs)
RooCmdArg CloneData(Bool_t flag)
RooCmdArg Save(Bool_t flag=kTRUE)
RooCmdArg PrintLevel(Int_t code)
RooCmdArg FitOptions(const char *opts)
RooCmdArg NumCPU(Int_t nCPU, Int_t interleave=0)
RooCmdArg DataError(Int_t)
RooCmdArg RecoverFromUndefinedRegions(double strength)
When parameters are chosen such that a PDF is undefined, try to indicate to the minimiser how to leav...
RooCmdArg BatchMode(std::string const &batchMode="cpu")
RooCmdArg Verbose(Bool_t flag=kTRUE)
RooCmdArg Timer(Bool_t flag=kTRUE)
RooCmdArg PrefitDataFraction(Double_t data_ratio=0.0)
RooCmdArg AsymptoticError(Bool_t flag)
RooCmdArg Offset(Bool_t flag=kTRUE)
RooCmdArg ConditionalObservables(Args_t &&... argsOrArgSet)
Create a RooCmdArg to declare conditional observables.
RooCmdArg Minimizer(const char *type, const char *alg=0)
RooCmdArg Minos(Bool_t flag=kTRUE)
RooCmdArg ProtoData(const RooDataSet &protoData, Bool_t randomizeOrder=kFALSE, Bool_t resample=kFALSE)
RooCmdArg Asimov(Bool_t flag=kTRUE)
RooCmdArg AllBinned()
RooCmdArg AutoBinned(Bool_t flag=kTRUE)
RooCmdArg NumEvents(Int_t numEvents)
RooCmdArg GenBinned(const char *tag)
RooCmdArg ExpectedData(Bool_t flag=kTRUE)
RooCmdArg VisualizeError(const RooDataSet &paramData, Double_t Z=1)
RooCmdArg RefreshNorm()
RooCmdArg Components(Args_t &&... argsOrArgSet)
RooCmdArg ProjWData(const RooAbsData &projData, Bool_t binData=kFALSE)
RooCmdArg ProjectionRange(const char *rangeName)
RooCmdArg MarkerColor(Color_t color)
RooCmdArg Binning(const RooAbsBinning &binning)
RooCmdArg NormRange(const char *rangeNameList)
RooCmdArg ShowProgress()
RooCmdArg DrawOption(const char *opt)
RooCmdArg Project(const RooArgSet &projSet)
RooCmdArg FillStyle(Style_t style)
RooCmdArg EvalErrorValue(Double_t value)
RooCmdArg FillColor(Color_t color)
RooCmdArg Rescale(Double_t factor)
RooCmdArg Invisible(bool inv=true)
RooCmdArg MarkerStyle(Style_t style)
RooCmdArg LineWidth(Width_t width)
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 MoveToBack()
RooCmdArg MarkerSize(Size_t size)
RooCmdArg Precision(Double_t prec)
RooCmdArg Cut(const char *cutSpec)
RooCmdArg Range(const char *rangeName, Bool_t adjustNorm=kTRUE)
RooCmdArg LineColor(Color_t color)
RooCmdArg XErrorSize(Double_t width)
RooCmdArg Normalization(Double_t scaleFactor)
RooCmdArg Efficiency(const RooCategory &cat)
RooCmdArg Name(const char *name)
RooCmdArg LineStyle(Style_t style)
RooCmdArg VLines()
RooCmdArg Asymmetry(const RooCategory &cat)
RooConstVar & C(Double_t value)
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
Definition: Common.h:18
Verbosity level for RooMsgService::StreamConfig in RooMsgService.
Definition: RooGlobalFunc.h:58
@ SimComponents
Definition: RooGlobalFunc.h:63
@ Interleave
Definition: RooGlobalFunc.h:63
@ BulkPartition
Definition: RooGlobalFunc.h:63
For setting the batch mode flag with the BatchMode() command argument to RooAbsPdf::fitTo();.
Definition: RooGlobalFunc.h:67
Topics for a RooMsgService::StreamConfig in RooMsgService.
Definition: RooGlobalFunc.h:60
@ Minimization
Definition: RooGlobalFunc.h:60
@ FastEvaluations
Definition: RooGlobalFunc.h:62
@ Generation
Definition: RooGlobalFunc.h:60
@ NumIntegration
Definition: RooGlobalFunc.h:62
@ Optimization
Definition: RooGlobalFunc.h:61
@ DataHandling
Definition: RooGlobalFunc.h:62
@ HistFactory
Definition: RooGlobalFunc.h:62
@ InputArguments
Definition: RooGlobalFunc.h:61
@ ObjectHandling
Definition: RooGlobalFunc.h:61
@ Integration
Definition: RooGlobalFunc.h:60
@ LinkStateMgmt
Definition: RooGlobalFunc.h:60
Definition: tree.py:1
void inv(rsa_NUMBER *, rsa_NUMBER *, rsa_NUMBER *)
Definition: rsaaux.cxx:949
static const char * what
Definition: stlLoader.cc:6
TCanvas * style()
Definition: style.C:1