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 | |
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. | |
void | CommitSet (double weight=1.0) |
Commit to the result RooDataSet. | |
const RooArgList * | GetAsArgList () const |
RooDataSet * | GetAsDataSet (TString name, TString title) |
Returns all detailed output as a dataset. | |
virtual TClass * | IsA () const |
virtual void | Streamer (TBuffer &) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Static Public Member Functions | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
static RooArgSet * | GetAsArgSet (RooFitResult *result, TString prefix="", bool withErrorsAndPulls=false) |
Translate the given fit result to a RooArgSet in a generic way. | |
Private Attributes | |
RooArgList * | fBuiltSet = nullptr |
RooDataSet * | fResult = nullptr |
#include <RooStats/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 88 of file DetailedOutputAggregator.cxx.
|
static |
|
static |
|
inlinestaticconstexpr |
Definition at line 58 of file DetailedOutputAggregator.h.
void RooStats::DetailedOutputAggregator::CommitSet | ( | double | weight = 1.0 | ) |
Commit to the result RooDataSet.
Definition at line 127 of file DetailedOutputAggregator.cxx.
|
inlinestatic |
Definition at line 58 of file DetailedOutputAggregator.h.
|
inline |
Definition at line 39 of file DetailedOutputAggregator.h.
|
static |
Translate the given fit result to a RooArgSet in a generic way.
static function to translate the given fit result to a RooArgSet in a generic way.
Prefix is prepended to all variable names. Note that the returned set is managed by the user and the user must explicitly delete all the set content (the returned set does not own the content)
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 148 of file DetailedOutputAggregator.cxx.
|
inlinevirtual |
Definition at line 58 of file DetailedOutputAggregator.h.
|
virtual |
|
inline |
Definition at line 58 of file DetailedOutputAggregator.h.
|
private |
Definition at line 56 of file DetailedOutputAggregator.h.
|
private |
Definition at line 55 of file DetailedOutputAggregator.h.