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 | |
| const T & | GetValue () const |
| Retrieve the result wrapped by this mergeable. | |
| RMergeableFill & | operator= (const RMergeableFill &)=delete |
| RMergeableFill & | operator= (RMergeableFill &&)=delete |
Protected Attributes | |
| T | fValue |
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. | |
#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.
|
inlineinherited |
Retrieve the result wrapped by this mergeable.
Definition at line 185 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.
Implements ROOT::Detail::RDF::RMergeableValue< T >.
Definition at line 291 of file RMergeableValue.hxx.
|
delete |
|
delete |
|
protectedinherited |
Definition at line 164 of file RMergeableValue.hxx.