61 detailedOutput->
add(*clone);
63 if( withErrorsAndPulls && var ) {
69 RooPullVar pulltemp(
"temppull",
"temppull", *var, *truth);
71 detailedOutput->
add(*pull);
81 return detailedOutput;
108 if (
RooRealVar* rvar= dynamic_cast<RooRealVar*>(var)) {
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);
138 if (
RooRealVar* var= dynamic_cast<RooRealVar*>(
v)) {
140 var->setVal(std::numeric_limits<Double_t>::quiet_NaN());
142 var->removeAsymError();
void setAttribute(const Text_t *name, Bool_t value=kTRUE)
Set (default) or clear a named boolean attribute of this object.
virtual const char * GetName() const
Returns name of object.
Int_t numInvalidNLL() const
TIterator * createIterator(Bool_t dir=kIterForward) const
const RooArgList & floatParsFinal() const
virtual Bool_t add(const RooAbsCollection &col, Bool_t silent=kFALSE)
Add a collection of arguments to this collection by calling add() for each element in the source coll...
virtual Bool_t addOwned(RooAbsArg &var, Bool_t silent=kFALSE)
Add the specified argument to list.
Double_t getVal(const RooArgSet *set=0) const
Class RooPullVar represents the pull of measurement w.r.t to true value using the measurement value a...
Iterator abstract base class.
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString...
TString & Append(const char *cs)
void CommitSet(double weight=1.0)
Commit to the result RooDataSet.
RooRealVar represents a fundamental (non-derived) real valued object.
void AppendArgSet(const RooAbsCollection *aset, TString prefix="")
For each variable in aset, prepend prefix to its name and add to the internal store.
void SetName(const char *name)
Set the name of the TNamed.
RooDataSet * GetAsDataSet(TString name, TString title)
Returns all detailed output as a dataset.
RooDataSet is a container class to hold unbinned data.
virtual void add(const RooArgSet &row, Double_t weight=1.0, Double_t weightError=0)
Add a data point, with its coordinates specified in the 'data' argset, to the data set...
Namespace for the RooStats classes.
RooAbsArg * find(const char *name) const
Find object with given name in list.
RooCmdArg WeightVar(const char *name, Bool_t reinterpretAsWeight=kFALSE)
void SetNameTitle(const char *name, const char *title)
Change the title of this dataset into the given name.
RooAbsCollection is an abstract container object that can hold multiple RooAbsArg objects...
virtual TObject * Next()=0
virtual ~DetailedOutputAggregator()
const RooArgList & floatParsInit() const
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.
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
const char * Data() const