46 Bool_t binData) {
return RooCmdArg(
"ProjData",binData,0,0,0,0,0,&projSet,&projData) ; }
48 Bool_t binData) {
return RooCmdArg(
"ProjData",binData,0,0,0,0,0,0,&projData) ; }
54 RooCmdArg Range(
Double_t lo,
Double_t hi,
Bool_t adjustNorm){
return RooCmdArg(
"Range",adjustNorm,0,lo,
hi,0,0,0,0) ; }
65 RooCmdArg AddTo(
const char*
name,
double wgtSel,
double wgtOther) {
return RooCmdArg(
"AddTo",0,0,wgtSel,wgtOther,
name,0,0,0) ; }
68 RooCmdArg VisualizeError(
const RooFitResult& fitres,
Double_t Z,
Bool_t EVmethod) {
return RooCmdArg(
"VisualizeError",EVmethod,0,Z,0,0,0,&fitres,0) ; }
70 {
return RooCmdArg(
"VisualizeError",EVmethod,0,Z,0,0,0,&fitres,0,0,0,¶m) ; }
78 {
return RooCmdArg(
"Normalization",scaleType,0,scaleFactor,0,0,0,0,0) ; }
85 RooCmdArg Binning(
Int_t nBins,
Double_t xlo,
Double_t xhi) {
return RooCmdArg(
"BinningSpec",nBins,0,xlo,xhi,0,0,0,0) ;}
104 RooCmdArg container(
"ImportDataHistSliceMany",0,0,0,0,0,0,0,0) ;
105 std::map<std::string,RooDataHist*>::const_iterator iter ;
106 for (iter = arg.begin() ; iter!=arg.end() ; ++iter) {
107 container.
addArg(
Import(iter->first.c_str(),*(iter->second))) ;
113 RooCmdArg container(
"ImportHistoSliceMany",0,0,0,0,0,0,0,0) ;
114 std::map<std::string,TH1*>::const_iterator iter ;
115 for (iter = arg.begin() ; iter!=arg.end() ; ++iter) {
116 container.
addArg(
Import(iter->first.c_str(),*(iter->second))) ;
131 RooCmdArg StoreError(
const RooArgSet& aset) {
return RooCmdArg(
"StoreError",0,0,0,0,0,0,0,0,0,0,&aset) ; }
132 RooCmdArg StoreAsymError(
const RooArgSet& aset) {
return RooCmdArg(
"StoreAsymError",0,0,0,0,0,0,0,0,0,0,&aset) ; }
133 RooCmdArg OwnLinked() {
return RooCmdArg(
"OwnLinked",1,0,0,0,0,0,0,0,0,0,0) ; }
136 RooCmdArg container(
"ImportDataSliceMany",0,0,0,0,0,0,0,0) ;
137 std::map<std::string,RooDataSet*>::const_iterator iter ;
138 for (iter = arg.begin() ; iter!=arg.end() ; ++iter) {
139 container.
addArg(
Import(iter->first.c_str(),*(iter->second))) ;
145 RooCmdArg container(
"LinkDataSliceMany",0,0,0,0,0,0,0,0) ;
146 std::map<std::string,RooAbsData*>::const_iterator iter ;
147 for (iter = arg.begin() ; iter!=arg.end() ; ++iter) {
148 container.
addArg(
Link(iter->first.c_str(),*(iter->second))) ;
199 RooCmdArg ConditionalObservables(
const RooArgSet& set) {
return RooCmdArg(
"ProjectedObservables",0,0,0,0,0,0,0,0,0,0,&set) ; }
200 RooCmdArg ProjectedObservables(
const RooArgSet& set) {
return RooCmdArg(
"ProjectedObservables",0,0,0,0,0,0,0,0,0,0,&set) ; }
203 RooCmdArg Constrain(
const RooArgSet& params) {
return RooCmdArg(
"Constrain",0,0,0,0,0,0,0,0,0,0,¶ms) ; }
204 RooCmdArg GlobalObservables(
const RooArgSet& globs) {
return RooCmdArg(
"GlobalObservables",0,0,0,0,0,0,0,0,0,0,&globs) ; }
207 RooCmdArg ExternalConstraints(
const RooArgSet& cpdfs) {
return RooCmdArg(
"ExternalConstraints",0,0,0,0,0,0,&cpdfs,0,0,0,&cpdfs) ; }
223 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) ; }
231 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) ; } ;
235 {
return RooCmdArg(
"PrototypeData",randomizeOrder,resample,0,0,0,0,&protoData,0) ; }
246 RooCmdArg YVar(
const RooAbsRealLValue& var,
const RooCmdArg& arg) {
return RooCmdArg(
"YVar",0,0,0,0,0,0,&var,0,&arg) ; }
247 RooCmdArg ZVar(
const RooAbsRealLValue& var,
const RooCmdArg& arg) {
return RooCmdArg(
"ZVar",0,0,0,0,0,0,&var,0,&arg) ; }
259 RooCmdArg IntegratedObservables(
const RooArgSet& intObs) {
return RooCmdArg(
"IntObs",0,0,0,0,0,0,0,0,0,0,&intObs,0) ; } ;
328 RooCmdArg SplitParamConstrained(
const char* varname,
const char* catname,
const char* rsname) {
return RooCmdArg(
"SplitParamConstrained",0,0,0,0,varname,catname,0,0,0,rsname) ; }
329 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) ; }
include TDocParser_001 C image html pict1_TDocParser_001 png width
RooAbsArg is the common abstract base class for objects that represent a value and a "shape" in RooFi...
RooAbsBinning is the abstract base class for RooRealVar binning definitions.
RooAbsCategory is the base class for objects that represent a discrete value with a finite number of ...
RooAbsCollection is an abstract container object that can hold multiple RooAbsArg objects.
RooAbsData is the common abstract base class for binned and unbinned datasets.
RooAbsRealLValue is the common abstract base class for objects that represent a real value that may a...
RooArgList is a container object that can hold multiple RooAbsArg objects.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
RooCategory is an object to represent discrete states.
RooCmdArg is a named container for two doubles, two integers two object points and three string point...
void addArg(const RooCmdArg &arg)
Utility function to add nested RooCmdArg to payload of this RooCmdArg.
void setProcessRecArgs(Bool_t flag, Bool_t prefix=kTRUE)
RooConstVar represent a constant real-valued object.
The RooDataHist is a container class to hold N-dimensional binned data.
RooDataSet is a container class to hold unbinned data.
RooFitResult is a container class to hold the input and output of a PDF fit to a dataset.
RooNumIntConfig holds the configuration parameters of the various numeric integrators used by RooReal...
static RooConstVar & value(Double_t value)
Return a constant value object with given value.
RooRealVar represents a variable that can be changed from the outside.
TH1 is the base class of all histogram classes in ROOT.
virtual const char * GetName() const
Returns name of object.
Mother of all ROOT objects.
A TTree represents a columnar dataset.
RooCmdArg Scaling(Bool_t flag)
RooCmdArg FrameBins(Int_t nbins)
RooCmdArg NoRecursion(Bool_t flag=kTRUE)
RooCmdArg TLatexStyle(Bool_t flag=kTRUE)
RooCmdArg ClassName(const char *name)
RooCmdArg Binned(Bool_t flag=kTRUE)
RooCmdArg FitModel(RooAbsPdf &pdf)
RooCmdArg RecycleConflictNodes(Bool_t flag=kTRUE)
RooCmdArg IntegratedObservables(const RooArgSet &intObs)
RooCmdArg OutputStream(std::ostream &os)
RooCmdArg Topic(Int_t topic)
RooCmdArg Embedded(Bool_t flag=kTRUE)
RooCmdArg ShowConstants(Bool_t flag=kTRUE)
RooCmdArg Parameters(const RooArgSet ¶ms)
RooCmdArg NumIntConfig(const RooNumIntConfig &cfg)
RooCmdArg Frame(const RooCmdArg &arg1, const RooCmdArg &arg2=RooCmdArg::none(), const RooCmdArg &arg3=RooCmdArg::none(), const RooCmdArg &arg4=RooCmdArg::none(), const RooCmdArg &arg5=RooCmdArg::none(), const RooCmdArg &arg6=RooCmdArg::none())
RooCmdArg ScanParameters(Int_t nbins, Int_t intOrder)
RooCmdArg Label(const char *str)
RooCmdArg NormSet(const RooArgSet &nset)
RooCmdArg TagName(const char *name)
RooCmdArg AutoSymBinning(Int_t nbins=100, Double_t marginFactor=0.1)
RooCmdArg BaseClassName(const char *name)
RooCmdArg Restrict(const char *catName, const char *stateNameList)
RooCmdArg FrameRange(Double_t xlo, Double_t xhi)
RooCmdArg YVar(const RooAbsRealLValue &var, const RooCmdArg &arg=RooCmdArg::none())
RooCmdArg IntrinsicBinning(Bool_t flag=kTRUE)
RooCmdArg RenameAllVariables(const char *suffix)
RooCmdArg ZVar(const RooAbsRealLValue &var, const RooCmdArg &arg=RooCmdArg::none())
RooCmdArg FitGauss(Bool_t flag=kTRUE)
RooCmdArg RenameConflictNodes(const char *suffix, Bool_t renameOrigNodes=kFALSE)
RooCmdArg RenameVariable(const char *inputName, const char *outputName)
RooCmdArg Color(Color_t color)
RooCmdArg FixedPrecision(Int_t ndigit=2)
RooCmdArg AutoPrecision(Int_t ndigit=2)
RooCmdArg Title(const char *name)
RooCmdArg RenameAllNodes(const char *suffix)
RooCmdArg SplitParam(const char *varname, const char *catname)
RooCmdArg Rename(const char *suffix)
RooCmdArg Format(const char *format, Int_t sigDigit)
RooCmdArg SupNormSet(const RooArgSet &nset)
RooCmdArg Layout(Double_t xmin, Double_t xmax=0.99, Double_t ymin=0.95)
RooCmdArg SelectVars(const RooArgSet &vars)
RooCmdArg Silence(Bool_t flag=kTRUE)
RooCmdArg LatexTableStyle(Bool_t flag=kTRUE)
RooConstVar & RooConst(Double_t val)
RooCmdArg RenameAllVariablesExcept(const char *suffix, const char *exceptionList)
RooCmdArg VerbatimName(Bool_t flag=kTRUE)
RooCmdArg Columns(Int_t ncol)
RooCmdArg EventRange(Int_t nStart, Int_t nStop)
RooCmdArg ObjectName(const char *name)
RooCmdArg AutoSymRange(const RooAbsData &data, Double_t marginFactor=0.1)
RooCmdArg AxisLabel(const char *name)
RooCmdArg Sibling(const RooAbsCollection &sibling)
RooCmdArg Conditional(const RooArgSet &pdfSet, const RooArgSet &depSet, Bool_t depsAreCond=kFALSE)
RooCmdArg SplitParamConstrained(const char *varname, const char *catname, const char *rsname)
RooCmdArg AutoRange(const RooAbsData &data, Double_t marginFactor=0.1)
RooCmdArg What(const char *str)
RooCmdArg AutoBinning(Int_t nbins=100, Double_t marginFactor=0.1)
RooCmdArg Bins(Int_t nbin)
RooCmdArg MultiArg(const RooCmdArg &arg1, const RooCmdArg &arg2, const RooCmdArg &arg3=RooCmdArg::none(), const RooCmdArg &arg4=RooCmdArg::none(), const RooCmdArg &arg5=RooCmdArg::none(), const RooCmdArg &arg6=RooCmdArg::none(), const RooCmdArg &arg7=RooCmdArg::none(), const RooCmdArg &arg8=RooCmdArg::none())
RooCmdArg OutputFile(const char *fileName)
RooCmdArg LatexStyle(Bool_t flag=kTRUE)
RooCmdArg WeightVar(const char *name, Bool_t reinterpretAsWeight=kFALSE)
RooCmdArg ImportFromFile(const char *fname, const char *tname)
RooCmdArg StoreAsymError(const RooArgSet &aset)
RooCmdArg Index(RooCategory &icat)
RooCmdArg Weight(Double_t wgt)
RooCmdArg StoreError(const RooArgSet &aset)
RooCmdArg Link(const char *state, RooAbsData &data)
RooCmdArg Import(const char *state, TH1 &histo)
RooCmdArg IntegrateBins(double precision)
Integrate the PDF over bins. Improves accuracy for binned fits. Switch off using 0....
RooCmdArg EvalErrorWall(Bool_t flag)
RooCmdArg ProjectedObservables(const RooArgSet &set)
RooCmdArg Constrain(const RooArgSet ¶ms)
RooCmdArg GlobalObservablesTag(const char *tagName)
RooCmdArg Strategy(Int_t code)
RooCmdArg Warnings(Bool_t flag=kTRUE)
RooCmdArg Integrate(Bool_t flag)
RooCmdArg SumW2Error(Bool_t flag)
RooCmdArg Extended(Bool_t flag=kTRUE)
RooCmdArg GlobalObservables(const RooArgSet &globs)
RooCmdArg SumCoefRange(const char *rangeName)
RooCmdArg SplitRange(Bool_t flag=kTRUE)
RooCmdArg PrintEvalErrors(Int_t numErrors)
RooCmdArg Optimize(Int_t flag=2)
RooCmdArg Hesse(Bool_t flag=kTRUE)
RooCmdArg InitialHesse(Bool_t flag=kTRUE)
RooCmdArg ExternalConstraints(const RooArgSet &constraintPdfs)
RooCmdArg CloneData(Bool_t flag)
RooCmdArg Save(Bool_t flag=kTRUE)
RooCmdArg PrintLevel(Int_t code)
RooCmdArg FitOptions(const char *opts)
RooCmdArg BatchMode(bool flag=true)
RooCmdArg NumCPU(Int_t nCPU, Int_t interleave=0)
RooCmdArg DataError(Int_t)
RooCmdArg ConditionalObservables(const RooArgSet &set)
RooCmdArg RecoverFromUndefinedRegions(double strength)
When parameters are chosen such that a PDF is undefined, try to indicate to the minimiser how to leav...
RooCmdArg Verbose(Bool_t flag=kTRUE)
RooCmdArg Timer(Bool_t flag=kTRUE)
RooCmdArg PrefitDataFraction(Double_t data_ratio=0.0)
RooCmdArg AsymptoticError(Bool_t flag)
RooCmdArg Offset(Bool_t flag=kTRUE)
RooCmdArg Minimizer(const char *type, const char *alg=0)
RooCmdArg Minos(Bool_t flag=kTRUE)
RooCmdArg ProtoData(const RooDataSet &protoData, Bool_t randomizeOrder=kFALSE, Bool_t resample=kFALSE)
RooCmdArg Asimov(Bool_t flag=kTRUE)
RooCmdArg AutoBinned(Bool_t flag=kTRUE)
RooCmdArg NumEvents(Int_t numEvents)
RooCmdArg GenBinned(const char *tag)
RooCmdArg ExpectedData(Bool_t flag=kTRUE)
RooCmdArg VisualizeError(const RooDataSet ¶mData, Double_t Z=1)
RooCmdArg ProjWData(const RooAbsData &projData, Bool_t binData=kFALSE)
RooCmdArg ProjectionRange(const char *rangeName)
RooCmdArg MarkerColor(Color_t color)
RooCmdArg Binning(const RooAbsBinning &binning)
RooCmdArg NormRange(const char *rangeNameList)
RooCmdArg DrawOption(const char *opt)
RooCmdArg Project(const RooArgSet &projSet)
RooCmdArg FillStyle(Style_t style)
RooCmdArg EvalErrorValue(Double_t value)
RooCmdArg FillColor(Color_t color)
RooCmdArg Rescale(Double_t factor)
RooCmdArg Invisible(bool inv=true)
RooCmdArg MarkerStyle(Style_t style)
RooCmdArg LineWidth(Width_t width)
RooCmdArg Components(const RooArgSet &compSet)
RooCmdArg Slice(const RooArgSet &sliceSet)
RooCmdArg AddTo(const char *name, double wgtSel=1.0, double wgtOther=1.0)
RooCmdArg CutRange(const char *rangeName)
RooCmdArg MarkerSize(Size_t size)
RooCmdArg Precision(Double_t prec)
RooCmdArg Cut(const char *cutSpec)
RooCmdArg Range(const char *rangeName, Bool_t adjustNorm=kTRUE)
RooCmdArg LineColor(Color_t color)
RooCmdArg XErrorSize(Double_t width)
RooCmdArg Normalization(Double_t scaleFactor)
RooCmdArg Efficiency(const RooCategory &cat)
RooCmdArg Name(const char *name)
RooCmdArg LineStyle(Style_t style)
RooCmdArg Asymmetry(const RooCategory &cat)
RooArgList L(const RooAbsArg &v1)
RooConstVar & C(Double_t value)
RooArgSet S(const RooAbsArg &v1)
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
RooCmdArg BootStrapData(const RooDataSet &dset)
RooCmdArg ShowUnit(Bool_t flag)
RooCmdArg ShowValue(Bool_t flag)
RooCmdArg ShowName(Bool_t flag)
RooCmdArg ShowError(Bool_t flag)
RooCmdArg ShowAsymError(Bool_t flag)
void inv(rsa_NUMBER *, rsa_NUMBER *, rsa_NUMBER *)
Wrap an object into a TObject. Sometimes needed to avoid reinterpret_cast or enable RTTI.