Classes | |
class | RResultMap |
Functions | |
template<typename T > | |
RResultMap< T > | VariationsFor (RResultPtr< T > resPtr) |
Produce all required systematic variations for the given result. | |
RResultMap< T > ROOT::RDF::Experimental::VariationsFor | ( | RResultPtr< T > | resPtr | ) |
Produce all required systematic variations for the given result.
[in] | resPtr | The result for which variations should be produced. |
A given input RResultPtr<T> produces a corresponding RResultMap<T> with a "nominal" key that will return a value identical to the one contained in the original RResultPtr. Other keys correspond to the varied values of this result, one for each variation that the result depends on. VariationsFor does not trigger the event loop. The event loop is only triggered upon first access to a valid key, similarly to what happens with RResultPtr.
If the result does not depend, directly or indirectly, from any registered systematic variation, the returned RResultMap will contain only the "nominal" key.
See RDataFrame's Vary method for more information and example usages.
Definition at line 218 of file RDFHelpers.hxx.