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#include <map>
22#include <string>
23
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 ;
46
47/*! \namespace RooFit
48The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs
49(or other types of arguments).
50
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/).
54*/
55namespace RooFit {
56
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
64
65/**
66 * \defgroup CmdArgs RooFit command arguments
67 * These arguments can be passed to functions of RooFit objects.
68 * \ingroup Roofitmain
69 * @{
70 */
71
72/**
73 * \defgroup Plotting Arguments for plotOn functions
74 * @{
75 */
76RooCmdArg DrawOption(const char* opt) ;
77RooCmdArg Normalization(Double_t scaleFactor) ;
78RooCmdArg Slice(const RooArgSet& sliceSet) ;
79RooCmdArg Slice(RooArgSet && sliceSet) ;
80RooCmdArg Slice(RooCategory& cat, const char* label) ;
81RooCmdArg Slice(std::map<RooCategory*, std::string> const&) ;
82RooCmdArg Project(const RooArgSet& projSet) ;
83RooCmdArg Project(RooArgSet && projSet) ;
84RooCmdArg ProjWData(const RooAbsData& projData, Bool_t binData=kFALSE) ;
85RooCmdArg ProjWData(const RooArgSet& projSet, const RooAbsData& projData, Bool_t binData=kFALSE) ;
86RooCmdArg ProjWData(RooArgSet && projSet, const RooAbsData& projData, Bool_t binData=kFALSE) ;
90RooCmdArg Range(const char* rangeName, Bool_t adjustNorm=kTRUE) ;
92RooCmdArg NormRange(const char* rangeNameList) ;
99RooCmdArg ProjectionRange(const char* rangeName) ;
100RooCmdArg Name(const char* name) ;
101RooCmdArg Invisible(bool inv=true) ;
102RooCmdArg AddTo(const char* name, double wgtSel=1.0, double wgtOther=1.0) ;
105RooCmdArg VisualizeError(const RooDataSet& paramData, Double_t Z=1) ;
106RooCmdArg VisualizeError(const RooFitResult& fitres, Double_t Z=1, Bool_t linearMethod=kTRUE) ;
107RooCmdArg VisualizeError(const RooFitResult& fitres, const RooArgSet& param, Double_t Z=1, Bool_t linearMethod=kTRUE) ;
108RooCmdArg VisualizeError(const RooFitResult& fitres, RooArgSet && param, Double_t Z=1, Bool_t linearMethod=kTRUE) ;
110
111// RooAbsPdf::plotOn arguments
112RooCmdArg Normalization(Double_t scaleFactor, Int_t scaleType) ;
113RooCmdArg Components(const RooArgSet& compSet) ;
114RooCmdArg Components(RooArgSet && compSet) ;
115RooCmdArg Components(const char* compSpec) ;
116
117// RooAbsData::plotOn arguments
118RooCmdArg Cut(const char* cutSpec) ;
119RooCmdArg Cut(const RooFormulaVar& cutVar) ;
120RooCmdArg Binning(const RooAbsBinning& binning) ;
121RooCmdArg Binning(const char* binningName) ;
122RooCmdArg Binning(Int_t nBins, Double_t xlo=0., Double_t xhi=0.) ;
126RooCmdArg CutRange(const char* rangeName) ;
129RooCmdArg Efficiency(const RooCategory& cat) ;
130RooCmdArg Rescale(Double_t factor) ;
131
132/** @} */
133
134/**
135 * \defgroup ConstructorArgs Arguments for various constructors
136 * @{
137 */
138// RooDataHist::ctor arguments
141RooCmdArg Import(const char* state, TH1& histo) ;
142RooCmdArg Import(const std::map<std::string,TH1*>&) ;
143RooCmdArg Import(const char* state, RooDataHist& dhist) ;
144RooCmdArg Import(const std::map<std::string,RooDataHist*>&) ;
145RooCmdArg Import(TH1& histo, Bool_t importDensity=kFALSE) ;
146
147// RooDataSet::ctor arguments
148RooCmdArg WeightVar(const char* name, Bool_t reinterpretAsWeight=kFALSE) ;
149RooCmdArg WeightVar(const RooRealVar& arg, Bool_t reinterpretAsWeight=kFALSE) ;
150RooCmdArg Import(const char* state, RooDataSet& data) ;
151RooCmdArg Import(const std::map<std::string,RooDataSet*>& ) ;
152RooCmdArg Link(const char* state, RooAbsData& data) ;
153RooCmdArg Link(const std::map<std::string,RooAbsData*>&) ;
156RooCmdArg ImportFromFile(const char* fname, const char* tname) ;
157RooCmdArg StoreError(const RooArgSet& aset) ;
162
163/** @} */
164
165// RooAbsPdf::printLatex arguments
166RooCmdArg Columns(Int_t ncol) ;
167RooCmdArg OutputFile(const char* fileName) ;
168RooCmdArg Format(const char* format, Int_t sigDigit) ;
169RooCmdArg Format(const char* what, const RooCmdArg& arg1=RooCmdArg::none(), const RooCmdArg& arg2=RooCmdArg::none(),
170 const RooCmdArg& arg3=RooCmdArg::none(),const RooCmdArg& arg4=RooCmdArg::none(),
171 const RooCmdArg& arg5=RooCmdArg::none(),const RooCmdArg& arg6=RooCmdArg::none(),
172 const RooCmdArg& arg7=RooCmdArg::none(),const RooCmdArg& arg8=RooCmdArg::none()) ;
173RooCmdArg Sibling(const RooAbsCollection& sibling) ;
174
175// RooAbsRealLValue::frame arguments
176RooCmdArg Title(const char* name) ;
177RooCmdArg Bins(Int_t nbin) ;
178RooCmdArg AutoSymRange(const RooAbsData& data, Double_t marginFactor=0.1) ;
179RooCmdArg AutoRange(const RooAbsData& data, Double_t marginFactor=0.1) ;
180
181// RooAbsData::createHistogram arguments
182RooCmdArg AutoSymBinning(Int_t nbins=100, Double_t marginFactor=0.1) ;
183RooCmdArg AutoBinning(Int_t nbins=100, Double_t marginFactor=0.1) ;
184
185// RooAbsReal::fillHistogram arguments
188
189// RooAbsData::reduce arguments
190RooCmdArg SelectVars(const RooArgSet& vars) ;
192RooCmdArg EventRange(Int_t nStart, Int_t nStop) ;
193
194
195/**
196 * \defgroup Fitting Arguments for fitting
197 * @{
198 */
199// RooChi2Var::ctor / RooNLLVar arguments
202RooCmdArg NumCPU(Int_t nCPU, Int_t interleave=0) ;
203RooCmdArg BatchMode(bool flag=true);
204RooCmdArg IntegrateBins(double precision);
205
206// RooAbsPdf::fitTo arguments
207RooCmdArg PrefitDataFraction(Double_t data_ratio = 0.0) ;
208RooCmdArg FitOptions(const char* opts) ;
209RooCmdArg Optimize(Int_t flag=2) ;
210
211////////////////////////////////////////////////////////////////////////////////
212/// Create a RooCmdArg to declare conditional observables.
213/// \param[in] argsOrArgSet Can either be one or more RooRealVar with the
214// observables or a single RooArgSet containing them.
215template<class... Args_t>
216RooCmdArg ConditionalObservables(Args_t &&... argsOrArgSet) {
217 return RooCmdArg("ProjectedObservables",0,0,0,0,0,0,
218 &RooCmdArg::take(RooArgSet{std::forward<Args_t>(argsOrArgSet)...}));
219}
220
221// obsolete, for backward compatibility
222template<class... Args_t>
223RooCmdArg ProjectedObservables(Args_t &&... argsOrArgSet) {
224 return ConditionalObservables(std::forward<Args_t>(argsOrArgSet)...);
225}
226
236RooCmdArg Minos(const RooArgSet& minosArgs) ;
237RooCmdArg Minos(RooArgSet && minosArgs) ;
239RooCmdArg SumCoefRange(const char* rangeName) ;
240RooCmdArg Constrain(const RooArgSet& params) ;
241RooCmdArg Constrain(RooArgSet && params) ;
242
243template<class... Args_t>
244RooCmdArg GlobalObservables(Args_t &&... argsOrArgSet) {
245 return RooCmdArg("GlobalObservables",0,0,0,0,0,0,0,0,0,0,
246 &RooCmdArg::take(RooArgSet{std::forward<Args_t>(argsOrArgSet)...}));
247}
248RooCmdArg GlobalObservablesSource(const char* sourceName);
249RooCmdArg GlobalObservablesTag(const char* tagName) ;
250RooCmdArg ExternalConstraints(const RooArgSet& constraintPdfs) ;
251RooCmdArg ExternalConstraints(RooArgSet && constraintPdfs) ;
258RooCmdArg Minimizer(const char* type, const char* alg=0) ;
261/** @} */
262
263// RooAbsPdf::paramOn arguments
264RooCmdArg Label(const char* str) ;
266RooCmdArg Parameters(const RooArgSet& params) ;
267RooCmdArg Parameters(RooArgSet && params) ;
269
270// RooTreeData::statOn arguments
271RooCmdArg What(const char* str) ;
272
273// RooProdPdf::ctor arguments
274RooCmdArg Conditional(const RooArgSet& pdfSet, const RooArgSet& depSet, Bool_t depsAreCond=kFALSE) ;
275RooCmdArg Conditional(RooArgSet && pdfSet, const RooArgSet& depSet, Bool_t depsAreCond=kFALSE) ;
276RooCmdArg Conditional(const RooArgSet& pdfSet, RooArgSet && depSet, Bool_t depsAreCond=kFALSE) ;
277RooCmdArg Conditional(RooArgSet && pdfSet, RooArgSet && depSet, Bool_t depsAreCond=kFALSE) ;
278
279/**
280 * \defgroup Generating Arguments for generating data
281 * @{
282 */
283// RooAbsPdf::generate arguments
284RooCmdArg ProtoData(const RooDataSet& protoData, Bool_t randomizeOrder=kFALSE, Bool_t resample=kFALSE) ;
285RooCmdArg NumEvents(Int_t numEvents) ;
286RooCmdArg NumEvents(Double_t numEvents) ;
288RooCmdArg GenBinned(const char* tag) ;
292
293/** @} */
294
295// RooAbsRealLValue::createHistogram arguments
296RooCmdArg YVar(const RooAbsRealLValue& var, const RooCmdArg& arg=RooCmdArg::none()) ;
297RooCmdArg ZVar(const RooAbsRealLValue& var, const RooCmdArg& arg=RooCmdArg::none()) ;
298RooCmdArg AxisLabel(const char* name) ;
300
301
302// RooAbsReal::createHistogram arguments
304
305// RooAbsReal::createIntegral arguments
306RooCmdArg NormSet(const RooArgSet& nset) ;
307RooCmdArg NormSet(RooArgSet && nset) ;
309
310// RooMCStudy::ctor arguments
313RooCmdArg FitOptions(const RooCmdArg& arg1 ,const RooCmdArg& arg2=RooCmdArg::none(),
314 const RooCmdArg& arg3=RooCmdArg::none(),const RooCmdArg& arg4=RooCmdArg::none(),
315 const RooCmdArg& arg5=RooCmdArg::none(),const RooCmdArg& arg6=RooCmdArg::none()) ;
317
318// RooMCStudy::plot* arguments
319RooCmdArg Frame(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()) ;
325
326// RooRealVar::format arguments
327RooCmdArg AutoPrecision(Int_t ndigit=2) ;
333
334// RooMsgService::addReportingStream arguments
335RooCmdArg Topic(Int_t topic) ;
336RooCmdArg ObjectName(const char* name) ;
337RooCmdArg ClassName(const char* name) ;
338RooCmdArg BaseClassName(const char* name) ;
339RooCmdArg TagName(const char* name) ;
340RooCmdArg OutputStream(std::ostream& os) ;
341RooCmdArg Prefix(Bool_t flag) ;
342RooCmdArg Color(Color_t color) ;
343
344// RooWorkspace::import() arguments
345RooCmdArg RenameConflictNodes(const char* suffix, Bool_t renameOrigNodes=kFALSE) ;
346RooCmdArg RenameAllNodes(const char* suffix) ;
347RooCmdArg RenameAllVariables(const char* suffix) ;
348RooCmdArg RenameAllVariablesExcept(const char* suffix,const char* exceptionList) ;
349RooCmdArg RenameVariable(const char* inputName, const char* outputName) ;
350RooCmdArg Rename(const char* suffix) ;
354
355// RooSimCloneTool::build() arguments
356RooCmdArg SplitParam(const char* varname, const char* catname) ;
357RooCmdArg SplitParam(const RooRealVar& var, const RooAbsCategory& cat) ;
358RooCmdArg SplitParamConstrained(const char* varname, const char* catname, const char* rsname) ;
359RooCmdArg SplitParamConstrained(const RooRealVar& var, const RooAbsCategory& cat, const char* rsname) ;
360RooCmdArg Restrict(const char* catName, const char* stateNameList) ;
361
362// RooAbsPdf::createCdf() arguments
363RooCmdArg SupNormSet(const RooArgSet& nset) ;
365RooCmdArg ScanParameters(Int_t nbins,Int_t intOrder) ;
369
370// Generic container arguments (to be able to supply more command line arguments)
371RooCmdArg MultiArg(const RooCmdArg& arg1, const RooCmdArg& arg2,
372 const RooCmdArg& arg3=RooCmdArg::none(),const RooCmdArg& arg4=RooCmdArg::none(),
373 const RooCmdArg& arg5=RooCmdArg::none(),const RooCmdArg& arg6=RooCmdArg::none(),
374 const RooCmdArg& arg7=RooCmdArg::none(),const RooCmdArg& arg8=RooCmdArg::none()) ;
375
377
378// End group CmdArgs:
379/**
380 * @}
381 */
382}
383
384namespace RooFitShortHand {
385
386RooConstVar& C(Double_t value);
387
388} // namespace RooFitShortHand
389
390#endif
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:79
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:61
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:44
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 NormSet(const RooArgSet &nset)
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 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 BatchMode(bool flag=true)
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 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 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 Components(const RooArgSet &compSet)
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...
MsgLevel
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
MsgTopic
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