ROOT 6.18/05 Reference Guide |
This class is designed to aid in the construction of RooDataSets and RooArgSets, particularly those naturally arising in fitting operations.
Typically, the usage of this class is as follows:
Definition at line 24 of file DetailedOutputAggregator.h.
Public Member Functions | |
DetailedOutputAggregator () | |
virtual | ~DetailedOutputAggregator () |
void | AppendArgSet (const RooAbsCollection *aset, TString prefix="") |
For each variable in aset, prepend prefix to its name and add to the internal store. More... | |
void | CommitSet (double weight=1.0) |
Commit to the result RooDataSet. More... | |
const RooArgList * | GetAsArgList () const |
RooDataSet * | GetAsDataSet (TString name, TString title) |
Returns all detailed output as a dataset. More... | |
Static Public Member Functions | |
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. More... | |
Private Attributes | |
RooArgList * | fBuiltSet |
RooDataSet * | fResult |
#include <RooStats/DetailedOutputAggregator.h>
|
inline |
Definition at line 34 of file DetailedOutputAggregator.h.
|
virtual |
Definition at line 38 of file DetailedOutputAggregator.cxx.
void RooStats::DetailedOutputAggregator::AppendArgSet | ( | const RooAbsCollection * | aset, |
TString | prefix = "" |
||
) |
For each variable in aset, prepend prefix to its name and add to the internal store.
Note this will not appear in the produced dataset unless CommitSet is called.
Definition at line 89 of file DetailedOutputAggregator.cxx.
void RooStats::DetailedOutputAggregator::CommitSet | ( | double | weight = 1.0 | ) |
Commit to the result RooDataSet.
Definition at line 129 of file DetailedOutputAggregator.cxx.
|
inline |
Definition at line 44 of file DetailedOutputAggregator.h.
|
static |
static function to translate the given fit result to a RooArgSet in a generic way.
Prefix is prepended to all variable names. LM: caller is responsible to delete the returned list and eventually also the content of the list Note that the returned list is not owning the returned content
Definition at line 50 of file DetailedOutputAggregator.cxx.
RooDataSet * RooStats::DetailedOutputAggregator::GetAsDataSet | ( | TString | name, |
TString | title | ||
) |
Returns all detailed output as a dataset.
Ownership of the dataset is transferred to the caller.
Definition at line 152 of file DetailedOutputAggregator.cxx.
|
private |
Definition at line 61 of file DetailedOutputAggregator.h.
|
private |
Definition at line 60 of file DetailedOutputAggregator.h.