46 detailedOutput->
add(*clone);
48 if( withErrorsAndPulls && var ) {
54 RooPullVar pulltemp(
"temppull",
"temppull", *var, *truth);
56 detailedOutput->
add(*pull);
66 return detailedOutput;
91 if (
RooRealVar* rvar= dynamic_cast<RooRealVar*>(var)) {
92 if (
v->getAttribute(
"StoreError")) var->
setAttribute(
"StoreError");
93 else rvar->removeError();
94 if (
v->getAttribute(
"StoreAsymError")) var->
setAttribute(
"StoreAsymError");
95 else rvar->removeAsymError();
101 var->SetName(
v->GetName());
103 var->SetName(renamed);
119 if (
RooRealVar* var= dynamic_cast<RooRealVar*>(
v)) {
121 var->setVal(std::numeric_limits<Double_t>::quiet_NaN());
123 var->removeAsymError();
void setAttribute(const Text_t *name, Bool_t value=kTRUE)
Set (default) or clear a named boolean attribute of this object.
const RooArgList & floatParsFinal() const
static int pull(FILE *fp, struct mg_connection *conn, char *buf, int len)
virtual Bool_t addOwned(RooAbsArg &var, Bool_t silent=kFALSE)
Add the specified argument to list.
Iterator abstract base class.
const char * Data() const
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString...
std::map< std::string, std::string >::const_iterator iter
TIterator * createIterator(Bool_t dir=kIterForward) const
TString & Append(const char *cs)
Double_t getVal(const RooArgSet *set=0) const
void CommitSet(double weight=1.0)
void AppendArgSet(const RooAbsCollection *aset, TString prefix="")
RooAbsArg * find(const char *name) const
Find object with given name in list.
void SetName(const char *name)
Change (i.e.
virtual const char * GetName() const
Returns name of object.
RooDataSet * GetAsDataSet(TString name, TString title)
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...
Int_t numInvalidNLL() const
Namespace for the RooStats classes.
const RooArgList & floatParsInit() const
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.
virtual TObject * Next()=0
virtual ~DetailedOutputAggregator()
static RooArgSet * GetAsArgSet(RooFitResult *result, TString prefix="", bool withErrorsAndPulls=false)
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
virtual void SetTitle(const char *title="")
Change (i.e. set) the title of the TNamed.
virtual Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE)
Add element to non-owning set.