Logo ROOT   master
Reference Guide
RooGlobalFunc.cxx
Go to the documentation of this file.
1 /*****************************************************************************
2  * Project: RooFit *
3  * Package: RooFitCore *
4  * @(#)root/roofitcore:$Id$
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 
17 // Global helper functions
18 
19 #include "RooGlobalFunc.h"
20 
21 #include "RooFit.h"
22 #include "RooCategory.h"
23 #include "RooRealConstant.h"
24 #include "RooDataSet.h"
25 #include "RooDataHist.h"
26 #include "RooNumIntConfig.h"
27 #include "RooRealVar.h"
28 #include "RooFitResult.h"
29 #include "RooAbsPdf.h"
30 #include "RooFormulaVar.h"
31 #include "TH1.h"
32 
33 using namespace std;
34 
35 namespace RooFit {
36 
37  // RooAbsReal::plotOn arguments
38  RooCmdArg DrawOption(const char* opt) { return RooCmdArg("DrawOption",0,0,0,0,opt,0,0,0) ; }
39  RooCmdArg Slice(const RooArgSet& sliceSet) { return RooCmdArg("SliceVars",0,0,0,0,0,0,&sliceSet,0) ; }
40  RooCmdArg Slice(RooCategory& cat, const char* label) { return RooCmdArg("SliceCat",0,0,0,0,label,0,&cat,0) ; }
41 
42  RooCmdArg Project(const RooArgSet& projSet) { return RooCmdArg("Project",0,0,0,0,0,0,&projSet,0) ; }
43  RooCmdArg ProjWData(const RooArgSet& projSet,
44  const RooAbsData& projData,
45  Bool_t binData) { return RooCmdArg("ProjData",binData,0,0,0,0,0,&projSet,&projData) ; }
46  RooCmdArg ProjWData(const RooAbsData& projData,
47  Bool_t binData) { return RooCmdArg("ProjData",binData,0,0,0,0,0,0,&projData) ; }
48  RooCmdArg Asymmetry(const RooCategory& cat) { return RooCmdArg("Asymmetry",0,0,0,0,0,0,&cat,0) ; }
49  RooCmdArg Precision(Double_t prec) { return RooCmdArg("Precision",0,0,prec,0,0,0,0,0) ; }
50  RooCmdArg ShiftToZero() { return RooCmdArg("ShiftToZero",1,0,0,0,0,0,0,0) ; }
51  RooCmdArg Normalization(Double_t scaleFactor) { return RooCmdArg("Normalization",RooAbsReal::Relative,0,scaleFactor,0,0,0,0,0) ; }
52  RooCmdArg Range(const char* rangeName, Bool_t adjustNorm) { return RooCmdArg("RangeWithName",adjustNorm,0,0,0,rangeName,0,0,0) ; }
53  RooCmdArg Range(Double_t lo, Double_t hi, Bool_t adjustNorm){ return RooCmdArg("Range",adjustNorm,0,lo,hi,0,0,0,0) ; }
54  RooCmdArg NormRange(const char* rangeNameList) { return RooCmdArg("NormRange",0,0,0,0,rangeNameList,0,0,0) ; }
55  RooCmdArg VLines() { return RooCmdArg("VLines",1,0,0,0,0,0,0,0) ; }
56  RooCmdArg LineColor(Color_t color) { return RooCmdArg("LineColor",color,0,0,0,0,0,0,0) ; }
57  RooCmdArg LineStyle(Style_t style) { return RooCmdArg("LineStyle",style,0,0,0,0,0,0,0) ; }
58  RooCmdArg LineWidth(Width_t width) { return RooCmdArg("LineWidth",width,0,0,0,0,0,0,0) ; }
59  RooCmdArg FillColor(Color_t color) { return RooCmdArg("FillColor",color,0,0,0,0,0,0,0) ; }
60  RooCmdArg FillStyle(Style_t style) { return RooCmdArg("FillStyle",style,0,0,0,0,0,0,0) ; }
61  RooCmdArg ProjectionRange(const char* rangeName) { return RooCmdArg("ProjectionRange",0,0,0,0,rangeName,0,0,0) ; }
62  RooCmdArg Name(const char* name) { return RooCmdArg("Name",0,0,0,0,name,0,0,0) ; }
63  RooCmdArg Invisible(bool inv) { return RooCmdArg("Invisible",inv,0,0,0,0,0,0,0) ; }
64  RooCmdArg AddTo(const char* name, double wgtSel, double wgtOther) { return RooCmdArg("AddTo",0,0,wgtSel,wgtOther,name,0,0,0) ; }
65  RooCmdArg EvalErrorValue(Double_t val) { return RooCmdArg("EvalErrorValue",1,0,val,0,0,0,0,0) ; }
66  RooCmdArg MoveToBack() { return RooCmdArg("MoveToBack",1,0,0,0,0,0,0,0) ; }
67  RooCmdArg VisualizeError(const RooFitResult& fitres, Double_t Z, Bool_t EVmethod) { return RooCmdArg("VisualizeError",EVmethod,0,Z,0,0,0,&fitres,0) ; }
68  RooCmdArg VisualizeError(const RooFitResult& fitres, const RooArgSet& param, Double_t Z, Bool_t EVmethod)
69  { return RooCmdArg("VisualizeError",EVmethod,0,Z,0,0,0,&fitres,0,0,0,&param) ; }
70  RooCmdArg VisualizeError(const RooDataSet& paramData, Double_t Z) { return RooCmdArg("VisualizeErrorData",0,0,Z,0,0,0,&paramData,0) ; }
71  RooCmdArg ShowProgress() { return RooCmdArg("ShowProgress",1,0,0,0,0,0,0,0) ; }
72 
73  // RooAbsPdf::plotOn arguments
74  RooCmdArg Components(const RooArgSet& compSet) { return RooCmdArg("SelectCompSet",0,0,0,0,0,0,&compSet,0) ; }
75  RooCmdArg Components(const char* compSpec) { return RooCmdArg("SelectCompSpec",0,0,0,0,compSpec,0,0,0) ; }
76  RooCmdArg Normalization(Double_t scaleFactor, Int_t scaleType)
77  { return RooCmdArg("Normalization",scaleType,0,scaleFactor,0,0,0,0,0) ; }
78 
79  // RooAbsData::plotOn arguments
80  RooCmdArg Cut(const char* cutSpec) { return RooCmdArg("CutSpec",0,0,0,0,cutSpec,0,0,0) ; }
81  RooCmdArg Cut(const RooFormulaVar& cutVar) { return RooCmdArg("CutVar",0,0,0,0,0,0,&cutVar,0) ; }
82  RooCmdArg Binning(const RooAbsBinning& binning) { return RooCmdArg("Binning",0,0,0,0,0,0,&binning,0) ;}
83  RooCmdArg Binning(const char* binningName) { return RooCmdArg("BinningName",0,0,0,0,binningName,0,0,0) ;}
84  RooCmdArg Binning(Int_t nBins, Double_t xlo, Double_t xhi) { return RooCmdArg("BinningSpec",nBins,0,xlo,xhi,0,0,0,0) ;}
85  RooCmdArg MarkerStyle(Style_t style) { return RooCmdArg("MarkerStyle",style,0,0,0,0,0,0,0) ; }
86  RooCmdArg MarkerSize(Size_t size) { return RooCmdArg("MarkerSize",0,0,size,0,0,0,0,0) ; }
87  RooCmdArg MarkerColor(Color_t color) { return RooCmdArg("MarkerColor",color,0,0,0,0,0,0,0) ; }
88  RooCmdArg CutRange(const char* rangeName) { return RooCmdArg("CutRange",0,0,0,0,rangeName,0,0,0) ; }
89  RooCmdArg AddTo(const char* name) { return RooCmdArg("AddTo",0,0,0,0,name,0,0,0) ; }
90  RooCmdArg XErrorSize(Double_t width) { return RooCmdArg("XErrorSize",0,0,width,0,0,0,0,0) ; }
91  RooCmdArg RefreshNorm() { return RooCmdArg("RefreshNorm",1,0,0,0,0,0,0,0) ; }
92  RooCmdArg Efficiency(const RooCategory& cat) { return RooCmdArg("Efficiency",0,0,0,0,0,0,&cat,0) ; }
93  RooCmdArg Rescale(Double_t factor) { return RooCmdArg("Rescale",0,0,factor,0,0,0,0,0) ; }
94 
95  // RooDataHist::ctor arguments
96  RooCmdArg Weight(Double_t wgt) { return RooCmdArg("Weight",0,0,wgt,0,0,0,0,0) ; }
97  RooCmdArg Index(RooCategory& icat) { return RooCmdArg("IndexCat",0,0,0,0,0,0,&icat,0) ; }
98  RooCmdArg Import(const char* state, TH1& histo) { return RooCmdArg("ImportHistoSlice",0,0,0,0,state,0,&histo,0) ; }
99  RooCmdArg Import(const char* state, RooDataHist& dhist) { return RooCmdArg("ImportDataHistSlice",0,0,0,0,state,0,&dhist,0) ; }
100  RooCmdArg Import(TH1& histo, Bool_t importDensity) { return RooCmdArg("ImportHisto",importDensity,0,0,0,0,0,&histo,0) ; }
101 
102  RooCmdArg Import(const std::map<std::string,RooDataHist*>& arg) {
103  RooCmdArg container("ImportDataHistSliceMany",0,0,0,0,0,0,0,0) ;
104  std::map<std::string,RooDataHist*>::const_iterator iter ;
105  for (iter = arg.begin() ; iter!=arg.end() ; ++iter) {
106  container.addArg(Import(iter->first.c_str(),*(iter->second))) ;
107  }
108  container.setProcessRecArgs(kTRUE,kFALSE) ;
109  return container ;
110  }
111  RooCmdArg Import(const std::map<std::string,TH1*>& arg) {
112  RooCmdArg container("ImportHistoSliceMany",0,0,0,0,0,0,0,0) ;
113  std::map<std::string,TH1*>::const_iterator iter ;
114  for (iter = arg.begin() ; iter!=arg.end() ; ++iter) {
115  container.addArg(Import(iter->first.c_str(),*(iter->second))) ;
116  }
117  container.setProcessRecArgs(kTRUE,kFALSE) ;
118  return container ;
119  }
120 
121 
122  // RooDataSet::ctor arguments
123  RooCmdArg WeightVar(const char* name, Bool_t reinterpretAsWeight) { return RooCmdArg("WeightVarName",reinterpretAsWeight,0,0,0,name,0,0,0) ; }
124  RooCmdArg WeightVar(const RooRealVar& arg, Bool_t reinterpretAsWeight) { return RooCmdArg("WeightVar",reinterpretAsWeight,0,0,0,0,0,&arg,0) ; }
125  RooCmdArg Link(const char* state, RooAbsData& data) { return RooCmdArg("LinkDataSlice",0,0,0,0,state,0,&data,0) ;}
126  RooCmdArg Import(const char* state, RooDataSet& data) { return RooCmdArg("ImportDataSlice",0,0,0,0,state,0,&data,0) ; }
127  RooCmdArg Import(RooDataSet& data) { return RooCmdArg("ImportData",0,0,0,0,0,0,&data,0) ; }
128  RooCmdArg Import(TTree& tree) { return RooCmdArg("ImportTree",0,0,0,0,0,0,reinterpret_cast<TObject*>(&tree),0) ; }
129  RooCmdArg ImportFromFile(const char* fname, const char* tname){ return RooCmdArg("ImportFromFile",0,0,0,0,fname,tname,0,0) ; }
130  RooCmdArg StoreError(const RooArgSet& aset) { return RooCmdArg("StoreError",0,0,0,0,0,0,0,0,0,0,&aset) ; }
131  RooCmdArg StoreAsymError(const RooArgSet& aset) { return RooCmdArg("StoreAsymError",0,0,0,0,0,0,0,0,0,0,&aset) ; }
132  RooCmdArg OwnLinked() { return RooCmdArg("OwnLinked",1,0,0,0,0,0,0,0,0,0,0) ; }
133 
134  RooCmdArg Import(const std::map<std::string,RooDataSet*>& arg) {
135  RooCmdArg container("ImportDataSliceMany",0,0,0,0,0,0,0,0) ;
136  std::map<std::string,RooDataSet*>::const_iterator iter ;
137  for (iter = arg.begin() ; iter!=arg.end() ; ++iter) {
138  container.addArg(Import(iter->first.c_str(),*(iter->second))) ;
139  }
140  container.setProcessRecArgs(kTRUE,kFALSE) ;
141  return container ;
142  }
143  RooCmdArg Link(const std::map<std::string,RooAbsData*>& arg) {
144  RooCmdArg container("LinkDataSliceMany",0,0,0,0,0,0,0,0) ;
145  std::map<std::string,RooAbsData*>::const_iterator iter ;
146  for (iter = arg.begin() ; iter!=arg.end() ; ++iter) {
147  container.addArg(Link(iter->first.c_str(),*(iter->second))) ;
148  }
149  container.setProcessRecArgs(kTRUE,kFALSE) ;
150  return container ;
151  }
152 
153 
154  // RooChi2Var::ctor / RooNLLVar arguments
155  RooCmdArg Extended(Bool_t flag) { return RooCmdArg("Extended",flag,0,0,0,0,0,0,0) ; }
156  RooCmdArg DataError(Int_t etype) { return RooCmdArg("DataError",(Int_t)etype,0,0,0,0,0,0,0) ; }
157  RooCmdArg NumCPU(Int_t nCPU, Int_t interleave) { return RooCmdArg("NumCPU",nCPU,interleave,0,0,0,0,0,0) ; }
158  RooCmdArg BatchMode(bool flag) { return RooCmdArg("BatchMode", flag); }
159 
160  // RooAbsCollection::printLatex arguments
161  RooCmdArg Columns(Int_t ncol) { return RooCmdArg("Columns",ncol,0,0,0,0,0,0,0) ; }
162  RooCmdArg OutputFile(const char* fileName) { return RooCmdArg("OutputFile",0,0,0,0,fileName,0,0,0) ; }
163  RooCmdArg Sibling(const RooAbsCollection& sibling) { return RooCmdArg("Sibling",0,0,0,0,0,0,&sibling,0) ; }
164  RooCmdArg Format(const char* format, Int_t sigDigit) { return RooCmdArg("Format",sigDigit,0,0,0,format,0,0,0) ; }
165  RooCmdArg Format(const char* what, const RooCmdArg& arg1,const RooCmdArg& arg2,const RooCmdArg& arg3,const RooCmdArg& arg4,
166  const RooCmdArg& arg5,const RooCmdArg& arg6,const RooCmdArg& arg7,const RooCmdArg& arg8) {
167  RooCmdArg ret("FormatArgs",0,0,0,0,what,0,0,0) ; ret.addArg(arg1) ; ret.addArg(arg2) ;
168  ret.addArg(arg3) ; ret.addArg(arg4) ; ret.addArg(arg5) ; ret.addArg(arg6) ; ret.addArg(arg7) ; ret.addArg(arg8) ;
169  ret.setProcessRecArgs(kFALSE) ; return ret ;
170  }
171 
172  // RooAbsRealLValue::frame arguments
173  RooCmdArg Title(const char* name) { return RooCmdArg("Title",0,0,0,0,name,0,0,0) ; }
174  RooCmdArg Bins(Int_t nbin) { return RooCmdArg("Bins",nbin,0,0,0,0,0,0,0) ; }
175  RooCmdArg AutoSymRange(const RooAbsData& data, Double_t marginFactor) { return RooCmdArg("AutoRange",1,0,marginFactor,0,0,0,&data,0) ; }
176  RooCmdArg AutoRange(const RooAbsData& data, Double_t marginFactor) { return RooCmdArg("AutoRange",0,0,marginFactor,0,0,0,&data,0) ; }
177 
178  // RooAbsData::reduce arguments
179  RooCmdArg SelectVars(const RooArgSet& vars) { return RooCmdArg("SelectVars",0,0,0,0,0,0,&vars,0) ; }
180  RooCmdArg EventRange(Int_t nStart, Int_t nStop) { return RooCmdArg("EventRange",nStart,nStop,0,0,0,0,0,0) ; }
181 
182  // RooAbsPdf::fitTo arguments
183  RooCmdArg PrefitDataFraction(Double_t data_ratio) { return RooCmdArg("Prefit",0,0,data_ratio,0,nullptr,nullptr,nullptr,nullptr) ; }
184  RooCmdArg FitOptions(const char* opts) { return RooCmdArg("FitOptions",0,0,0,0,opts,0,0,0) ; }
185  RooCmdArg Optimize(Int_t flag) { return RooCmdArg("Optimize",flag,0,0,0,0,0,0,0) ; }
186  RooCmdArg Verbose(Bool_t flag) { return RooCmdArg("Verbose",flag,0,0,0,0,0,0,0) ; }
187  RooCmdArg Save(Bool_t flag) { return RooCmdArg("Save",flag,0,0,0,0,0,0,0) ; }
188  RooCmdArg Timer(Bool_t flag) { return RooCmdArg("Timer",flag,0,0,0,0,0,0,0) ; }
189  RooCmdArg PrintLevel(Int_t level) { return RooCmdArg("PrintLevel",level,0,0,0,0,0,0,0) ; }
190  RooCmdArg Warnings(Bool_t flag) { return RooCmdArg("Warnings",flag,0,0,0,0,0,0,0) ; }
191  RooCmdArg Strategy(Int_t code) { return RooCmdArg("Strategy",code,0,0,0,0,0,0,0) ; }
192  RooCmdArg InitialHesse(Bool_t flag) { return RooCmdArg("InitialHesse",flag,0,0,0,0,0,0,0) ; }
193  RooCmdArg Hesse(Bool_t flag) { return RooCmdArg("Hesse",flag,0,0,0,0,0,0,0) ; }
194  RooCmdArg Minos(Bool_t flag) { return RooCmdArg("Minos",flag,0,0,0,0,0,0,0) ; }
195  RooCmdArg Minos(const RooArgSet& minosArgs) { return RooCmdArg("Minos",kTRUE,0,0,0,0,0,&minosArgs,0) ; }
196  RooCmdArg ConditionalObservables(const RooArgSet& set) { return RooCmdArg("ProjectedObservables",0,0,0,0,0,0,0,0,0,0,&set) ; }
197  RooCmdArg ProjectedObservables(const RooArgSet& set) { return RooCmdArg("ProjectedObservables",0,0,0,0,0,0,0,0,0,0,&set) ; }
198  RooCmdArg SplitRange(Bool_t flag) { return RooCmdArg("SplitRange",flag,0,0,0,0,0,0,0) ; }
199  RooCmdArg SumCoefRange(const char* rangeName) { return RooCmdArg("SumCoefRange",0,0,0,0,rangeName,0,0,0) ; }
200  RooCmdArg Constrain(const RooArgSet& params) { return RooCmdArg("Constrain",0,0,0,0,0,0,0,0,0,0,&params) ; }
201  RooCmdArg GlobalObservables(const RooArgSet& globs) { return RooCmdArg("GlobalObservables",0,0,0,0,0,0,0,0,0,0,&globs) ; }
202  RooCmdArg GlobalObservablesTag(const char* tagName) { return RooCmdArg("GlobalObservablesTag",0,0,0,0,tagName,0,0,0) ; }
203 // RooCmdArg Constrained() { return RooCmdArg("Constrained",kTRUE,0,0,0,0,0,0,0) ; }
204  RooCmdArg ExternalConstraints(const RooArgSet& cpdfs) { return RooCmdArg("ExternalConstraints",0,0,0,0,0,0,&cpdfs,0,0,0,&cpdfs) ; }
205  RooCmdArg PrintEvalErrors(Int_t numErrors) { return RooCmdArg("PrintEvalErrors",numErrors,0,0,0,0,0,0,0) ; }
206  RooCmdArg EvalErrorWall(Bool_t flag) { return RooCmdArg("EvalErrorWall",flag,0,0,0,0,0,0,0) ; }
207  RooCmdArg SumW2Error(Bool_t flag) { return RooCmdArg("SumW2Error",flag,0,0,0,0,0,0,0) ; }
208  RooCmdArg AsymptoticError(Bool_t flag) { return RooCmdArg("AsymptoticError",flag,0,0,0,0,0,0,0) ; }
209  RooCmdArg CloneData(Bool_t flag) { return RooCmdArg("CloneData",flag,0,0,0,0,0,0,0) ; }
210  RooCmdArg Integrate(Bool_t flag) { return RooCmdArg("Integrate",flag,0,0,0,0,0,0,0) ; }
211  RooCmdArg Minimizer(const char* type, const char* alg) { return RooCmdArg("Minimizer",0,0,0,0,type,alg,0,0) ; }
212  RooCmdArg Offset(Bool_t flag) { return RooCmdArg("OffsetLikelihood",flag,0,0,0,0,0,0,0) ; }
213 
214 
215  // RooAbsPdf::paramOn arguments
216  RooCmdArg Label(const char* str) { return RooCmdArg("Label",0,0,0,0,str,0,0,0) ; }
217  RooCmdArg Layout(Double_t xmin, Double_t xmax, Double_t ymin) { return RooCmdArg("Layout",Int_t(ymin*10000),0,xmin,xmax,0,0,0,0) ; }
218  RooCmdArg Parameters(const RooArgSet& params) { return RooCmdArg("Parameters",0,0,0,0,0,0,&params,0) ; }
219  RooCmdArg ShowConstants(Bool_t flag) { return RooCmdArg("ShowConstants",flag,0,0,0,0,0,0,0) ; }
220 
221  // RooTreeData::statOn arguments
222  RooCmdArg What(const char* str) { return RooCmdArg("What",0,0,0,0,str,0,0,0) ; }
223 
224  // RooProdPdf::ctor arguments
225  RooCmdArg Conditional(const RooArgSet& pdfSet, const RooArgSet& depSet, Bool_t depsAreCond) { return RooCmdArg("Conditional",depsAreCond,0,0,0,0,0,0,0,0,0,&pdfSet,&depSet) ; } ;
226 
227  // RooAbsPdf::generate arguments
228  RooCmdArg ProtoData(const RooDataSet& protoData, Bool_t randomizeOrder, Bool_t resample)
229  { return RooCmdArg("PrototypeData",randomizeOrder,resample,0,0,0,0,&protoData,0) ; }
230  RooCmdArg NumEvents(Int_t numEvents) { return RooCmdArg("NumEvents",numEvents,0,0,0,0,0,0,0) ; }
231  RooCmdArg NumEvents(Double_t numEvents) { return RooCmdArg("NumEventsD",0,0,numEvents,0,0,0,0,0) ; }
232  RooCmdArg ExpectedData(Bool_t flag) { return RooCmdArg("ExpectedData",flag,0,0,0,0,0,0,0) ; }
233  RooCmdArg Asimov(Bool_t flag) { return ExpectedData(flag) ; }
234  RooCmdArg AutoBinned(Bool_t flag) { return RooCmdArg("AutoBinned",flag,0,0,0,0,0,0,0) ; }
235  RooCmdArg GenBinned(const char* tag) { return RooCmdArg("GenBinned",0,0,0,0,tag,0,0,0) ; }
236  RooCmdArg AllBinned() { return RooCmdArg("GenBinned",0,0,0,0,"*",0,0,0) ; }
237 
238 
239  // RooAbsRealLValue::createHistogram arguments
240  RooCmdArg YVar(const RooAbsRealLValue& var, const RooCmdArg& arg) { return RooCmdArg("YVar",0,0,0,0,0,0,&var,0,&arg) ; }
241  RooCmdArg ZVar(const RooAbsRealLValue& var, const RooCmdArg& arg) { return RooCmdArg("ZVar",0,0,0,0,0,0,&var,0,&arg) ; }
242  RooCmdArg AxisLabel(const char* name) { return RooCmdArg("AxisLabel",0,0,0,0,name,0,0,0) ; }
243  RooCmdArg Scaling(Bool_t flag) { return RooCmdArg("Scaling",flag,0,0,0,0,0,0,0) ; }
244 
245  // RooAbsReal::createHistogram arguments
246  RooCmdArg IntrinsicBinning(Bool_t flag) { return RooCmdArg("IntrinsicBinning",flag,0,0,0,0,0,0,0) ; }
247 
248  // RooAbsData::createHistogram arguments
249  RooCmdArg AutoSymBinning(Int_t nbins, Double_t marginFactor) { return RooCmdArg("AutoRangeData",1,nbins,marginFactor,0,0,0,0,0) ; }
250  RooCmdArg AutoBinning(Int_t nbins, Double_t marginFactor) { return RooCmdArg("AutoRangeData",0,nbins,marginFactor,0,0,0,0,0) ; }
251 
252  // RooAbsReal::fillHistogram arguments
253  RooCmdArg IntegratedObservables(const RooArgSet& intObs) { return RooCmdArg("IntObs",0,0,0,0,0,0,0,0,0,0,&intObs,0) ; } ;
254 
255  // RooAbsReal::createIntegral arguments
256  RooCmdArg NormSet(const RooArgSet& nset) { return RooCmdArg("NormSet",0,0,0,0,0,0,&nset,0) ; }
257  RooCmdArg NumIntConfig(const RooNumIntConfig& cfg) { return RooCmdArg("NumIntConfig",0,0,0,0,0,0,&cfg,0) ; }
258 
259  // RooMCStudy::ctor arguments
260  RooCmdArg Silence(Bool_t flag) { return RooCmdArg("Silence",flag,0,0,0,0,0,0,0) ; }
261  RooCmdArg FitModel(RooAbsPdf& pdf) { return RooCmdArg("FitModel",0,0,0,0,0,0,&pdf,0) ; }
262  RooCmdArg FitOptions(const RooCmdArg& arg1 ,const RooCmdArg& arg2, const RooCmdArg& arg3,
263  const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6) {
264  RooCmdArg ret("FitOptArgs",0,0,0,0,0,0,0,0) ; ret.addArg(arg1) ; ret.addArg(arg2) ;
265  ret.addArg(arg3) ; ret.addArg(arg4) ; ret.addArg(arg5) ; ret.addArg(arg6) ;
266  ret.setProcessRecArgs(kFALSE) ; return ret ;
267  }
268  RooCmdArg Binned(Bool_t flag) { return RooCmdArg("Binned",flag,0,0,0,0,0,0,0) ; }
269  RooCmdArg BootStrapData(const RooDataSet& dset) { return RooCmdArg("BootStrapData",0,0,0,0,0,0,&dset,0) ; }
270 
271 
272  // RooMCStudy::plot* arguments
273  RooCmdArg Frame(const RooCmdArg& arg1,const RooCmdArg& arg2,
274  const RooCmdArg& arg3,const RooCmdArg& arg4,
275  const RooCmdArg& arg5,const RooCmdArg& arg6) {
276  RooCmdArg ret("FrameArgs",0,0,0,0,0,0,0,0) ; ret.addArg(arg1) ; ret.addArg(arg2) ;
277  ret.addArg(arg3) ; ret.addArg(arg4) ; ret.addArg(arg5) ; ret.addArg(arg6) ;
278  ret.setProcessRecArgs(kFALSE) ; return ret ;
279  }
280  RooCmdArg FrameBins(Int_t nbins) { return RooCmdArg("Bins",nbins,0,0,0,0,0,0,0) ; }
281  RooCmdArg FrameRange(Double_t xlo, Double_t xhi) { return RooCmdArg("Range",0,0,xlo,xhi,0,0,0,0) ; }
282  RooCmdArg FitGauss(Bool_t flag) { return RooCmdArg("FitGauss",flag,0,0,0,0,0,0,0) ; }
283 
284  // RooRealVar::format arguments
285  RooCmdArg ShowName(Bool_t flag) { return RooCmdArg("ShowName",flag,0,0,0,0,0,0,0) ; }
286  RooCmdArg ShowValue(Bool_t flag) { return RooCmdArg("ShowValue",flag,0,0,0,0,0,0,0) ; }
287  RooCmdArg ShowError(Bool_t flag) { return RooCmdArg("ShowError",flag,0,0,0,0,0,0,0) ; }
288  RooCmdArg ShowAsymError(Bool_t flag) { return RooCmdArg("ShowAsymError",flag,0,0,0,0,0,0,0) ; }
289  RooCmdArg ShowUnit(Bool_t flag) { return RooCmdArg("ShowUnit",flag,0,0,0,0,0,0,0) ; }
290  RooCmdArg AutoPrecision(Int_t ndigit) { return RooCmdArg("AutoPrecision",ndigit,0,0,0,0,0,0,0) ; }
291  RooCmdArg FixedPrecision(Int_t ndigit) { return RooCmdArg("FixedPrecision",ndigit,0,0,0,0,0,0,0) ; }
292  RooCmdArg TLatexStyle(Bool_t flag) { return RooCmdArg("TLatexStyle",flag,0,0,0,0,0,0,0) ; }
293  RooCmdArg LatexStyle(Bool_t flag) { return RooCmdArg("LatexStyle",flag,0,0,0,0,0,0,0) ; }
294  RooCmdArg LatexTableStyle(Bool_t flag) { return RooCmdArg("LatexTableStyle",flag,0,0,0,0,0,0,0) ; }
295  RooCmdArg VerbatimName(Bool_t flag) { return RooCmdArg("VerbatimName",flag,0,0,0,0,0,0,0) ; }
296 
297  // RooMsgService::addReportingStream arguments
298  RooCmdArg Topic(Int_t topic) { return RooCmdArg("Topic",topic,0,0,0,0,0,0,0) ; }
299  RooCmdArg ObjectName(const char* name) { return RooCmdArg("ObjectName",0,0,0,0,name,0,0,0) ; }
300  RooCmdArg ClassName(const char* name) { return RooCmdArg("ClassName",0,0,0,0,name,0,0,0) ; }
301  RooCmdArg BaseClassName(const char* name) { return RooCmdArg("BaseClassName",0,0,0,0,name,0,0,0) ; }
302  RooCmdArg TagName(const char* name) { return RooCmdArg("LabelName",0,0,0,0,name,0,0,0) ; }
303  RooCmdArg OutputStream(ostream& os) { return RooCmdArg("OutputStream",0,0,0,0,0,0,reinterpret_cast<TObject*>(&os),0) ; }
304  RooCmdArg Prefix(Bool_t flag) { return RooCmdArg("Prefix",flag,0,0,0,0,0,0,0) ; }
305  RooCmdArg Color(Color_t color) { return RooCmdArg("Color",color,0,0,0,0,0,0,0) ; }
306 
307 
308  // RooWorkspace::import() arguments
309  RooCmdArg RenameConflictNodes(const char* suffix, Bool_t ro) { return RooCmdArg("RenameConflictNodes",ro,0,0,0,suffix,0,0,0) ; }
310  RooCmdArg RecycleConflictNodes(Bool_t flag) { return RooCmdArg("RecycleConflictNodes",flag,0,0,0,0,0,0,0) ; }
311  RooCmdArg RenameAllNodes(const char* suffix) { return RooCmdArg("RenameAllNodes",0,0,0,0,suffix,0,0,0) ; }
312  RooCmdArg RenameAllVariables(const char* suffix) { return RooCmdArg("RenameAllVariables",0,0,0,0,suffix,0,0,0) ; }
313  RooCmdArg RenameAllVariablesExcept(const char* suffix, const char* except) { return RooCmdArg("RenameAllVariables",0,0,0,0,suffix,except,0,0) ; }
314  RooCmdArg RenameVariable(const char* in, const char* out) { return RooCmdArg("RenameVar",0,0,0,0,in,out,0,0) ; }
315  RooCmdArg Rename(const char* suffix) { return RooCmdArg("Rename",0,0,0,0,suffix,0,0,0) ; }
316  RooCmdArg Embedded(Bool_t flag) { return RooCmdArg("Embedded",flag,0,0,0,0,0,0,0) ; }
317  RooCmdArg NoRecursion(Bool_t flag) { return RooCmdArg("NoRecursion",flag,0,0,0,0,0,0,0) ; }
318 
319  // RooSimCloneTool::build() arguments
320  RooCmdArg SplitParam(const char* varname, const char* catname) { return RooCmdArg("SplitParam",0,0,0,0,varname,catname,0,0) ; }
321  RooCmdArg SplitParam(const RooRealVar& var, const RooAbsCategory& cat) { return RooCmdArg("SplitParam",0,0,0,0,var.GetName(),cat.GetName(),0,0) ; }
322  RooCmdArg SplitParamConstrained(const char* varname, const char* catname, const char* rsname) { return RooCmdArg("SplitParamConstrained",0,0,0,0,varname,catname,0,0,0,rsname) ; }
323  RooCmdArg SplitParamConstrained(const RooRealVar& var, const RooAbsCategory& cat, const char* rsname) { return RooCmdArg("SplitParamConstrained",0,0,0,0,var.GetName(),cat.GetName(),0,0,0,rsname) ; }
324  RooCmdArg Restrict(const char* catName, const char* stateNameList) { return RooCmdArg("Restrict",0,0,0,0,catName,stateNameList,0,0) ; }
325 
326  // RooAbsPdf::createCdf() arguments
327  RooCmdArg SupNormSet(const RooArgSet& nset) { return RooCmdArg("SupNormSet",0,0,0,0,0,0,&nset,0) ; }
328  RooCmdArg ScanParameters(Int_t nbins,Int_t intOrder) { return RooCmdArg("ScanParameters",nbins,intOrder,0,0,0,0,0,0) ; }
329  RooCmdArg ScanNumCdf() { return RooCmdArg("ScanNumCdf",1,0,0,0,0,0,0,0) ; }
330  RooCmdArg ScanAllCdf() { return RooCmdArg("ScanAllCdf",1,0,0,0,0,0,0,0) ; }
331  RooCmdArg ScanNoCdf() { return RooCmdArg("ScanNoCdf",1,0,0,0,0,0,0,0) ; }
332 
333 
334  RooCmdArg MultiArg(const RooCmdArg& arg1,const RooCmdArg& arg2,const RooCmdArg& arg3,const RooCmdArg& arg4,
335  const RooCmdArg& arg5,const RooCmdArg& arg6,const RooCmdArg& arg7,const RooCmdArg& arg8) {
336  RooCmdArg ret("MultiArg",0,0,0,0,0,0,0,0) ; ret.addArg(arg1) ; ret.addArg(arg2) ;
337  ret.addArg(arg3) ; ret.addArg(arg4) ; ret.addArg(arg5) ; ret.addArg(arg6) ; ret.addArg(arg7) ; ret.addArg(arg8) ;
338  ret.setProcessRecArgs(kTRUE,kFALSE) ; return ret ;
339  }
340 
342 
343 
344 } // End namespace RooFit
345 
346 namespace RooFitShortHand {
347 
348 RooArgSet S(const RooAbsArg& v1) { return RooArgSet(v1) ; }
349 RooArgSet S(const RooAbsArg& v1, const RooAbsArg& v2) { return RooArgSet(v1,v2) ; }
350 RooArgSet S(const RooAbsArg& v1, const RooAbsArg& v2, const RooAbsArg& v3) { return RooArgSet(v1,v2,v3) ; }
351 RooArgSet S(const RooAbsArg& v1, const RooAbsArg& v2, const RooAbsArg& v3, const RooAbsArg& v4) { return RooArgSet(v1,v2,v3,v4) ; }
352 RooArgSet S(const RooAbsArg& v1, const RooAbsArg& v2, const RooAbsArg& v3, const RooAbsArg& v4, const RooAbsArg& v5)
353  { return RooArgSet(v1,v2,v3,v4,v5) ; }
354 RooArgSet S(const RooAbsArg& v1, const RooAbsArg& v2, const RooAbsArg& v3, const RooAbsArg& v4, const RooAbsArg& v5,
355  const RooAbsArg& v6) { return RooArgSet(v1,v2,v3,v4,v5,v6) ; }
356 RooArgSet S(const RooAbsArg& v1, const RooAbsArg& v2, const RooAbsArg& v3, const RooAbsArg& v4, const RooAbsArg& v5,
357  const RooAbsArg& v6, const RooAbsArg& v7) { return RooArgSet(v1,v2,v3,v4,v5,v6,v7) ; }
358 RooArgSet S(const RooAbsArg& v1, const RooAbsArg& v2, const RooAbsArg& v3, const RooAbsArg& v4, const RooAbsArg& v5,
359  const RooAbsArg& v6, const RooAbsArg& v7, const RooAbsArg& v8) { return RooArgSet(v1,v2,v3,v4,v5,v6,v7,v8) ; }
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, const RooAbsArg& v8, const RooAbsArg& v9)
362  { return RooArgSet(v1,v2,v3,v4,v5,v6,v7,v8,v9) ; }
363 
364 RooArgList L(const RooAbsArg& v1) { return RooArgList(v1) ; }
365 RooArgList L(const RooAbsArg& v1, const RooAbsArg& v2) { return RooArgList(v1,v2) ; }
366 RooArgList L(const RooAbsArg& v1, const RooAbsArg& v2, const RooAbsArg& v3) { return RooArgList(v1,v2,v3) ; }
367 RooArgList L(const RooAbsArg& v1, const RooAbsArg& v2, const RooAbsArg& v3, const RooAbsArg& v4) { return RooArgList(v1,v2,v3,v4) ; }
368 RooArgList L(const RooAbsArg& v1, const RooAbsArg& v2, const RooAbsArg& v3, const RooAbsArg& v4, const RooAbsArg& v5)
369  { return RooArgList(v1,v2,v3,v4,v5) ; }
370 RooArgList L(const RooAbsArg& v1, const RooAbsArg& v2, const RooAbsArg& v3, const RooAbsArg& v4, const RooAbsArg& v5,
371  const RooAbsArg& v6) { return RooArgList(v1,v2,v3,v4,v5,v6) ; }
372 RooArgList L(const RooAbsArg& v1, const RooAbsArg& v2, const RooAbsArg& v3, const RooAbsArg& v4, const RooAbsArg& v5,
373  const RooAbsArg& v6, const RooAbsArg& v7) { return RooArgList(v1,v2,v3,v4,v5,v6,v7) ; }
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, const RooAbsArg& v8) { return RooArgList(v1,v2,v3,v4,v5,v6,v7,v8) ; }
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, const RooAbsArg& v9)
378  { return RooArgList(v1,v2,v3,v4,v5,v6,v7,v8,v9) ; }
379 
380 RooConstVar& C(Double_t value) { return RooFit::RooConst(value) ; }
381 
382 } // End namespace Shorthand
RooCmdArg SumW2Error(Bool_t flag)
virtual const char * GetName() const
Returns name of object.
Definition: TNamed.h:47
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
const char * Title
Definition: TXMLSetup.cxx:67
RooCmdArg FrameBins(Int_t nbins)
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 ShowAsymError(Bool_t flag)
RooCmdArg Columns(Int_t ncol)
RooCmdArg Bins(Int_t nbin)
RooCmdArg DataError(Int_t)
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)
STL namespace.
RooCmdArg XErrorSize(Double_t width)
RooCmdArg MarkerStyle(Style_t style)
RooCmdArg NoRecursion(Bool_t flag=kTRUE)
RooCmdArg ScanNumCdf()
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)
const char * Name
Definition: TXMLSetup.cxx:66
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)
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 StoreError(const RooArgSet &aset)
RooCmdArg MoveToBack()
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
void setProcessRecArgs(Bool_t flag, Bool_t prefix=kTRUE)
Definition: RooCmdArg.h:41
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
const std::string ClassName(PyObject *pyobj)
Retrieve the class name from the given python object (which may be just an instance of the class)...
Definition: Utility.cxx:725
RooCmdArg Slice(const RooArgSet &sliceSet)
static int Prefix[TSIZE]
Definition: gifdecode.c:12
RooCmdArg Integrate(Bool_t flag)
RooCmdArg AxisLabel(const char *name)
RooCmdArg BootStrapData(const RooDataSet &dset)
RooCmdArg Weight(Double_t wgt)
short Color_t
Definition: RtypesCore.h:79
RooCmdArg ShowError(Bool_t flag)
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
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()
static double C[]
RooCmdArg Embedded(Bool_t flag=kTRUE)
RooCmdArg FitOptions(const char *opts)
RooCmdArg FixedPrecision(Int_t ndigit=2)
RooCmdArg EvalErrorWall(Bool_t flag)
RooCmdArg ShowValue(Bool_t flag)
void inv(rsa_NUMBER *, rsa_NUMBER *, rsa_NUMBER *)
Definition: rsaaux.cxx:949
const Rcpp::internal::NamedPlaceHolder & Label
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)
void FitModel(RooWorkspace *, std::string data_name="obsData")
RooCmdArg VerbatimName(Bool_t flag=kTRUE)
RooCmdArg AddTo(const char *name)
RooCmdArg Binned(Bool_t flag=kTRUE)
RooCmdArg RefreshNorm()
RooCmdArg NumCPU(Int_t nCPU, Int_t interleave=0)
RooCmdArg Rename(const char *suffix)
RooCmdArg ProtoData(const RooDataSet &protoData, Bool_t randomizeOrder=kFALSE, Bool_t resample=kFALSE)
RooCmdArg ExternalConstraints(const RooArgSet &constraintPdfs)
RooCmdArg ShowName(Bool_t flag)
RooAbsData is the common abstract base class for binned and unbinned datasets.
Definition: RooAbsData.h:44
float xmax
Definition: THbookFile.cxx:93
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
static constexpr double L
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)
void addArg(const RooCmdArg &arg)
Utility function to add nested RooCmdArg to payload of this RooCmdArg.
Definition: RooCmdArg.cxx:190
TCanvas * style()
Definition: style.C:1
RooCmdArg SupNormSet(const RooArgSet &nset)
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)
Ta Range(0, 0, 1, 1)
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)
RooAbsCategory is the common abstract base class for objects that represent a discrete value with a f...
RooCmdArg FillStyle(Style_t style)
static RooConstVar & value(Double_t value)
Return a constant value object with given value.
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 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 ShowUnit(Bool_t flag)
RooCmdArg Asymmetry(const RooCategory &cat)
RooCmdArg SelectVars(const RooArgSet &vars)
static char * Format(const char *format, va_list ap)
Format a string in a circular formatting buffer (using a printf style format descriptor).
Definition: TString.cxx:2375
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