44 Bool_t binData) {
return RooCmdArg(
"ProjData",binData,0,0,0,0,0,&projSet,&projData) ; }
46 Bool_t binData) {
return RooCmdArg(
"ProjData",binData,0,0,0,0,0,0,&projData) ; }
52 RooCmdArg Range(
Double_t lo,
Double_t hi,
Bool_t adjustNorm){
return RooCmdArg(
"Range",adjustNorm,0,lo,hi,0,0,0,0) ; }
63 RooCmdArg AddTo(
const char*
name,
double wgtSel,
double wgtOther) {
return RooCmdArg(
"AddTo",0,0,wgtSel,wgtOther,name,0,0,0) ; }
66 RooCmdArg VisualizeError(
const RooFitResult& fitres,
Double_t Z,
Bool_t EVmethod) {
return RooCmdArg(
"VisualizeError",EVmethod,0,Z,0,0,0,&fitres,0) ; }
68 {
return RooCmdArg(
"VisualizeError",EVmethod,0,Z,0,0,0,&fitres,0,0,0,¶m) ; }
76 {
return RooCmdArg(
"Normalization",scaleType,0,scaleFactor,0,0,0,0,0) ; }
83 RooCmdArg Binning(
Int_t nBins,
Double_t xlo,
Double_t xhi) {
return RooCmdArg(
"BinningSpec",nBins,0,xlo,xhi,0,0,0,0) ;}
102 RooCmdArg container(
"ImportDataHistSliceMany",0,0,0,0,0,0,0,0) ;
103 std::map<std::string,RooDataHist*>::const_iterator
iter ;
104 for (iter = arg.begin() ; iter!=arg.end() ; ++
iter) {
105 container.
addArg(
Import(iter->first.c_str(),*(iter->second))) ;
111 RooCmdArg container(
"ImportHistoSliceMany",0,0,0,0,0,0,0,0) ;
112 std::map<std::string,TH1*>::const_iterator
iter ;
113 for (iter = arg.begin() ; iter!=arg.end() ; ++
iter) {
114 container.
addArg(
Import(iter->first.c_str(),*(iter->second))) ;
129 RooCmdArg StoreError(
const RooArgSet& aset) {
return RooCmdArg(
"StoreError",0,0,0,0,0,0,0,0,0,0,&aset) ; }
130 RooCmdArg StoreAsymError(
const RooArgSet& aset) {
return RooCmdArg(
"StoreAsymError",0,0,0,0,0,0,0,0,0,0,&aset) ; }
131 RooCmdArg OwnLinked() {
return RooCmdArg(
"OwnLinked",1,0,0,0,0,0,0,0,0,0,0) ; }
134 RooCmdArg container(
"ImportDataSliceMany",0,0,0,0,0,0,0,0) ;
135 std::map<std::string,RooDataSet*>::const_iterator
iter ;
136 for (iter = arg.begin() ; iter!=arg.end() ; ++
iter) {
137 container.
addArg(
Import(iter->first.c_str(),*(iter->second))) ;
143 RooCmdArg container(
"LinkDataSliceMany",0,0,0,0,0,0,0,0) ;
144 std::map<std::string,RooAbsData*>::const_iterator
iter ;
145 for (iter = arg.begin() ; iter!=arg.end() ; ++
iter) {
146 container.
addArg(
Link(iter->first.c_str(),*(iter->second))) ;
193 RooCmdArg ConditionalObservables(
const RooArgSet& set) {
return RooCmdArg(
"ProjectedObservables",0,0,0,0,0,0,0,0,0,0,&set) ; }
194 RooCmdArg ProjectedObservables(
const RooArgSet& set) {
return RooCmdArg(
"ProjectedObservables",0,0,0,0,0,0,0,0,0,0,&set) ; }
197 RooCmdArg Constrain(
const RooArgSet& params) {
return RooCmdArg(
"Constrain",0,0,0,0,0,0,0,0,0,0,¶ms) ; }
198 RooCmdArg GlobalObservables(
const RooArgSet& globs) {
return RooCmdArg(
"GlobalObservables",0,0,0,0,0,0,0,0,0,0,&globs) ; }
201 RooCmdArg ExternalConstraints(
const RooArgSet& cpdfs) {
return RooCmdArg(
"ExternalConstraints",0,0,0,0,0,0,&cpdfs,0,0,0,&cpdfs) ; }
213 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) ; }
221 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) ; } ;
225 {
return RooCmdArg(
"PrototypeData",randomizeOrder,resample,0,0,0,0,&protoData,0) ; }
236 RooCmdArg YVar(
const RooAbsRealLValue& var,
const RooCmdArg& arg) {
return RooCmdArg(
"YVar",0,0,0,0,0,0,&var,0,&arg) ; }
237 RooCmdArg ZVar(
const RooAbsRealLValue& var,
const RooCmdArg& arg) {
return RooCmdArg(
"ZVar",0,0,0,0,0,0,&var,0,&arg) ; }
249 RooCmdArg IntegratedObservables(
const RooArgSet& intObs) {
return RooCmdArg(
"IntObs",0,0,0,0,0,0,0,0,0,0,&intObs,0) ; } ;
318 RooCmdArg SplitParamConstrained(
const char* varname,
const char* catname,
const char* rsname) {
return RooCmdArg(
"SplitParamConstrained",0,0,0,0,varname,catname,0,0,0,rsname) ; }
319 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) ; }
358 {
return RooArgSet(v1,v2,v3,v4,v5,v6,v7,v8,v9) ; }
374 {
return RooArgList(v1,v2,v3,v4,v5,v6,v7,v8,v9) ; }
RooCmdArg Rescale(Double_t factor)
RooCmdArg Asimov(Bool_t flag=kTRUE)
RooCmdArg EvalErrorWall(Bool_t flag)
RooCmdArg Offset(Bool_t flag=kTRUE)
RooCmdArg Optimize(Int_t flag=2)
RooCmdArg DrawOption(const char *opt)
RooCmdArg RenameAllVariablesExcept(const char *suffix, const char *exceptionList)
RooCmdArg Binned(Bool_t flag=kTRUE)
RooCmdArg GlobalObservablesTag(const char *tagName)
RooCmdArg Cut(const char *cutSpec)
RooCmdArg LineColor(Color_t color)
RooCmdArg ZVar(const RooAbsRealLValue &var, const RooCmdArg &arg=RooCmdArg::none())
RooArgList L(const RooAbsArg &v1)
RooCmdArg VisualizeError(const RooDataSet ¶mData, Double_t Z=1)
RooCmdArg SplitParam(const char *varname, const char *catname)
RooCmdArg CloneData(Bool_t flag)
RooCmdArg PrintLevel(Int_t code)
RooCmdArg ShowAsymError(Bool_t flag)
RooCmdArg Minos(Bool_t flag=kTRUE)
RooCmdArg ObjectName(const char *name)
RooCmdArg Asymmetry(const RooCategory &cat)
RooCmdArg ShowConstants(Bool_t flag=kTRUE)
RooCmdArg NormSet(const RooArgSet &nset)
RooCmdArg Link(const char *state, RooAbsData &data)
RooCmdArg FrameBins(Int_t nbins)
RooCmdArg Strategy(Int_t code)
RooCmdArg PrintEvalErrors(Int_t numErrors)
RooCmdArg Conditional(const RooArgSet &pdfSet, const RooArgSet &depSet, Bool_t depsAreCond=kFALSE)
RooCmdArg NumEvents(Int_t numEvents)
RooCmdArg Project(const RooArgSet &projSet)
RooCmdArg SplitParamConstrained(const char *varname, const char *catname, const char *rsname)
RooCmdArg ProjWData(const RooAbsData &projData, Bool_t binData=kFALSE)
RooCmdArg RecycleConflictNodes(Bool_t flag=kTRUE)
static std::string format(double x, double y, int digits, int width)
RooCmdArg SupNormSet(const RooArgSet &nset)
RooCmdArg Extended(Bool_t flag=kTRUE)
RooCmdArg TLatexStyle(Bool_t flag=kTRUE)
RooCmdArg FixedPrecision(Int_t ndigit=2)
RooCmdArg ScanParameters(Int_t nbins, Int_t intOrder)
RooCmdArg Color(Color_t color)
RooCmdArg MarkerSize(Size_t size)
RooCmdArg StoreError(const RooArgSet &aset)
RooCmdArg DataError(Int_t)
RooCmdArg LineStyle(Style_t style)
std::map< std::string, std::string >::const_iterator iter
void setProcessRecArgs(Bool_t flag, Bool_t prefix=kTRUE)
RooCmdArg NumCPU(Int_t nCPU, Int_t interleave=0)
RooCmdArg RenameAllVariables(const char *suffix)
const std::string ClassName(PyObject *pyobj)
Retrieve the class name from the given python object (which may be just an instance of the class)...
RooCmdArg Silence(Bool_t flag=kTRUE)
RooCmdArg BootStrapData(const RooDataSet &dset)
RooCmdArg ExpectedData(Bool_t flag=kTRUE)
RooCmdArg FitOptions(const char *opts)
RooCmdArg ShowError(Bool_t flag)
RooCmdArg Columns(Int_t ncol)
RooCmdArg Efficiency(const RooCategory &cat)
RooCmdArg VerbatimName(Bool_t flag=kTRUE)
RooCmdArg AutoSymBinning(Int_t nbins=100, Double_t marginFactor=0.1)
RooCmdArg GlobalObservables(const RooArgSet &globs)
RooCmdArg IntegratedObservables(const RooArgSet &intObs)
RooCmdArg RenameAllNodes(const char *suffix)
RooCmdArg What(const char *str)
RooCmdArg Warnings(Bool_t flag=kTRUE)
RooCmdArg AutoPrecision(Int_t ndigit=2)
RooCmdArg Timer(Bool_t flag=kTRUE)
RooCmdArg SelectVars(const RooArgSet &vars)
RooCmdArg InitialHesse(Bool_t flag=kTRUE)
RooCmdArg Parameters(const RooArgSet ¶ms)
RooCmdArg FrameRange(Double_t xlo, Double_t xhi)
RooCmdArg Topic(Int_t topic)
RooCmdArg ShowValue(Bool_t flag)
RooCmdArg NoRecursion(Bool_t flag=kTRUE)
RooCmdArg Minimizer(const char *type, const char *alg=0)
RooCmdArg MarkerStyle(Style_t style)
RooCmdArg AutoRange(const RooAbsData &data, Double_t marginFactor=0.1)
RooCmdArg EvalErrorValue(Double_t value)
void FitModel(RooWorkspace *, std::string data_name="obsData")
RooCmdArg AxisLabel(const char *name)
RooCmdArg SplitRange(Bool_t flag=kTRUE)
RooCmdArg AddTo(const char *name)
virtual const char * GetName() const
Returns name of object.
RooCmdArg ShowName(Bool_t flag)
RooCmdArg AutoBinning(Int_t nbins=100, Double_t marginFactor=0.1)
RooCmdArg Restrict(const char *catName, const char *stateNameList)
RooCmdArg Rename(const char *suffix)
RooCmdArg CutRange(const char *rangeName)
RooCmdArg GenBinned(const char *tag)
RooCmdArg Integrate(Bool_t flag)
RooCmdArg LatexStyle(Bool_t flag=kTRUE)
RooCmdArg SumW2Error(Bool_t flag)
RooCmdArg FitGauss(Bool_t flag=kTRUE)
RooCmdArg Import(const char *state, TH1 &histo)
RooCmdArg Sibling(const RooAbsCollection &sibling)
RooCmdArg ImportFromFile(const char *fname, const char *tname)
RooCmdArg BaseClassName(const char *name)
RooCmdArg Index(RooCategory &icat)
RooCmdArg Hesse(Bool_t flag=kTRUE)
RooCmdArg EventRange(Int_t nStart, Int_t nStop)
RooCmdArg Precision(Double_t prec)
RooCmdArg XErrorSize(Double_t width)
RooCmdArg FillColor(Color_t color)
RooCmdArg AutoBinned(Bool_t flag=kTRUE)
RooCmdArg ProtoData(const RooDataSet &protoData, Bool_t randomizeOrder=kFALSE, Bool_t resample=kFALSE)
RooCmdArg OutputStream(std::ostream &os)
RooCmdArg StoreAsymError(const RooArgSet &aset)
RooCmdArg Components(const RooArgSet &compSet)
RooCmdArg YVar(const RooAbsRealLValue &var, const RooCmdArg &arg=RooCmdArg::none())
void addArg(const RooCmdArg &arg)
Utility function to add nested RooCmdArg to payload of this RooCmdArg.
RooCmdArg WeightVar(const char *name, Bool_t reinterpretAsWeight=kFALSE)
RooCmdArg Normalization(Double_t scaleFactor)
RooCmdArg LineWidth(Width_t width)
RooCmdArg Embedded(Bool_t flag=kTRUE)
RooCmdArg NormRange(const char *rangeNameList)
RooCmdArg Verbose(Bool_t flag=kTRUE)
RooCmdArg Frame(const RooCmdArg &arg1, const RooCmdArg &arg2=RooCmdArg::none(), const RooCmdArg &arg3=RooCmdArg::none(), const RooCmdArg &arg4=RooCmdArg::none(), const RooCmdArg &arg5=RooCmdArg::none(), const RooCmdArg &arg6=RooCmdArg::none())
RooCmdArg ProjectionRange(const char *rangeName)
RooCmdArg Scaling(Bool_t flag)
RooCmdArg Save(Bool_t flag=kTRUE)
RooCmdArg Layout(Double_t xmin, Double_t xmax=0.99, Double_t ymin=0.95)
RooConstVar & RooConst(Double_t val)
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
RooCmdArg OutputFile(const char *fileName)
static RooConstVar & value(Double_t value)
Return a constant value object with given value.
RooCmdArg AutoSymRange(const RooAbsData &data, Double_t marginFactor=0.1)
RooCmdArg Bins(Int_t nbin)
A TTree object has a header with a name and a title.
float type_of_call hi(const int &, const int &)
RooCmdArg MarkerColor(Color_t color)
RooCmdArg RenameConflictNodes(const char *suffix, Bool_t renameOrigNodes=kFALSE)
RooCmdArg SumCoefRange(const char *rangeName)
RooCmdArg LatexTableStyle(Bool_t flag=kTRUE)
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
Rcpp::internal::NamedPlaceHolder Label
RooCmdArg FillStyle(Style_t style)
std::complex< float_v > Z
RooCmdArg Slice(const RooArgSet &sliceSet)
RooCmdArg ConditionalObservables(const RooArgSet &set)
RooCmdArg Weight(Double_t wgt)
RooCmdArg ExternalConstraints(const RooArgSet &constraintPdfs)
RooCmdArg ProjectedObservables(const RooArgSet &set)
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 NumIntConfig(const RooNumIntConfig &cfg)
RooCmdArg Constrain(const RooArgSet ¶ms)
RooCmdArg IntrinsicBinning(Bool_t flag=kTRUE)
RooCmdArg Binning(const RooAbsBinning &binning)
RooCmdArg ShowUnit(Bool_t flag)
RooCmdArg RenameVariable(const char *inputName, const char *outputName)
static char * Format(const char *format, va_list ap)
Format a string in a circular formatting buffer (using a printf style format descriptor).
RooCmdArg TagName(const char *name)