A container for variation names and variation results.
The class stores two vectors: one with the variation names, the other with corresponding mergeable variation values. These are retrieved from an RVariedAction (resulting from a call to ROOT::RDF::VariationsFor). The results are stored as type-erased RMergeableValueBase objects.
Definition at line 569 of file RMergeableValue.hxx.
Protected Attributes | |
std::vector< std::string > | fKeys |
std::vector< std::unique_ptr< RMergeableValueBase > > | fValues |
#include <ROOT/RDF/RMergeableValue.hxx>
|
default |
Default constructor.
Needed to allow serialization of ROOT objects. See [TBufferFile::WriteObjectClass] (classTBufferFile.html::a209078a4cb58373b627390790bf0c9c1)
|
delete |
|
inline |
Constructor that moves the data members from the input object.
[in] | other | The container from which the data members are moved. |
This constructor is needed as an helper in the RMergeableVariations constructor that takes an RMergeableVariationsBase as input.
Definition at line 589 of file RMergeableValue.hxx.
|
inline |
Constructor that initializes data members.
[in] | keys | The names of the variations. |
[in] | values | The mergeable values containing the results of the variations. |
Definition at line 600 of file RMergeableValue.hxx.
|
inline |
Add an entry for the "nominal" value.
The way client code is structured, the nominal value is provided separately from the others.
Definition at line 609 of file RMergeableValue.hxx.
|
delete |
|
delete |
|
protected |
Definition at line 571 of file RMergeableValue.hxx.
|
protected |
Definition at line 572 of file RMergeableValue.hxx.