61 detailedOutput->
add(*clone);
63 if( withErrorsAndPulls && var ) {
69 RooPullVar pulltemp(
"temppull",
"temppull", *var, *truth);
71 detailedOutput->
add(*pull);
81 return detailedOutput;
109 if (
v->getAttribute(
"StoreError")) var->
setAttribute(
"StoreError");
110 else rvar->removeError();
111 if (
v->getAttribute(
"StoreAsymError")) var->
setAttribute(
"StoreAsymError");
112 else rvar->removeAsymError();
118 var->SetName(
v->GetName());
120 var->SetName(renamed);
140 var->setVal(std::numeric_limits<Double_t>::quiet_NaN());
142 var->removeAsymError();
RooAbsArg is the common abstract base class for objects that represent a value and a "shape" in RooFi...
virtual RooAbsArg * cloneTree(const char *newname=0) const
Clone tree expression of objects.
void setAttribute(const Text_t *name, Bool_t value=kTRUE)
Set (default) or clear a named boolean attribute of this object.
virtual RooAbsArg * createFundamental(const char *newname=0) const =0
Create a fundamental-type object that stores our type of value.
void SetName(const char *name)
Set the name of the TNamed.
RooAbsCollection is an abstract container object that can hold multiple RooAbsArg objects.
virtual Bool_t addOwned(RooAbsArg &var, Bool_t silent=kFALSE)
Add the specified argument to list.
TIterator * createIterator(Bool_t dir=kIterForward) const
TIterator-style iteration over contained elements.
RooAbsArg * find(const char *name) const
Find object with given name in list.
Double_t getVal(const RooArgSet *normalisationSet=nullptr) const
Evaluate object.
RooArgList is a container object that can hold multiple RooAbsArg objects.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE) override
Add element to non-owning set.
RooDataSet is a container class to hold unbinned data.
void SetNameTitle(const char *name, const char *title) override
Change the title of this dataset into the given name.
virtual void add(const RooArgSet &row, Double_t weight=1.0, Double_t weightError=0) override
Add a data point, with its coordinates specified in the 'data' argset, to the data set.
RooFitResult is a container class to hold the input and output of a PDF fit to a dataset.
const RooArgList & floatParsInit() const
Int_t numInvalidNLL() const
Return number of NLL evaluations with problems.
Int_t covQual() const
Return MINUIT quality code of covariance matrix.
Double_t minNll() const
Return minimized -log(L) value.
const RooArgList & floatParsFinal() const
Return list of floarting parameters after fit.
Int_t status() const
Return MINUIT status code.
RooPullVar represents the pull of a measurement w.r.t.
RooRealVar represents a variable that can be changed from the outside.
void AppendArgSet(const RooAbsCollection *aset, TString prefix="")
For each variable in aset, prepend prefix to its name and add to the internal store.
RooDataSet * GetAsDataSet(TString name, TString title)
Returns all detailed output as a dataset.
void CommitSet(double weight=1.0)
Commit to the result RooDataSet.
virtual ~DetailedOutputAggregator()
static RooArgSet * GetAsArgSet(RooFitResult *result, TString prefix="", bool withErrorsAndPulls=false)
static function to translate the given fit result to a RooArgSet in a generic way.
Iterator abstract base class.
virtual TObject * Next()=0
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
virtual const char * GetName() const
Returns name of object.
const char * Data() const
TString & Append(const char *cs)
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString.
RooCmdArg WeightVar(const char *name, Bool_t reinterpretAsWeight=kFALSE)
Namespace for the RooStats classes.