Specialization of RMergeableValue for the Count action.
Definition at line 176 of file RMergeableValue.hxx.
#include <ROOT/RDF/RMergeableValue.hxx>
◆ RMergeableCount() [1/4]
ROOT::Detail::RDF::RMergeableCount::RMergeableCount |
( |
ULong64_t |
value | ) |
|
|
inline |
Constructor that initializes data members.
- Parameters
-
[in] | value | The action result. |
Definition at line 206 of file RMergeableValue.hxx.
◆ RMergeableCount() [2/4]
ROOT::Detail::RDF::RMergeableCount::RMergeableCount |
( |
| ) |
|
|
default |
◆ RMergeableCount() [3/4]
◆ RMergeableCount() [4/4]
ROOT::Detail::RDF::RMergeableCount::RMergeableCount |
( |
const RMergeableCount & |
| ) |
|
|
delete |
◆ Merge()
|
inlinefinalprivatevirtual |
Aggregate the information contained in another RMergeableValue into this.
- Parameters
-
- Exceptions
-
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. Then the two results are added together to update the value held by the current object.
- Note
- All the
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< ULong64_t >.
Definition at line 192 of file RMergeableValue.hxx.
The documentation for this class was generated from the following file: