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 <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 Roofitmain
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 RooCmdArg IntegrateBins(double precision);
202 
203 // RooAbsPdf::fitTo arguments
204 RooCmdArg PrefitDataFraction(Double_t data_ratio = 0.0) ;
205 RooCmdArg FitOptions(const char* opts) ;
206 RooCmdArg Optimize(Int_t flag=2) ;
207 RooCmdArg ProjectedObservables(const RooArgSet& set) ; // obsolete, for backward compatibility
210 RooCmdArg Save(Bool_t flag=kTRUE) ;
211 RooCmdArg Timer(Bool_t flag=kTRUE) ;
212 RooCmdArg PrintLevel(Int_t code) ;
214 RooCmdArg Strategy(Int_t code) ;
216 RooCmdArg Hesse(Bool_t flag=kTRUE) ;
217 RooCmdArg Minos(Bool_t flag=kTRUE) ;
218 RooCmdArg Minos(const RooArgSet& minosArgs) ;
220 RooCmdArg SumCoefRange(const char* rangeName) ;
221 RooCmdArg Constrain(const RooArgSet& params) ;
222 RooCmdArg GlobalObservables(const RooArgSet& globs) ;
223 RooCmdArg GlobalObservablesTag(const char* tagName) ;
224 //RooCmdArg Constrained() ;
225 RooCmdArg ExternalConstraints(const RooArgSet& constraintPdfs) ;
226 RooCmdArg PrintEvalErrors(Int_t numErrors) ;
230 RooCmdArg CloneData(Bool_t flag) ;
231 RooCmdArg Integrate(Bool_t flag) ;
232 RooCmdArg Minimizer(const char* type, const char* alg=0) ;
234 RooCmdArg RecoverFromUndefinedRegions(double strength);
235 /** @} */
236 
237 // RooAbsPdf::paramOn arguments
238 RooCmdArg Label(const char* str) ;
240 RooCmdArg Parameters(const RooArgSet& params) ;
242 
243 // RooTreeData::statOn arguments
244 RooCmdArg What(const char* str) ;
245 
246 // RooProdPdf::ctor arguments
247 RooCmdArg Conditional(const RooArgSet& pdfSet, const RooArgSet& depSet, Bool_t depsAreCond=kFALSE) ;
248 
249 /**
250  * \defgroup Generating Arguments for generating data
251  * @{
252  */
253 // RooAbsPdf::generate arguments
254 RooCmdArg ProtoData(const RooDataSet& protoData, Bool_t randomizeOrder=kFALSE, Bool_t resample=kFALSE) ;
255 RooCmdArg NumEvents(Int_t numEvents) ;
256 RooCmdArg NumEvents(Double_t numEvents) ;
258 RooCmdArg GenBinned(const char* tag) ;
261 RooCmdArg Asimov(Bool_t flag=kTRUE) ;
262 
263 /** @} */
264 
265 // RooAbsRealLValue::createHistogram arguments
266 RooCmdArg YVar(const RooAbsRealLValue& var, const RooCmdArg& arg=RooCmdArg::none()) ;
267 RooCmdArg ZVar(const RooAbsRealLValue& var, const RooCmdArg& arg=RooCmdArg::none()) ;
268 RooCmdArg AxisLabel(const char* name) ;
269 RooCmdArg Scaling(Bool_t flag) ;
270 
271 
272 // RooAbsReal::createHistogram arguments
274 
275 // RooAbsReal::createIntegral arguments
276 RooCmdArg NormSet(const RooArgSet& nset) ;
278 
279 // RooMCStudy::ctor arguments
282 RooCmdArg FitOptions(const RooCmdArg& arg1 ,const RooCmdArg& arg2=RooCmdArg::none(),
283  const RooCmdArg& arg3=RooCmdArg::none(),const RooCmdArg& arg4=RooCmdArg::none(),
284  const RooCmdArg& arg5=RooCmdArg::none(),const RooCmdArg& arg6=RooCmdArg::none()) ;
286 
287 // RooMCStudy::plot* arguments
288 RooCmdArg Frame(const RooCmdArg& arg1 ,const RooCmdArg& arg2=RooCmdArg::none(),
289  const RooCmdArg& arg3=RooCmdArg::none(),const RooCmdArg& arg4=RooCmdArg::none(),
290  const RooCmdArg& arg5=RooCmdArg::none(),const RooCmdArg& arg6=RooCmdArg::none()) ;
291 RooCmdArg FrameBins(Int_t nbins) ;
294 
295 // RooRealVar::format arguments
296 RooCmdArg AutoPrecision(Int_t ndigit=2) ;
297 RooCmdArg FixedPrecision(Int_t ndigit=2) ;
302 
303 // RooMsgService::addReportingStream arguments
304 RooCmdArg Topic(Int_t topic) ;
305 RooCmdArg ObjectName(const char* name) ;
306 RooCmdArg ClassName(const char* name) ;
307 RooCmdArg BaseClassName(const char* name) ;
308 RooCmdArg TagName(const char* name) ;
309 RooCmdArg OutputStream(std::ostream& os) ;
310 RooCmdArg Prefix(Bool_t flag) ;
311 RooCmdArg Color(Color_t color) ;
312 
313 // RooWorkspace::import() arguments
314 RooCmdArg RenameConflictNodes(const char* suffix, Bool_t renameOrigNodes=kFALSE) ;
315 RooCmdArg RenameAllNodes(const char* suffix) ;
316 RooCmdArg RenameAllVariables(const char* suffix) ;
317 RooCmdArg RenameAllVariablesExcept(const char* suffix,const char* exceptionList) ;
318 RooCmdArg RenameVariable(const char* inputName, const char* outputName) ;
319 RooCmdArg Rename(const char* suffix) ;
323 
324 // RooSimCloneTool::build() arguments
325 RooCmdArg SplitParam(const char* varname, const char* catname) ;
326 RooCmdArg SplitParam(const RooRealVar& var, const RooAbsCategory& cat) ;
327 RooCmdArg SplitParamConstrained(const char* varname, const char* catname, const char* rsname) ;
328 RooCmdArg SplitParamConstrained(const RooRealVar& var, const RooAbsCategory& cat, const char* rsname) ;
329 RooCmdArg Restrict(const char* catName, const char* stateNameList) ;
330 
331 // RooAbsPdf::createCdf() arguments
332 RooCmdArg SupNormSet(const RooArgSet& nset) ;
333 RooCmdArg ScanParameters(Int_t nbins,Int_t intOrder) ;
337 
338 // Generic container arguments (to be able to supply more command line arguments)
339 RooCmdArg MultiArg(const RooCmdArg& arg1, const RooCmdArg& arg2,
340  const RooCmdArg& arg3=RooCmdArg::none(),const RooCmdArg& arg4=RooCmdArg::none(),
341  const RooCmdArg& arg5=RooCmdArg::none(),const RooCmdArg& arg6=RooCmdArg::none(),
342  const RooCmdArg& arg7=RooCmdArg::none(),const RooCmdArg& arg8=RooCmdArg::none()) ;
343 
345 
346 // End group CmdArgs:
347 /**
348  * @}
349  */
350 }
351 
352 namespace RooFitShortHand {
353 
354 RooArgSet S(const RooAbsArg& v1) ;
355 RooArgSet S(const RooAbsArg& v1, const RooAbsArg& v2) ;
356 RooArgSet S(const RooAbsArg& v1, const RooAbsArg& v2, const RooAbsArg& v3) ;
357 RooArgSet S(const RooAbsArg& v1, const RooAbsArg& v2, const RooAbsArg& v3, const RooAbsArg& v4) ;
358 RooArgSet S(const RooAbsArg& v1, const RooAbsArg& v2, const RooAbsArg& v3, const RooAbsArg& v4, const RooAbsArg& v5) ;
359 RooArgSet S(const RooAbsArg& v1, const RooAbsArg& v2, const RooAbsArg& v3, const RooAbsArg& v4, const RooAbsArg& v5,
360  const RooAbsArg& v6) ;
361 RooArgSet S(const RooAbsArg& v1, const RooAbsArg& v2, const RooAbsArg& v3, const RooAbsArg& v4, const RooAbsArg& v5,
362  const RooAbsArg& v6, const RooAbsArg& v7) ;
363 RooArgSet S(const RooAbsArg& v1, const RooAbsArg& v2, const RooAbsArg& v3, const RooAbsArg& v4, const RooAbsArg& v5,
364  const RooAbsArg& v6, const RooAbsArg& v7, const RooAbsArg& v8) ;
365 RooArgSet S(const RooAbsArg& v1, const RooAbsArg& v2, const RooAbsArg& v3, const RooAbsArg& v4, const RooAbsArg& v5,
366  const RooAbsArg& v6, const RooAbsArg& v7, const RooAbsArg& v8, const RooAbsArg& v9) ;
367 
368 RooArgList L(const RooAbsArg& v1) ;
369 RooArgList L(const RooAbsArg& v1, const RooAbsArg& v2) ;
370 RooArgList L(const RooAbsArg& v1, const RooAbsArg& v2, const RooAbsArg& v3) ;
371 RooArgList L(const RooAbsArg& v1, const RooAbsArg& v2, const RooAbsArg& v3, const RooAbsArg& v4) ;
372 RooArgList L(const RooAbsArg& v1, const RooAbsArg& v2, const RooAbsArg& v3, const RooAbsArg& v4, const RooAbsArg& v5) ;
373 RooArgList L(const RooAbsArg& v1, const RooAbsArg& v2, const RooAbsArg& v3, const RooAbsArg& v4, const RooAbsArg& v5,
374  const RooAbsArg& v6) ;
375 RooArgList L(const RooAbsArg& v1, const RooAbsArg& v2, const RooAbsArg& v3, const RooAbsArg& v4, const RooAbsArg& v5,
376  const RooAbsArg& v6, const RooAbsArg& v7) ;
377 RooArgList L(const RooAbsArg& v1, const RooAbsArg& v2, const RooAbsArg& v3, const RooAbsArg& v4, const RooAbsArg& v5,
378  const RooAbsArg& v6, const RooAbsArg& v7, const RooAbsArg& v8) ;
379 RooArgList L(const RooAbsArg& v1, const RooAbsArg& v2, const RooAbsArg& v3, const RooAbsArg& v4, const RooAbsArg& v5,
380  const RooAbsArg& v6, const RooAbsArg& v7, const RooAbsArg& v8, const RooAbsArg& v9) ;
381 
382 RooConstVar& C(Double_t value) ;
383 
384 } // End namespace ShortHand
385 
386 class RooGlobalFunc {};
387 
388 #endif
RooFit::BatchMode
RooCmdArg BatchMode(bool flag=true)
Definition: RooGlobalFunc.cxx:159
RooFit::RenameAllVariablesExcept
RooCmdArg RenameAllVariablesExcept(const char *suffix, const char *exceptionList)
Definition: RooGlobalFunc.cxx:319
RooFit::AutoPrecision
RooCmdArg AutoPrecision(Int_t ndigit=2)
Definition: RooGlobalFunc.cxx:296
RooFit::RenameConflictNodes
RooCmdArg RenameConflictNodes(const char *suffix, Bool_t renameOrigNodes=kFALSE)
Definition: RooGlobalFunc.cxx:315
RooFit::Asymmetry
RooCmdArg Asymmetry(const RooCategory &cat)
Definition: RooGlobalFunc.cxx:49
RooCmdArg
RooCmdArg is a named container for two doubles, two integers two object points and three string point...
Definition: RooCmdArg.h:27
RooFit::EvalErrorValue
RooCmdArg EvalErrorValue(Double_t value)
Definition: RooGlobalFunc.cxx:66
RooFit::AutoSymBinning
RooCmdArg AutoSymBinning(Int_t nbins=100, Double_t marginFactor=0.1)
Definition: RooGlobalFunc.cxx:255
RooFit::ShowConstants
RooCmdArg ShowConstants(Bool_t flag=kTRUE)
Definition: RooGlobalFunc.cxx:225
RooFit::Minimization
@ Minimization
Definition: RooGlobalFunc.h:67
RooFit::Color
RooCmdArg Color(Color_t color)
Definition: RooGlobalFunc.cxx:311
kTRUE
const Bool_t kTRUE
Definition: RtypesCore.h:91
Style_t
short Style_t
Definition: RtypesCore.h:80
RooFit::ProjWData
RooCmdArg ProjWData(const RooAbsData &projData, Bool_t binData=kFALSE)
Definition: RooGlobalFunc.cxx:47
RooFit::Columns
RooCmdArg Columns(Int_t ncol)
Definition: RooGlobalFunc.cxx:164
RooFit::IntegrateBins
RooCmdArg IntegrateBins(double precision)
Integrate the PDF over bins. Improves accuracy for binned fits. Switch off using 0....
Definition: RooGlobalFunc.cxx:161
RooFit::What
RooCmdArg What(const char *str)
Definition: RooGlobalFunc.cxx:228
RooFit::Bins
RooCmdArg Bins(Int_t nbin)
Definition: RooGlobalFunc.cxx:177
RooFit::NumEvents
RooCmdArg NumEvents(Int_t numEvents)
Definition: RooGlobalFunc.cxx:236
RooAbsData
RooAbsData is the common abstract base class for binned and unbinned datasets.
Definition: RooAbsData.h:47
RooRealConstant
RooRealConstant provides static functions to create and keep track of RooRealVar constants.
Definition: RooRealConstant.h:25
RooFit::NoRecursion
RooCmdArg NoRecursion(Bool_t flag=kTRUE)
Definition: RooGlobalFunc.cxx:323
RooFit::InputArguments
@ InputArguments
Definition: RooGlobalFunc.h:68
RooFit::DataError
RooCmdArg DataError(Int_t)
Definition: RooGlobalFunc.cxx:157
RooFit::PrintLevel
RooCmdArg PrintLevel(Int_t code)
Definition: RooGlobalFunc.cxx:192
RooFit::DEBUG
@ DEBUG
Definition: RooGlobalFunc.h:65
RooFit::SumCoefRange
RooCmdArg SumCoefRange(const char *rangeName)
Definition: RooGlobalFunc.cxx:202
RooFit::SelectVars
RooCmdArg SelectVars(const RooArgSet &vars)
Definition: RooGlobalFunc.cxx:182
RooFit::Sibling
RooCmdArg Sibling(const RooAbsCollection &sibling)
Definition: RooGlobalFunc.cxx:166
tree
Definition: tree.py:1
RooFit::PrintEvalErrors
RooCmdArg PrintEvalErrors(Int_t numErrors)
Definition: RooGlobalFunc.cxx:208
RooFit::EventRange
RooCmdArg EventRange(Int_t nStart, Int_t nStop)
Definition: RooGlobalFunc.cxx:183
RooGlobalFunc
Definition: RooGlobalFunc.h:386
RooFit::OutputFile
RooCmdArg OutputFile(const char *fileName)
Definition: RooGlobalFunc.cxx:165
RooFit::VisualizeError
RooCmdArg VisualizeError(const RooDataSet &paramData, Double_t Z=1)
Definition: RooGlobalFunc.cxx:71
RooFit::SumW2Error
RooCmdArg SumW2Error(Bool_t flag)
Definition: RooGlobalFunc.cxx:210
RooFit::RenameAllNodes
RooCmdArg RenameAllNodes(const char *suffix)
Definition: RooGlobalFunc.cxx:317
xmax
float xmax
Definition: THbookFile.cxx:95
RooArgList
RooArgList is a container object that can hold multiple RooAbsArg objects.
Definition: RooArgList.h:21
inv
void inv(rsa_NUMBER *, rsa_NUMBER *, rsa_NUMBER *)
Definition: rsaaux.cxx:949
TTree
A TTree represents a columnar dataset.
Definition: TTree.h:79
RooFit::WeightVar
RooCmdArg WeightVar(const char *name, Bool_t reinterpretAsWeight=kFALSE)
Definition: RooGlobalFunc.cxx:124
RooFit::XErrorSize
RooCmdArg XErrorSize(Double_t width)
Definition: RooGlobalFunc.cxx:91
RooFit::Hesse
RooCmdArg Hesse(Bool_t flag=kTRUE)
Definition: RooGlobalFunc.cxx:196
RooFit::MarkerStyle
RooCmdArg MarkerStyle(Style_t style)
Definition: RooGlobalFunc.cxx:86
RooFit::Optimization
@ Optimization
Definition: RooGlobalFunc.h:68
width
include TDocParser_001 C image html pict1_TDocParser_001 png width
Definition: TDocParser.cxx:121
RooFit::SplitParamConstrained
RooCmdArg SplitParamConstrained(const char *varname, const char *catname, const char *rsname)
Definition: RooGlobalFunc.cxx:328
RooFit::Minos
RooCmdArg Minos(Bool_t flag=kTRUE)
Definition: RooGlobalFunc.cxx:197
RooFit::ShiftToZero
RooCmdArg ShiftToZero()
Definition: RooGlobalFunc.cxx:51
Int_t
int Int_t
Definition: RtypesCore.h:45
RooFit::Offset
RooCmdArg Offset(Bool_t flag=kTRUE)
Definition: RooGlobalFunc.cxx:215
RooFit::RenameVariable
RooCmdArg RenameVariable(const char *inputName, const char *outputName)
Definition: RooGlobalFunc.cxx:320
RooFit::Normalization
RooCmdArg Normalization(Double_t scaleFactor)
Definition: RooGlobalFunc.cxx:52
RooFit::MPSplit
MPSplit
Definition: RooGlobalFunc.h:70
RooFit::Warnings
RooCmdArg Warnings(Bool_t flag=kTRUE)
Definition: RooGlobalFunc.cxx:193
RooFitShortHand::S
RooArgSet S(const RooAbsArg &v1)
Definition: RooGlobalFunc.cxx:354
RooAbsReal
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Definition: RooAbsReal.h:61
RooFit::Precision
RooCmdArg Precision(Double_t prec)
Definition: RooGlobalFunc.cxx:50
RooConstVar
RooConstVar represent a constant real-valued object.
Definition: RooConstVar.h:26
RooFit::MsgTopic
MsgTopic
Topics for a RooMsgService::StreamConfig in RooMsgService.
Definition: RooGlobalFunc.h:67
RooFitShortHand
Definition: RooGlobalFunc.h:352
RooFit::YVar
RooCmdArg YVar(const RooAbsRealLValue &var, const RooCmdArg &arg=RooCmdArg::none())
Definition: RooGlobalFunc.cxx:246
RooFit::FillColor
RooCmdArg FillColor(Color_t color)
Definition: RooGlobalFunc.cxx:60
RooFit::Prefix
RooCmdArg Prefix(Bool_t flag)
Definition: RooGlobalFunc.cxx:310
RooFit::Binning
RooCmdArg Binning(const RooAbsBinning &binning)
Definition: RooGlobalFunc.cxx:83
RooFit::MoveToBack
RooCmdArg MoveToBack()
Definition: RooGlobalFunc.cxx:67
RooFit::MsgLevel
MsgLevel
Verbosity level for RooMsgService::StreamConfig in RooMsgService.
Definition: RooGlobalFunc.h:65
Bool_t
bool Bool_t
Definition: RtypesCore.h:63
RooCmdArg::none
static const RooCmdArg & none()
Return reference to null argument.
Definition: RooCmdArg.cxx:52
RooFit::ImportFromFile
RooCmdArg ImportFromFile(const char *fname, const char *tname)
Definition: RooGlobalFunc.cxx:130
Color_t
short Color_t
Definition: RtypesCore.h:83
RooFit::MarkerSize
RooCmdArg MarkerSize(Size_t size)
Definition: RooGlobalFunc.cxx:87
RooFit::NumIntConfig
RooCmdArg NumIntConfig(const RooNumIntConfig &cfg)
Definition: RooGlobalFunc.cxx:263
RooFit::Integrate
RooCmdArg Integrate(Bool_t flag)
Definition: RooGlobalFunc.cxx:213
RooFit::HistFactory
@ HistFactory
Definition: RooGlobalFunc.h:69
RooFit::ExternalConstraints
RooCmdArg ExternalConstraints(const RooArgSet &constraintPdfs)
Definition: RooGlobalFunc.cxx:207
RooFit::NumIntegration
@ NumIntegration
Definition: RooGlobalFunc.h:69
RooFit::CutRange
RooCmdArg CutRange(const char *rangeName)
Definition: RooGlobalFunc.cxx:89
RooFit::TagName
RooCmdArg TagName(const char *name)
Definition: RooGlobalFunc.cxx:308
RooFitResult
RooFitResult is a container class to hold the input and output of a PDF fit to a dataset.
Definition: RooFitResult.h:40
RooFit::Slice
RooCmdArg Slice(const RooArgSet &sliceSet)
Definition: RooGlobalFunc.cxx:40
RooFit::Project
RooCmdArg Project(const RooArgSet &projSet)
Definition: RooGlobalFunc.cxx:43
RooFit::FitOptions
RooCmdArg FitOptions(const char *opts)
Definition: RooGlobalFunc.cxx:187
RooFit::FitGauss
RooCmdArg FitGauss(Bool_t flag=kTRUE)
Definition: RooGlobalFunc.cxx:288
RooFit::StoreError
RooCmdArg StoreError(const RooArgSet &aset)
Definition: RooGlobalFunc.cxx:131
RooFit::RecycleConflictNodes
RooCmdArg RecycleConflictNodes(Bool_t flag=kTRUE)
Definition: RooGlobalFunc.cxx:316
RooAbsCategory
RooAbsCategory is the base class for objects that represent a discrete value with a finite number of ...
Definition: RooAbsCategory.h:38
RooFit::ScanNumCdf
RooCmdArg ScanNumCdf()
Definition: RooGlobalFunc.cxx:335
RooFit::FastEvaluations
@ FastEvaluations
Definition: RooGlobalFunc.h:69
style
TCanvas * style()
Definition: style.C:1
RooFit::LinkStateMgmt
@ LinkStateMgmt
Definition: RooGlobalFunc.h:67
RooFit::Asimov
RooCmdArg Asimov(Bool_t flag=kTRUE)
Definition: RooGlobalFunc.cxx:239
RooFit::ScanParameters
RooCmdArg ScanParameters(Int_t nbins, Int_t intOrder)
Definition: RooGlobalFunc.cxx:334
hi
float type_of_call hi(const int &, const int &)
RooFit::GlobalObservables
RooCmdArg GlobalObservables(const RooArgSet &globs)
Definition: RooGlobalFunc.cxx:204
RooFit::Weight
RooCmdArg Weight(Double_t wgt)
Definition: RooGlobalFunc.cxx:97
RooFit::DataHandling
@ DataHandling
Definition: RooGlobalFunc.h:69
RooFit::Rename
RooCmdArg Rename(const char *suffix)
Definition: RooGlobalFunc.cxx:321
RooFit::WARNING
@ WARNING
Definition: RooGlobalFunc.h:65
RooDataHist
The RooDataHist is a container class to hold N-dimensional binned data.
Definition: RooDataHist.h:39
RooFit::AutoSymRange
RooCmdArg AutoSymRange(const RooAbsData &data, Double_t marginFactor=0.1)
Definition: RooGlobalFunc.cxx:178
RooFit::ProtoData
RooCmdArg ProtoData(const RooDataSet &protoData, Bool_t randomizeOrder=kFALSE, Bool_t resample=kFALSE)
Definition: RooGlobalFunc.cxx:234
RooFit::Cut
RooCmdArg Cut(const char *cutSpec)
Definition: RooGlobalFunc.cxx:81
RooFit::DrawOption
RooCmdArg DrawOption(const char *opt)
Definition: RooGlobalFunc.cxx:39
RooFormulaVar
A RooFormulaVar is a generic implementation of a real-valued object, which takes a RooArgList of serv...
Definition: RooFormulaVar.h:30
RooFit::Label
RooCmdArg Label(const char *str)
Definition: RooGlobalFunc.cxx:222
RooFit::Layout
RooCmdArg Layout(Double_t xmin, Double_t xmax=0.99, Double_t ymin=0.95)
Definition: RooGlobalFunc.cxx:223
RooFit::ScanAllCdf
RooCmdArg ScanAllCdf()
Definition: RooGlobalFunc.cxx:336
RooFit::FixedPrecision
RooCmdArg FixedPrecision(Int_t ndigit=2)
Definition: RooGlobalFunc.cxx:297
RooFit::AxisLabel
RooCmdArg AxisLabel(const char *name)
Definition: RooGlobalFunc.cxx:248
xmin
float xmin
Definition: THbookFile.cxx:95
RooFit::IntrinsicBinning
RooCmdArg IntrinsicBinning(Bool_t flag=kTRUE)
Definition: RooGlobalFunc.cxx:252
RooFit::Interleave
@ Interleave
Definition: RooGlobalFunc.h:70
RooFit::SimComponents
@ SimComponents
Definition: RooGlobalFunc.h:70
RooFit
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
Definition: RooCFunction1Binding.h:29
RooFit::LatexStyle
RooCmdArg LatexStyle(Bool_t flag=kTRUE)
Definition: RooGlobalFunc.cxx:299
RooFit::Efficiency
RooCmdArg Efficiency(const RooCategory &cat)
Definition: RooGlobalFunc.cxx:93
RooFit::ProjectedObservables
RooCmdArg ProjectedObservables(const RooArgSet &set)
Definition: RooGlobalFunc.cxx:200
RooFit::AutoBinned
RooCmdArg AutoBinned(Bool_t flag=kTRUE)
Definition: RooGlobalFunc.cxx:240
RooFit::FATAL
@ FATAL
Definition: RooGlobalFunc.h:65
RooFit::GlobalObservablesTag
RooCmdArg GlobalObservablesTag(const char *tagName)
Definition: RooGlobalFunc.cxx:205
RooFit::Constrain
RooCmdArg Constrain(const RooArgSet &params)
Definition: RooGlobalFunc.cxx:203
RooFit::ZVar
RooCmdArg ZVar(const RooAbsRealLValue &var, const RooCmdArg &arg=RooCmdArg::none())
Definition: RooGlobalFunc.cxx:247
RooFit::Name
RooCmdArg Name(const char *name)
Definition: RooGlobalFunc.cxx:63
RooFit::RefreshNorm
RooCmdArg RefreshNorm()
Definition: RooGlobalFunc.cxx:92
Width_t
short Width_t
Definition: RtypesCore.h:82
RooFit::Generation
@ Generation
Definition: RooGlobalFunc.h:67
RooFit::Restrict
RooCmdArg Restrict(const char *catName, const char *stateNameList)
Definition: RooGlobalFunc.cxx:330
RooFit::Verbose
RooCmdArg Verbose(Bool_t flag=kTRUE)
Definition: RooGlobalFunc.cxx:189
kFALSE
const Bool_t kFALSE
Definition: RtypesCore.h:92
RooFit::Fitting
@ Fitting
Definition: RooGlobalFunc.h:67
RooFit::FitModel
RooCmdArg FitModel(RooAbsPdf &pdf)
Definition: RooGlobalFunc.cxx:267
RooFit::Plotting
@ Plotting
Definition: RooGlobalFunc.h:67
RooAbsBinning
RooAbsBinning is the abstract base class for RooRealVar binning definitions.
Definition: RooAbsBinning.h:26
RooAbsCollection
RooAbsCollection is an abstract container object that can hold multiple RooAbsArg objects.
Definition: RooAbsCollection.h:31
what
static const char * what
Definition: stlLoader.cc:6
RooFit::Invisible
RooCmdArg Invisible(bool inv=true)
Definition: RooGlobalFunc.cxx:64
RooFitShortHand::C
RooConstVar & C(Double_t value)
Definition: RooGlobalFunc.cxx:386
RooFit::Embedded
RooCmdArg Embedded(Bool_t flag=kTRUE)
Definition: RooGlobalFunc.cxx:322
TF3
A 3-Dim function with parameters.
Definition: TF3.h:28
RooFit::EvalErrorWall
RooCmdArg EvalErrorWall(Bool_t flag)
Definition: RooGlobalFunc.cxx:209
RooFit::Rescale
RooCmdArg Rescale(Double_t factor)
Definition: RooGlobalFunc.cxx:94
RooFit::BaseClassName
RooCmdArg BaseClassName(const char *name)
Definition: RooGlobalFunc.cxx:307
RooFit::ObjectHandling
@ ObjectHandling
Definition: RooGlobalFunc.h:68
RooFit::IntegratedObservables
RooCmdArg IntegratedObservables(const RooArgSet &intObs)
Definition: RooGlobalFunc.cxx:259
RooFit::FrameRange
RooCmdArg FrameRange(Double_t xlo, Double_t xhi)
Definition: RooGlobalFunc.cxx:287
RooFit::ConditionalObservables
RooCmdArg ConditionalObservables(const RooArgSet &set)
Definition: RooGlobalFunc.cxx:199
RooFit::InitialHesse
RooCmdArg InitialHesse(Bool_t flag=kTRUE)
Definition: RooGlobalFunc.cxx:195
RooFit::BulkPartition
@ BulkPartition
Definition: RooGlobalFunc.h:70
RooFit::Binned
RooCmdArg Binned(Bool_t flag=kTRUE)
Definition: RooGlobalFunc.cxx:274
RooFit::PROGRESS
@ PROGRESS
Definition: RooGlobalFunc.h:65
RooFitShortHand::L
RooArgList L(const RooAbsArg &v1)
Definition: RooGlobalFunc.cxx:370
RooCmdArg.h
RooFit::RecoverFromUndefinedRegions
RooCmdArg RecoverFromUndefinedRegions(double strength)
When parameters are chosen such that a PDF is undefined, try to indicate to the minimiser how to leav...
Definition: RooGlobalFunc.cxx:218
ymin
float ymin
Definition: THbookFile.cxx:95
TF2
A 2-Dim function with parameters.
Definition: TF2.h:29
RooFit::StoreAsymError
RooCmdArg StoreAsymError(const RooArgSet &aset)
Definition: RooGlobalFunc.cxx:132
RooFit::SupNormSet
RooCmdArg SupNormSet(const RooArgSet &nset)
Definition: RooGlobalFunc.cxx:333
RooFit::Strategy
RooCmdArg Strategy(Int_t code)
Definition: RooGlobalFunc.cxx:194
RooFit::Tracing
@ Tracing
Definition: RooGlobalFunc.h:68
RooFit::Minimizer
RooCmdArg Minimizer(const char *type, const char *alg=0)
Definition: RooGlobalFunc.cxx:214
RooFit::NormSet
RooCmdArg NormSet(const RooArgSet &nset)
Definition: RooGlobalFunc.cxx:262
RooFit::Conditional
RooCmdArg Conditional(const RooArgSet &pdfSet, const RooArgSet &depSet, Bool_t depsAreCond=kFALSE)
Definition: RooGlobalFunc.cxx:231
RooMsgService
The class RooMsgService is a singleton that organizes messages generated in RooFit.
Definition: RooMsgService.h:106
RooFit::NumCPU
RooCmdArg NumCPU(Int_t nCPU, Int_t interleave=0)
Definition: RooGlobalFunc.cxx:158
RooFit::VerbatimName
RooCmdArg VerbatimName(Bool_t flag=kTRUE)
Definition: RooGlobalFunc.cxx:301
RooFit::LineColor
RooCmdArg LineColor(Color_t color)
Definition: RooGlobalFunc.cxx:57
RooFit::AllBinned
RooCmdArg AllBinned()
Definition: RooGlobalFunc.cxx:242
v1
@ v1
Definition: rootcling_impl.cxx:3637
Double_t
double Double_t
Definition: RtypesCore.h:59
RooFit::ProjectionRange
RooCmdArg ProjectionRange(const char *rangeName)
Definition: RooGlobalFunc.cxx:62
RooFit::ScanNoCdf
RooCmdArg ScanNoCdf()
Definition: RooGlobalFunc.cxx:337
RooFit::AutoBinning
RooCmdArg AutoBinning(Int_t nbins=100, Double_t marginFactor=0.1)
Definition: RooGlobalFunc.cxx:256
RooFit::ClassName
RooCmdArg ClassName(const char *name)
Definition: RooGlobalFunc.cxx:306
RooCategory
RooCategory is an object to represent discrete states.
Definition: RooCategory.h:27
v3
@ v3
Definition: rootcling_impl.cxx:3639
RooFit::Frame
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())
Definition: RooGlobalFunc.cxx:279
v2
@ v2
Definition: rootcling_impl.cxx:3638
RooFit::Hybrid
@ Hybrid
Definition: RooGlobalFunc.h:70
RooFit::Parameters
RooCmdArg Parameters(const RooArgSet &params)
Definition: RooGlobalFunc.cxx:224
RooFit::RenameAllVariables
RooCmdArg RenameAllVariables(const char *suffix)
Definition: RooGlobalFunc.cxx:318
RooFit::FillStyle
RooCmdArg FillStyle(Style_t style)
Definition: RooGlobalFunc.cxx:61
TH1
TH1 is the base class of all histogramm classes in ROOT.
Definition: TH1.h:58
RooFit::OutputStream
RooCmdArg OutputStream(std::ostream &os)
Definition: RooGlobalFunc.cxx:309
RooFit::NormRange
RooCmdArg NormRange(const char *rangeNameList)
Definition: RooGlobalFunc.cxx:55
RooFit::Format
RooCmdArg Format(const char *format, Int_t sigDigit)
Definition: RooGlobalFunc.cxx:167
RooFit::Range
RooCmdArg Range(const char *rangeName, Bool_t adjustNorm=kTRUE)
Definition: RooGlobalFunc.cxx:53
v4
@ v4
Definition: rootcling_impl.cxx:3640
name
char name[80]
Definition: TGX11.cxx:110
RooFit::AutoRange
RooCmdArg AutoRange(const RooAbsData &data, Double_t marginFactor=0.1)
Definition: RooGlobalFunc.cxx:179
RooFit::OwnLinked
RooCmdArg OwnLinked()
Definition: RooGlobalFunc.cxx:133
RooFit::Topic
RooCmdArg Topic(Int_t topic)
Definition: RooGlobalFunc.cxx:304
RooFit::ERROR
@ ERROR
Definition: RooGlobalFunc.h:65
RooFit::CloneData
RooCmdArg CloneData(Bool_t flag)
Definition: RooGlobalFunc.cxx:212
RooFit::Caching
@ Caching
Definition: RooGlobalFunc.h:68
RooDataSet
RooDataSet is a container class to hold unbinned data.
Definition: RooDataSet.h:33
RooFit::MarkerColor
RooCmdArg MarkerColor(Color_t color)
Definition: RooGlobalFunc.cxx:88
RooAbsArg
RooAbsArg is the common abstract base class for objects that represent a value and a "shape" in RooFi...
Definition: RooAbsArg.h:72
RooFit::SplitParam
RooCmdArg SplitParam(const char *varname, const char *catname)
Definition: RooGlobalFunc.cxx:326
RooNumIntConfig
RooNumIntConfig holds the configuration parameters of the various numeric integrators used by RooReal...
Definition: RooNumIntConfig.h:25
RooAbsPdf
Definition: RooAbsPdf.h:43
RooFit::LineWidth
RooCmdArg LineWidth(Width_t width)
Definition: RooGlobalFunc.cxx:59
RooFit::LatexTableStyle
RooCmdArg LatexTableStyle(Bool_t flag=kTRUE)
Definition: RooGlobalFunc.cxx:300
RooFit::TLatexStyle
RooCmdArg TLatexStyle(Bool_t flag=kTRUE)
Definition: RooGlobalFunc.cxx:298
type
int type
Definition: TGX11.cxx:121
RooFit::Silence
RooCmdArg Silence(Bool_t flag=kTRUE)
Definition: RooGlobalFunc.cxx:266
RooFit::Index
RooCmdArg Index(RooCategory &icat)
Definition: RooGlobalFunc.cxx:98
RooFit::LineStyle
RooCmdArg LineStyle(Style_t style)
Definition: RooGlobalFunc.cxx:58
RooFit::MultiArg
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())
Definition: RooGlobalFunc.cxx:340
TF1
1-Dim function class
Definition: TF1.h:213
RooFit::Integration
@ Integration
Definition: RooGlobalFunc.h:67
RooFit::INFO
@ INFO
Definition: RooGlobalFunc.h:65
RooRealVar
RooRealVar represents a variable that can be changed from the outside.
Definition: RooRealVar.h:37
RooFit::GenBinned
RooCmdArg GenBinned(const char *tag)
Definition: RooGlobalFunc.cxx:241
RooFit::Eval
@ Eval
Definition: RooGlobalFunc.h:68
RooFit::Components
RooCmdArg Components(const RooArgSet &compSet)
Definition: RooGlobalFunc.cxx:75
RooFit::Save
RooCmdArg Save(Bool_t flag=kTRUE)
Definition: RooGlobalFunc.cxx:190
RooFit::VLines
RooCmdArg VLines()
Definition: RooGlobalFunc.cxx:56
RooFit::Link
RooCmdArg Link(const char *state, RooAbsData &data)
Definition: RooGlobalFunc.cxx:126
RooFit::Contents
@ Contents
Definition: RooGlobalFunc.h:69
RooAbsRealLValue
RooAbsRealLValue is the common abstract base class for objects that represent a real value that may a...
Definition: RooAbsRealLValue.h:31
RooFit::Optimize
RooCmdArg Optimize(Int_t flag=2)
Definition: RooGlobalFunc.cxx:188
RooFit::FrameBins
RooCmdArg FrameBins(Int_t nbins)
Definition: RooGlobalFunc.cxx:286
RooFit::PrefitDataFraction
RooCmdArg PrefitDataFraction(Double_t data_ratio=0.0)
Definition: RooGlobalFunc.cxx:186
RooFit::Title
RooCmdArg Title(const char *name)
Definition: RooGlobalFunc.cxx:176
RooFit::Scaling
RooCmdArg Scaling(Bool_t flag)
Definition: RooGlobalFunc.cxx:249
RooFit::ObjectName
RooCmdArg ObjectName(const char *name)
Definition: RooGlobalFunc.cxx:305
RooFit::AsymptoticError
RooCmdArg AsymptoticError(Bool_t flag)
Definition: RooGlobalFunc.cxx:211
RooFit::SplitRange
RooCmdArg SplitRange(Bool_t flag=kTRUE)
Definition: RooGlobalFunc.cxx:201
RooArgSet
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Definition: RooArgSet.h:29
RooFit::ExpectedData
RooCmdArg ExpectedData(Bool_t flag=kTRUE)
Definition: RooGlobalFunc.cxx:238
RooFit::Timer
RooCmdArg Timer(Bool_t flag=kTRUE)
Definition: RooGlobalFunc.cxx:191
RooFit::AddTo
RooCmdArg AddTo(const char *name, double wgtSel=1.0, double wgtOther=1.0)
Definition: RooGlobalFunc.cxx:65
Size_t
float Size_t
Definition: RtypesCore.h:87
RooFit::Extended
RooCmdArg Extended(Bool_t flag=kTRUE)
Definition: RooGlobalFunc.cxx:156
RooFit::RooConst
RooConstVar & RooConst(Double_t val)
Definition: RooGlobalFunc.cxx:347
RooFit::Import
RooCmdArg Import(const char *state, TH1 &histo)
Definition: RooGlobalFunc.cxx:99
RooFit::ShowProgress
RooCmdArg ShowProgress()
Definition: RooGlobalFunc.cxx:72