Specialization of RMergeableValue for histograms and statistics.
This subclass is responsible for merging results coming from the following actions:
Definition at line 254 of file RMergeableValue.hxx.
Public Member Functions | |
RMergeableFill ()=default | |
Default constructor. | |
RMergeableFill (const RMergeableFill &)=delete | |
RMergeableFill (const T &value) | |
Constructor that initializes data members. | |
RMergeableFill (RMergeableFill &&)=delete | |
RMergeableFill & | operator= (const RMergeableFill &)=delete |
RMergeableFill & | operator= (RMergeableFill &&)=delete |
Public Member Functions inherited from ROOT::Detail::RDF::RMergeableValue< T > | |
RMergeableValue ()=default | |
Default constructor. | |
RMergeableValue (const RMergeableValue &)=delete | |
RMergeableValue (const T &value) | |
Constructor taking the action result by const reference. | |
RMergeableValue (RMergeableValue &&)=delete | |
const T & | GetValue () const |
Retrieve the result wrapped by this mergeable. | |
RMergeableValue & | operator= (const RMergeableValue &)=delete |
RMergeableValue & | operator= (RMergeableValue &&)=delete |
Public Member Functions inherited from ROOT::Detail::RDF::RMergeableValueBase | |
RMergeableValueBase ()=default | |
Default constructor. | |
RMergeableValueBase (const RMergeableValueBase &)=delete | |
RMergeableValueBase (RMergeableValueBase &&)=delete | |
virtual | ~RMergeableValueBase ()=default |
RMergeableValueBase & | operator= (const RMergeableValueBase &)=delete |
RMergeableValueBase & | operator= (RMergeableValueBase &&)=delete |
Private Member Functions | |
template<typename U > | |
auto | DoMerge (const RMergeableFill< U > &other, double) -> decltype(this->fValue.Merge(std::vector< U * >{}), void()) |
template<typename U , std::enable_if_t< std::is_base_of< TObject, U >::value, int > = 0> | |
auto | DoMerge (const RMergeableFill< U > &other, int) -> decltype(((U &) this->fValue).Merge((TCollection *) nullptr), void()) |
void | Merge (const RMergeableValue< T > &other) final |
Aggregate the information contained in another RMergeableValue into this. | |
Additional Inherited Members | |
Protected Attributes inherited from ROOT::Detail::RDF::RMergeableValue< T > | |
T | fValue |
#include <ROOT/RDF/RMergeableValue.hxx>
|
inline |
Constructor that initializes data members.
[in] | value | The action result. |
Definition at line 305 of file RMergeableValue.hxx.
|
default |
Default constructor.
Needed to allow serialization of ROOT objects. See [TBufferFile::WriteObjectClass] (classTBufferFile.html::a209078a4cb58373b627390790bf0c9c1)
|
delete |
|
delete |
|
inlineprivate |
Definition at line 270 of file RMergeableValue.hxx.
|
inlineprivate |
Definition at line 260 of file RMergeableValue.hxx.
|
inlinefinalprivatevirtual |
Aggregate the information contained in another RMergeableValue into this.
[in] | other | Another RMergeableValue object. |
std::invalid_argument | If the cast of the other object to the same type as this one fails. |
The other RMergeableValue object is cast to the same type as this object. This is needed to make sure that only results of the same type of action are merged together. The function then calls the right Merge
method according to the class of the fValue data member.
Merge
methods in the RMergeableValue family are private. To merge multiple RMergeableValue objects please use [MergeValues] (namespaceROOT_1_1Detail_1_1RDF.html::af16fefbe2d120983123ddf8a1e137277). Implements ROOT::Detail::RDF::RMergeableValue< T >.
Definition at line 291 of file RMergeableValue.hxx.
|
delete |
|
delete |