Logo ROOT   master
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 <map>
21 #include <string>
22 //#include "RooDataHist.h"
23 //#include "RooAbsPdf.h"
24 //#include "RooRealConstant.h"
25 //#include "RooMsgService.h"
26 
27 class RooDataHist ;
28 class RooDataSet ;
29 class RooFitResult ;
30 class RooAbsPdf ;
31 class RooAbsRealLValue ;
32 class RooRealConstant ;
33 class RooMsgService ;
34 class RooFormulaVar ;
35 class RooAbsData ;
36 class RooArgSet ;
37 class RooCategory ;
38 class RooAbsReal ;
39 class RooAbsBinning ;
40 class RooAbsCollection ;
41 class RooAbsPdf ;
42 class RooConstVar ;
43 class RooRealVar ;
44 class RooAbsCategory ;
45 class RooNumIntConfig ;
46 class RooArgList ;
47 class RooAbsCollection ;
48 class TH1 ;
49 class TF1 ;
50 class TF2 ;
51 class TF3 ;
52 class TTree ;
53 
54 /*! \namespace RooFit
55 The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs
56 (or other types of arguments).
57 
58 These switches are documented with the relevant functions, e.g. RooAbsPdf::fitTo().
59 For an introduction to RooFit (not the namespace), check the [user's guides](https://root.cern.ch/root-user-guides-and-manuals),
60 [courses](https://root.cern.ch/courses) or [RooFit in 20 minutes](https://root.cern.ch/roofit-20-minutes).
61 */
62 namespace RooFit {
63 
64 /// Verbosity level for RooMsgService::StreamConfig in RooMsgService
65 enum MsgLevel { DEBUG=0, INFO=1, PROGRESS=2, WARNING=3, ERROR=4, FATAL=5 } ;
66 /// Topics for a RooMsgService::StreamConfig in RooMsgService
69  Contents=4096, DataHandling=8192, NumIntegration=16384, FastEvaluations=1<<15, HistFactory=1<<16 };
71 
72 /**
73  * \defgroup CmdArgs RooFit command arguments.
74  * These arguments can be passed to functions of RooFit objects.
75  * \ingroup CmdArgs
76  * @{
77  */
78 
79 /**
80  * \defgroup Plotting Arguments for plotOn functions
81  * @{
82  */
83 RooCmdArg DrawOption(const char* opt) ;
84 RooCmdArg Normalization(Double_t scaleFactor) ;
85 RooCmdArg Slice(const RooArgSet& sliceSet) ;
86 RooCmdArg Slice(RooCategory& cat, const char* label) ;
87 RooCmdArg Project(const RooArgSet& projSet) ;
88 RooCmdArg ProjWData(const RooAbsData& projData, Bool_t binData=kFALSE) ;
89 RooCmdArg ProjWData(const RooArgSet& projSet, const RooAbsData& projData, Bool_t binData=kFALSE) ;
90 RooCmdArg Asymmetry(const RooCategory& cat) ;
93 RooCmdArg Range(const char* rangeName, Bool_t adjustNorm=kTRUE) ;
94 RooCmdArg Range(Double_t lo, Double_t hi, Bool_t adjustNorm=kTRUE) ;
95 RooCmdArg NormRange(const char* rangeNameList) ;
96 RooCmdArg VLines() ;
100 RooCmdArg FillColor(Color_t color) ;
102 RooCmdArg ProjectionRange(const char* rangeName) ;
103 RooCmdArg Name(const char* name) ;
104 RooCmdArg Invisible(bool inv=true) ;
105 RooCmdArg AddTo(const char* name, double wgtSel=1.0, double wgtOther=1.0) ;
108 RooCmdArg VisualizeError(const RooDataSet& paramData, Double_t Z=1) ;
109 RooCmdArg VisualizeError(const RooFitResult& fitres, Double_t Z=1, Bool_t linearMethod=kTRUE) ;
110 RooCmdArg VisualizeError(const RooFitResult& fitres, const RooArgSet& param, Double_t Z=1, Bool_t linearMethod=kTRUE) ;
112 
113 // RooAbsPdf::plotOn arguments
114 RooCmdArg Normalization(Double_t scaleFactor, Int_t scaleType) ;
115 RooCmdArg Components(const RooArgSet& compSet) ;
116 RooCmdArg Components(const char* compSpec) ;
117 
118 // RooAbsData::plotOn arguments
119 RooCmdArg Cut(const char* cutSpec) ;
120 RooCmdArg Cut(const RooFormulaVar& cutVar) ;
121 RooCmdArg Binning(const RooAbsBinning& binning) ;
122 RooCmdArg Binning(const char* binningName) ;
123 RooCmdArg Binning(Int_t nBins, Double_t xlo=0., Double_t xhi=0.) ;
127 RooCmdArg CutRange(const char* rangeName) ;
130 RooCmdArg Efficiency(const RooCategory& cat) ;
131 RooCmdArg Rescale(Double_t factor) ;
132 
133 /** @} */
134 
135 /**
136  * \defgroup ConstructorArgs Arguments for various constructors
137  * @{
138  */
139 // RooDataHist::ctor arguments
141 RooCmdArg Index(RooCategory& icat) ;
142 RooCmdArg Import(const char* state, TH1& histo) ;
143 RooCmdArg Import(const std::map<std::string,TH1*>&) ;
144 RooCmdArg Import(const char* state, RooDataHist& dhist) ;
145 RooCmdArg Import(const std::map<std::string,RooDataHist*>&) ;
146 RooCmdArg Import(TH1& histo, Bool_t importDensity=kFALSE) ;
147 
148 // RooDataSet::ctor arguments
149 RooCmdArg WeightVar(const char* name, Bool_t reinterpretAsWeight=kFALSE) ;
150 RooCmdArg WeightVar(const RooRealVar& arg, Bool_t reinterpretAsWeight=kFALSE) ;
151 RooCmdArg Import(const char* state, RooDataSet& data) ;
152 RooCmdArg Import(const std::map<std::string,RooDataSet*>& ) ;
153 RooCmdArg Link(const char* state, RooAbsData& data) ;
154 RooCmdArg Link(const std::map<std::string,RooAbsData*>&) ;
155 RooCmdArg Import(RooDataSet& data) ;
157 RooCmdArg ImportFromFile(const char* fname, const char* tname) ;
158 RooCmdArg StoreError(const RooArgSet& aset) ;
159 RooCmdArg StoreAsymError(const RooArgSet& aset) ;
161 
162 /** @} */
163 
164 // RooAbsPdf::printLatex arguments
165 RooCmdArg Columns(Int_t ncol) ;
166 RooCmdArg OutputFile(const char* fileName) ;
167 RooCmdArg Format(const char* format, Int_t sigDigit) ;
168 RooCmdArg Format(const char* what, const RooCmdArg& arg1=RooCmdArg::none(), const RooCmdArg& arg2=RooCmdArg::none(),
169  const RooCmdArg& arg3=RooCmdArg::none(),const RooCmdArg& arg4=RooCmdArg::none(),
170  const RooCmdArg& arg5=RooCmdArg::none(),const RooCmdArg& arg6=RooCmdArg::none(),
171  const RooCmdArg& arg7=RooCmdArg::none(),const RooCmdArg& arg8=RooCmdArg::none()) ;
172 RooCmdArg Sibling(const RooAbsCollection& sibling) ;
173 
174 // RooAbsRealLValue::frame arguments
175 RooCmdArg Title(const char* name) ;
176 RooCmdArg Bins(Int_t nbin) ;
177 RooCmdArg AutoSymRange(const RooAbsData& data, Double_t marginFactor=0.1) ;
178 RooCmdArg AutoRange(const RooAbsData& data, Double_t marginFactor=0.1) ;
179 
180 // RooAbsData::createHistogram arguments
181 RooCmdArg AutoSymBinning(Int_t nbins=100, Double_t marginFactor=0.1) ;
182 RooCmdArg AutoBinning(Int_t nbins=100, Double_t marginFactor=0.1) ;
183 
184 // RooAbsReal::fillHistogram arguments
186 
187 // RooAbsData::reduce arguments
188 RooCmdArg SelectVars(const RooArgSet& vars) ;
189 RooCmdArg EventRange(Int_t nStart, Int_t nStop) ;
190 
191 
192 /**
193  * \defgroup Fitting Arguments for fitting
194  * @{
195  */
196 // RooChi2Var::ctor / RooNLLVar arguments
199 RooCmdArg NumCPU(Int_t nCPU, Int_t interleave=0) ;
200 RooCmdArg BatchMode(bool flag=true);
201 
202 // RooAbsPdf::fitTo arguments
203 RooCmdArg PrefitDataFraction(Double_t data_ratio = 0.0) ;
204 RooCmdArg FitOptions(const char* opts) ;
205 RooCmdArg Optimize(Int_t flag=2) ;
206 RooCmdArg ProjectedObservables(const RooArgSet& set) ; // obsolete, for backward compatibility
209 RooCmdArg Save(Bool_t flag=kTRUE) ;
210 RooCmdArg Timer(Bool_t flag=kTRUE) ;
211 RooCmdArg PrintLevel(Int_t code) ;
213 RooCmdArg Strategy(Int_t code) ;
215 RooCmdArg Hesse(Bool_t flag=kTRUE) ;
216 RooCmdArg Minos(Bool_t flag=kTRUE) ;
217 RooCmdArg Minos(const RooArgSet& minosArgs) ;
219 RooCmdArg SumCoefRange(const char* rangeName) ;
220 RooCmdArg Constrain(const RooArgSet& params) ;
221 RooCmdArg GlobalObservables(const RooArgSet& globs) ;
222 RooCmdArg GlobalObservablesTag(const char* tagName) ;
223 //RooCmdArg Constrained() ;
224 RooCmdArg ExternalConstraints(const RooArgSet& constraintPdfs) ;
225 RooCmdArg PrintEvalErrors(Int_t numErrors) ;
229 RooCmdArg CloneData(Bool_t flag) ;
230 RooCmdArg Integrate(Bool_t flag) ;
231 RooCmdArg Minimizer(const char* type, const char* alg=0) ;
233 
234 /** @} */
235 
236 // RooAbsPdf::paramOn arguments
237 RooCmdArg Label(const char* str) ;
239 RooCmdArg Parameters(const RooArgSet& params) ;
241 
242 // RooTreeData::statOn arguments
243 RooCmdArg What(const char* str) ;
244 
245 // RooProdPdf::ctor arguments
246 RooCmdArg Conditional(const RooArgSet& pdfSet, const RooArgSet& depSet, Bool_t depsAreCond=kFALSE) ;
247 
248 /**
249  * \defgroup Generating Arguments for generating data
250  * @{
251  */
252 // RooAbsPdf::generate arguments
253 RooCmdArg ProtoData(const RooDataSet& protoData, Bool_t randomizeOrder=kFALSE, Bool_t resample=kFALSE) ;
254 RooCmdArg NumEvents(Int_t numEvents) ;
255 RooCmdArg NumEvents(Double_t numEvents) ;
257 RooCmdArg GenBinned(const char* tag) ;
260 RooCmdArg Asimov(Bool_t flag=kTRUE) ;
261 
262 /** @} */
263 
264 // RooAbsRealLValue::createHistogram arguments
265 RooCmdArg YVar(const RooAbsRealLValue& var, const RooCmdArg& arg=RooCmdArg::none()) ;
266 RooCmdArg ZVar(const RooAbsRealLValue& var, const RooCmdArg& arg=RooCmdArg::none()) ;
267 RooCmdArg AxisLabel(const char* name) ;
268 RooCmdArg Scaling(Bool_t flag) ;
269 
270 
271 // RooAbsReal::createHistogram arguments
273 
274 // RooAbsReal::createIntegral arguments
275 RooCmdArg NormSet(const RooArgSet& nset) ;
277 
278 // RooMCStudy::ctor arguments
281 RooCmdArg FitOptions(const RooCmdArg& arg1 ,const RooCmdArg& arg2=RooCmdArg::none(),
282  const RooCmdArg& arg3=RooCmdArg::none(),const RooCmdArg& arg4=RooCmdArg::none(),
283  const RooCmdArg& arg5=RooCmdArg::none(),const RooCmdArg& arg6=RooCmdArg::none()) ;
285 
286 // RooMCStudy::plot* arguments
287 RooCmdArg Frame(const RooCmdArg& arg1 ,const RooCmdArg& arg2=RooCmdArg::none(),
288  const RooCmdArg& arg3=RooCmdArg::none(),const RooCmdArg& arg4=RooCmdArg::none(),
289  const RooCmdArg& arg5=RooCmdArg::none(),const RooCmdArg& arg6=RooCmdArg::none()) ;
290 RooCmdArg FrameBins(Int_t nbins) ;
293 
294 // RooRealVar::format arguments
295 RooCmdArg AutoPrecision(Int_t ndigit=2) ;
296 RooCmdArg FixedPrecision(Int_t ndigit=2) ;
301 
302 // RooMsgService::addReportingStream arguments
303 RooCmdArg Topic(Int_t topic) ;
304 RooCmdArg ObjectName(const char* name) ;
305 RooCmdArg ClassName(const char* name) ;
306 RooCmdArg BaseClassName(const char* name) ;
307 RooCmdArg TagName(const char* name) ;
308 RooCmdArg OutputStream(std::ostream& os) ;
309 RooCmdArg Prefix(Bool_t flag) ;
310 RooCmdArg Color(Color_t color) ;
311 
312 // RooWorkspace::import() arguments
313 RooCmdArg RenameConflictNodes(const char* suffix, Bool_t renameOrigNodes=kFALSE) ;
314 RooCmdArg RenameAllNodes(const char* suffix) ;
315 RooCmdArg RenameAllVariables(const char* suffix) ;
316 RooCmdArg RenameAllVariablesExcept(const char* suffix,const char* exceptionList) ;
317 RooCmdArg RenameVariable(const char* inputName, const char* outputName) ;
318 RooCmdArg Rename(const char* suffix) ;
322 
323 // RooSimCloneTool::build() arguments
324 RooCmdArg SplitParam(const char* varname, const char* catname) ;
325 RooCmdArg SplitParam(const RooRealVar& var, const RooAbsCategory& cat) ;
326 RooCmdArg SplitParamConstrained(const char* varname, const char* catname, const char* rsname) ;
327 RooCmdArg SplitParamConstrained(const RooRealVar& var, const RooAbsCategory& cat, const char* rsname) ;
328 RooCmdArg Restrict(const char* catName, const char* stateNameList) ;
329 
330 // RooAbsPdf::createCdf() arguments
331 RooCmdArg SupNormSet(const RooArgSet& nset) ;
332 RooCmdArg ScanParameters(Int_t nbins,Int_t intOrder) ;
336 
337 // Generic container arguments (to be able to supply more command line arguments)
338 RooCmdArg MultiArg(const RooCmdArg& arg1, const RooCmdArg& arg2,
339  const RooCmdArg& arg3=RooCmdArg::none(),const RooCmdArg& arg4=RooCmdArg::none(),
340  const RooCmdArg& arg5=RooCmdArg::none(),const RooCmdArg& arg6=RooCmdArg::none(),
341  const RooCmdArg& arg7=RooCmdArg::none(),const RooCmdArg& arg8=RooCmdArg::none()) ;
342 
344 
345 /**
346  * @}
347  */
348 
349 }
350 
351 namespace RooFitShortHand {
352 
353 RooArgSet S(const RooAbsArg& v1) ;
354 RooArgSet S(const RooAbsArg& v1, const RooAbsArg& v2) ;
355 RooArgSet S(const RooAbsArg& v1, const RooAbsArg& v2, const RooAbsArg& v3) ;
356 RooArgSet S(const RooAbsArg& v1, const RooAbsArg& v2, const RooAbsArg& v3, const RooAbsArg& v4) ;
357 RooArgSet S(const RooAbsArg& v1, const RooAbsArg& v2, const RooAbsArg& v3, const RooAbsArg& v4, const RooAbsArg& v5) ;
358 RooArgSet S(const RooAbsArg& v1, const RooAbsArg& v2, const RooAbsArg& v3, const RooAbsArg& v4, const RooAbsArg& v5,
359  const RooAbsArg& v6) ;
360 RooArgSet S(const RooAbsArg& v1, const RooAbsArg& v2, const RooAbsArg& v3, const RooAbsArg& v4, const RooAbsArg& v5,
361  const RooAbsArg& v6, const RooAbsArg& v7) ;
362 RooArgSet S(const RooAbsArg& v1, const RooAbsArg& v2, const RooAbsArg& v3, const RooAbsArg& v4, const RooAbsArg& v5,
363  const RooAbsArg& v6, const RooAbsArg& v7, const RooAbsArg& v8) ;
364 RooArgSet S(const RooAbsArg& v1, const RooAbsArg& v2, const RooAbsArg& v3, const RooAbsArg& v4, const RooAbsArg& v5,
365  const RooAbsArg& v6, const RooAbsArg& v7, const RooAbsArg& v8, const RooAbsArg& v9) ;
366 
367 RooArgList L(const RooAbsArg& v1) ;
368 RooArgList L(const RooAbsArg& v1, const RooAbsArg& v2) ;
369 RooArgList L(const RooAbsArg& v1, const RooAbsArg& v2, const RooAbsArg& v3) ;
370 RooArgList L(const RooAbsArg& v1, const RooAbsArg& v2, const RooAbsArg& v3, const RooAbsArg& v4) ;
371 RooArgList L(const RooAbsArg& v1, const RooAbsArg& v2, const RooAbsArg& v3, const RooAbsArg& v4, const RooAbsArg& v5) ;
372 RooArgList L(const RooAbsArg& v1, const RooAbsArg& v2, const RooAbsArg& v3, const RooAbsArg& v4, const RooAbsArg& v5,
373  const RooAbsArg& v6) ;
374 RooArgList L(const RooAbsArg& v1, const RooAbsArg& v2, const RooAbsArg& v3, const RooAbsArg& v4, const RooAbsArg& v5,
375  const RooAbsArg& v6, const RooAbsArg& v7) ;
376 RooArgList L(const RooAbsArg& v1, const RooAbsArg& v2, const RooAbsArg& v3, const RooAbsArg& v4, const RooAbsArg& v5,
377  const RooAbsArg& v6, const RooAbsArg& v7, const RooAbsArg& v8) ;
378 RooArgList L(const RooAbsArg& v1, const RooAbsArg& v2, const RooAbsArg& v3, const RooAbsArg& v4, const RooAbsArg& v5,
379  const RooAbsArg& v6, const RooAbsArg& v7, const RooAbsArg& v8, const RooAbsArg& v9) ;
380 
381 RooConstVar& C(Double_t value) ;
382 
383 } // End namespace ShortHand
384 
385 class RooGlobalFunc {};
386 
387 #endif
RooCmdArg SumW2Error(Bool_t flag)
RooCmdArg Title(const char *name)
RooCmdArg Offset(Bool_t flag=kTRUE)
RooCmdArg ProjWData(const RooAbsData &projData, Bool_t binData=kFALSE)
RooCmdArg What(const char *str)
RooCmdArg TLatexStyle(Bool_t flag=kTRUE)
RooCmdArg SplitParam(const char *varname, const char *catname)
float xmin
Definition: THbookFile.cxx:93
RooCmdArg ShowProgress()
RooCmdArg WeightVar(const char *name, Bool_t reinterpretAsWeight=kFALSE)
RooCmdArg NumEvents(Int_t numEvents)
RooNumIntConfig holds the configuration parameters of the various numeric integrators used by RooReal...
RooCmdArg GlobalObservablesTag(const char *tagName)
RooCmdArg Link(const char *state, RooAbsData &data)
short Style_t
Definition: RtypesCore.h:76
RooCmdArg Hesse(Bool_t flag=kTRUE)
RooCmdArg RenameAllNodes(const char *suffix)
RooCmdArg RenameVariable(const char *inputName, const char *outputName)
RooCmdArg AutoSymBinning(Int_t nbins=100, Double_t marginFactor=0.1)
float Size_t
Definition: RtypesCore.h:83
RooCmdArg FrameBins(Int_t nbins)
RooArgList L(const RooAbsArg &v1)
RooCmdArg VisualizeError(const RooDataSet &paramData, Double_t Z=1)
RooCmdArg AutoPrecision(Int_t ndigit=2)
float ymin
Definition: THbookFile.cxx:93
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Definition: RooArgSet.h:28
RooCmdArg Scaling(Bool_t flag)
RooCmdArg Columns(Int_t ncol)
RooCmdArg Bins(Int_t nbin)
RooCmdArg DataError(Int_t)
MsgLevel
Verbosity level for RooMsgService::StreamConfig in RooMsgService.
Definition: RooGlobalFunc.h:65
RooCmdArg SumCoefRange(const char *rangeName)
RooFitResult is a container class to hold the input and output of a PDF fit to a dataset.
Definition: RooFitResult.h:40
int Int_t
Definition: RtypesCore.h:41
bool Bool_t
Definition: RtypesCore.h:59
RooCmdArg Sibling(const RooAbsCollection &sibling)
RooCmdArg AllBinned()
RooCmdArg OutputFile(const char *fileName)
RooCmdArg FitGauss(Bool_t flag=kTRUE)
RooCmdArg ShowConstants(Bool_t flag=kTRUE)
RooCmdArg Precision(Double_t prec)
RooCmdArg XErrorSize(Double_t width)
RooCmdArg MarkerStyle(Style_t style)
RooCmdArg NoRecursion(Bool_t flag=kTRUE)
RooCmdArg ScanNumCdf()
RooRealConstant provides static functions to create and keep track of RooRealVar constants.
RooCmdArg FillColor(Color_t color)
RooCmdArg ScanParameters(Int_t nbins, Int_t intOrder)
RooCmdArg GlobalObservables(const RooArgSet &globs)
RooCmdArg TagName(const char *name)
RooCmdArg SplitParamConstrained(const char *varname, const char *catname, const char *rsname)
RooCmdArg InitialHesse(Bool_t flag=kTRUE)
RooCmdArg ShiftToZero()
RooCmdArg Asimov(Bool_t flag=kTRUE)
RooCmdArg Normalization(Double_t scaleFactor)
RooCmdArg Layout(Double_t xmin, Double_t xmax=0.99, Double_t ymin=0.95)
RooCmdArg EventRange(Int_t nStart, Int_t nStop)
RooCmdArg Project(const RooArgSet &projSet)
static const RooCmdArg & none()
Return reference to null argument.
Definition: RooCmdArg.cxx:52
The RooDataHist is a container class to hold N-dimensional binned data.
Definition: RooDataHist.h:40
RooCmdArg PrintLevel(Int_t code)
RooCmdArg YVar(const RooAbsRealLValue &var, const RooCmdArg &arg=RooCmdArg::none())
RooCmdArg BatchMode(bool flag=true)
RooCmdArg PrintEvalErrors(Int_t numErrors)
RooCmdArg Binning(const RooAbsBinning &binning)
RooCmdArg Prefix(Bool_t flag)
RooCmdArg StoreError(const RooArgSet &aset)
RooCmdArg MoveToBack()
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
RooCmdArg Minos(Bool_t flag=kTRUE)
RooCmdArg MarkerSize(Size_t size)
RooCmdArg CutRange(const char *rangeName)
RooCmdArg NumIntConfig(const RooNumIntConfig &cfg)
RooConstVar represent a constant real-valued object.
Definition: RooConstVar.h:25
RooCmdArg Slice(const RooArgSet &sliceSet)
RooCmdArg Integrate(Bool_t flag)
RooCmdArg AxisLabel(const char *name)
RooCmdArg Weight(Double_t wgt)
short Color_t
Definition: RtypesCore.h:79
RooCmdArg Constrain(const RooArgSet &params)
RooCmdArg Restrict(const char *catName, const char *stateNameList)
RooCmdArg BaseClassName(const char *name)
RooRealVar represents a fundamental (non-derived) real-valued object.
Definition: RooRealVar.h:36
RooCmdArg Optimize(Int_t flag=2)
static const char * what
Definition: stlLoader.cc:6
RooCmdArg FitModel(RooAbsPdf &pdf)
RooArgSet S(const RooAbsArg &v1)
RooCmdArg DrawOption(const char *opt)
RooCmdArg Cut(const char *cutSpec)
RooCmdArg AutoSymRange(const RooAbsData &data, Double_t marginFactor=0.1)
RooCmdArg ScanAllCdf()
RooCmdArg Embedded(Bool_t flag=kTRUE)
RooConstVar & C(Double_t value)
RooCmdArg FitOptions(const char *opts)
RooCmdArg FixedPrecision(Int_t ndigit=2)
RooCmdArg EvalErrorWall(Bool_t flag)
void inv(rsa_NUMBER *, rsa_NUMBER *, rsa_NUMBER *)
Definition: rsaaux.cxx:949
A 3-Dim function with parameters.
Definition: TF3.h:28
RooCmdArg RecycleConflictNodes(Bool_t flag=kTRUE)
RooCmdArg Rescale(Double_t factor)
RooCmdArg ConditionalObservables(const RooArgSet &set)
RooCmdArg AutoBinning(Int_t nbins=100, Double_t marginFactor=0.1)
RooCmdArg Efficiency(const RooCategory &cat)
RooCmdArg PrefitDataFraction(Double_t data_ratio=0.0)
RooCmdArg VerbatimName(Bool_t flag=kTRUE)
RooCmdArg Name(const char *name)
RooCmdArg Binned(Bool_t flag=kTRUE)
RooCmdArg RefreshNorm()
RooCmdArg NumCPU(Int_t nCPU, Int_t interleave=0)
The RooMsgService class is a singleton class that organizes informational, debugging, warning and errors messages generated by the RooFit core code.
RooCmdArg Rename(const char *suffix)
RooCmdArg ProtoData(const RooDataSet &protoData, Bool_t randomizeOrder=kFALSE, Bool_t resample=kFALSE)
RooCmdArg ExternalConstraints(const RooArgSet &constraintPdfs)
RooAbsData is the common abstract base class for binned and unbinned datasets.
Definition: RooAbsData.h:44
float xmax
Definition: THbookFile.cxx:93
RooCmdArg Label(const char *str)
A 2-Dim function with parameters.
Definition: TF2.h:29
RooCmdArg Timer(Bool_t flag=kTRUE)
RooDataSet is a container class to hold unbinned data.
Definition: RooDataSet.h:33
RooCategory represents a fundamental (non-derived) discrete value object.
Definition: RooCategory.h:24
RooCmdArg Invisible(bool inv=true)
short Width_t
Definition: RtypesCore.h:78
RooCmdArg LatexStyle(Bool_t flag=kTRUE)
const Bool_t kFALSE
Definition: RtypesCore.h:88
include TDocParser_001 C image html pict1_TDocParser_001 png width
Definition: TDocParser.cxx:120
RooCmdArg Strategy(Int_t code)
RooCmdArg CloneData(Bool_t flag)
RooCmdArg IntrinsicBinning(Bool_t flag=kTRUE)
RooAbsBinning is the abstract base class for RooRealVar binning definitions This class defines the in...
Definition: RooAbsBinning.h:26
RooCmdArg ZVar(const RooAbsRealLValue &var, const RooCmdArg &arg=RooCmdArg::none())
RooCmdArg ProjectionRange(const char *rangeName)
double Double_t
Definition: RtypesCore.h:55
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Definition: RooAbsReal.h:59
RooCmdArg OutputStream(std::ostream &os)
RooCmdArg IntegratedObservables(const RooArgSet &intObs)
RooCmdArg OwnLinked()
RooCmdArg Extended(Bool_t flag=kTRUE)
A RooFormulaVar is a generic implementation of a real-valued object, which takes a RooArgList of serv...
Definition: RooFormulaVar.h:29
int type
Definition: TGX11.cxx:120
RooCmdArg Import(const char *state, TH1 &histo)
TCanvas * style()
Definition: style.C:1
RooCmdArg SupNormSet(const RooArgSet &nset)
RooCmdArg Format(const char *format, Int_t sigDigit)
The TH1 histogram class.
Definition: TH1.h:56
RooCmdArg ExpectedData(Bool_t flag=kTRUE)
RooCmdArg NormRange(const char *rangeNameList)
RooCmdArg Verbose(Bool_t flag=kTRUE)
RooCmdArg ObjectName(const char *name)
RooCmdArg GenBinned(const char *tag)
RooCmdArg LineColor(Color_t color)
RooCmdArg ProjectedObservables(const RooArgSet &set)
RooCmdArg FrameRange(Double_t xlo, Double_t xhi)
RooAbsCollection is an abstract container object that can hold multiple RooAbsArg objects...
RooCmdArg MarkerColor(Color_t color)
RooAbsRealLValue is the common abstract base class for objects that represent a real value that may a...
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())
RooAbsPdf, the base class of all PDFs
Definition: RooAbsPdf.h:40
RooCmdArg Warnings(Bool_t flag=kTRUE)
RooCmdArg LatexTableStyle(Bool_t flag=kTRUE)
RooCmdArg AutoBinned(Bool_t flag=kTRUE)
RooCmdArg Index(RooCategory &icat)
RooCmdArg Silence(Bool_t flag=kTRUE)
RooCmdArg LineStyle(Style_t style)
RooCmdArg ClassName(const char *name)
1-Dim function class
Definition: TF1.h:210
RooAbsCategory is the common abstract base class for objects that represent a discrete value with a f...
RooCmdArg FillStyle(Style_t style)
MsgTopic
Topics for a RooMsgService::StreamConfig in RooMsgService.
Definition: RooGlobalFunc.h:67
RooCmdArg Range(const char *rangeName, Bool_t adjustNorm=kTRUE)
RooCmdArg Components(const RooArgSet &compSet)
RooCmdArg RenameConflictNodes(const char *suffix, Bool_t renameOrigNodes=kFALSE)
RooCmdArg NormSet(const RooArgSet &nset)
RooCmdArg RenameAllVariables(const char *suffix)
Definition: tree.py:1
RooCmdArg Color(Color_t color)
RooCmdArg AutoRange(const RooAbsData &data, Double_t marginFactor=0.1)
RooArgList is a container object that can hold multiple RooAbsArg objects.
Definition: RooArgList.h:21
A TTree represents a columnar dataset.
Definition: TTree.h:72
float type_of_call hi(const int &, const int &)
RooCmdArg Topic(Int_t topic)
RooCmdArg Conditional(const RooArgSet &pdfSet, const RooArgSet &depSet, Bool_t depsAreCond=kFALSE)
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
Definition: RooAbsArg.h:70
RooConstVar & RooConst(Double_t val)
RooCmdArg AsymptoticError(Bool_t flag)
RooCmdArg Minimizer(const char *type, const char *alg=0)
RooCmdArg LineWidth(Width_t width)
RooCmdArg ScanNoCdf()
const Bool_t kTRUE
Definition: RtypesCore.h:87
RooCmdArg AddTo(const char *name, double wgtSel=1.0, double wgtOther=1.0)
RooCmdArg Save(Bool_t flag=kTRUE)
RooCmdArg Parameters(const RooArgSet &params)
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 StoreAsymError(const RooArgSet &aset)
char name[80]
Definition: TGX11.cxx:109
RooCmdArg VLines()
RooCmdArg RenameAllVariablesExcept(const char *suffix, const char *exceptionList)
RooCmdArg ImportFromFile(const char *fname, const char *tname)
RooCmdArg Asymmetry(const RooCategory &cat)
RooCmdArg SelectVars(const RooArgSet &vars)
RooCmdArg SplitRange(Bool_t flag=kTRUE)
RooCmdArg EvalErrorValue(Double_t value)
RooCmdArg is a named container for two doubles, two integers two object points and three string point...
Definition: RooCmdArg.h:28