A RDataFrame node that produces a result.
| Helper | The action helper type, which implements the concrete action logic (e.g. FillHelper, SnapshotHelper) |
| PrevNode | The type of the parent node in the computation graph |
| ColumnTypes_t | A TypeList with the types of the input columns |
Definition at line 53 of file RAction.hxx.
Public Member Functions | |
| RAction (const RAction &)=delete | |
| RAction (Helper &&h, const ColumnNames_t &columns, std::shared_ptr< PrevNode > pd, const RColumnRegister &colRegister) | |
| ~RAction () | |
| template<typename... ColTypes, std::size_t... S> | |
| void | CallExec (unsigned int slot, Long64_t entry, TypeList< ColTypes... >, std::index_sequence< S... >) |
| std::unique_ptr< RActionBase > | CloneAction (void *newResult) final |
| Returns a new action with a cloned helper. | |
| void | Finalize () final |
| Clean-up and finalize the action result (e.g. | |
| void | FinalizeSlot (unsigned int slot) final |
| Clean-up operations to be performed at the end of a task. | |
| RColumnRegister & | GetColRegister () |
| const ColumnNames_t & | GetColumnNames () const |
| std::shared_ptr< RDFGraphDrawing::GraphNode > | GetGraph (std::unordered_map< void *, std::shared_ptr< RDFGraphDrawing::GraphNode > > &visitedMap) final |
| RLoopManager * | GetLoopManager () |
| std::unique_ptr< RDFDetail::RMergeableValueBase > | GetMergeableValue () const final |
| Retrieve a wrapper to the result of the action that knows how to merge with others of the same type. | |
| unsigned int | GetNSlots () const |
| template<typename ColType > | |
| auto | GetValueChecked (unsigned int slot, std::size_t readerIdx, Long64_t entry) -> ColType & |
| const std::vector< std::string > & | GetVariations () const |
| virtual bool | HasRun () const |
| void | Initialize () final |
| void | InitSlot (TTreeReader *r, unsigned int slot) final |
| std::unique_ptr< RActionBase > | MakeVariedAction (std::vector< void * > &&results) final |
| RAction & | operator= (const RAction &)=delete |
| void * | PartialUpdate (unsigned int slot) final |
| This method is invoked to update a partial result during the event loop, right before passing the result to a user-defined callback registered via RResultPtr::RegisterCallback. | |
| void | Run (unsigned int slot, Long64_t entry) final |
| virtual void | SetHasRun () |
| void | TriggerChildrenCount () final |
Protected Attributes | |
| const ColumnNames_t | fColumnNames |
| RLoopManager * | fLoopManager |
| A raw pointer to the RLoopManager at the root of this functional graph. | |
Private Types | |
| using | TypeInd_t = std::make_index_sequence<ColumnTypes_t::list_size> |
Private Member Functions | |
| ROOT::RDF::SampleCallback_t | GetSampleCallback () final |
Private Attributes | |
| RColumnRegister | fColRegister |
| bool | fHasRun = false |
| Helper | fHelper |
| std::array< bool, ColumnTypes_t::list_size > | fIsDefine |
| The nth flag signals whether the nth input column is a custom column or not. | |
| const unsigned int | fNSlots |
| Number of thread slots used by this node. | |
| PrevNode & | fPrevNode |
| const std::shared_ptr< PrevNode > | fPrevNodePtr |
| std::vector< std::array< RColumnReaderBase *, ColumnTypes_t::list_size > > | fValues |
| Column readers per slot and per input column. | |
| std::vector< std::string > | fVariations |
| List of systematic variations that affect the result of this action ("nominal" excluded). | |
#include <ROOT/RDF/RAction.hxx>
|
private |
Definition at line 54 of file RAction.hxx.
|
inline |
Definition at line 66 of file RAction.hxx.
|
delete |
|
inline |
Definition at line 80 of file RAction.hxx.
|
inline |
Definition at line 115 of file RAction.hxx.
|
inlinefinalvirtual |
Returns a new action with a cloned helper.
| [in] | newResult | The result to be filled by the new action (needed to clone the helper). |
Implements ROOT::Internal::RDF::RActionBase.
Definition at line 191 of file RAction.hxx.
|
inlinefinalvirtual |
Clean-up and finalize the action result (e.g.
merging slot-local results). It invokes the helper's Finalize method.
Implements ROOT::Internal::RDF::RActionBase.
Definition at line 140 of file RAction.hxx.
|
inlinefinalvirtual |
Clean-up operations to be performed at the end of a task.
Implements ROOT::Internal::RDF::RActionBase.
Definition at line 132 of file RAction.hxx.
|
inlineinherited |
Definition at line 63 of file RActionBase.hxx.
|
inlineinherited |
Definition at line 62 of file RActionBase.hxx.
|
inlinefinalvirtual |
Implements ROOT::Internal::RDF::RActionBase.
Definition at line 147 of file RAction.hxx.
|
inlineinherited |
Definition at line 64 of file RActionBase.hxx.
|
inlinefinalvirtual |
Retrieve a wrapper to the result of the action that knows how to merge with others of the same type.
Implements ROOT::Internal::RDF::RActionBase.
Definition at line 86 of file RAction.hxx.
|
inlineinherited |
Definition at line 65 of file RActionBase.hxx.
|
inlinefinalprivatevirtual |
Implements ROOT::Internal::RDF::RActionBase.
Definition at line 198 of file RAction.hxx.
|
inline |
Definition at line 102 of file RAction.hxx.
|
inlineinherited |
Definition at line 91 of file RActionBase.hxx.
Reimplemented in ROOT::Internal::RDF::RJittedAction.
Definition at line 77 of file RActionBase.hxx.
|
inlinefinalvirtual |
Implements ROOT::Internal::RDF::RActionBase.
Definition at line 91 of file RAction.hxx.
|
inlinefinalvirtual |
Implements ROOT::Internal::RDF::RActionBase.
Definition at line 93 of file RAction.hxx.
|
inlinefinalvirtual |
Implements ROOT::Internal::RDF::RActionBase.
Definition at line 169 of file RAction.hxx.
|
delete |
|
inlinefinalvirtual |
This method is invoked to update a partial result during the event loop, right before passing the result to a user-defined callback registered via RResultPtr::RegisterCallback.
Implements ROOT::Internal::RDF::RActionBase.
Definition at line 167 of file RAction.hxx.
|
inlinefinalvirtual |
Implements ROOT::Internal::RDF::RActionBase.
Definition at line 122 of file RAction.hxx.
|
inlinevirtualinherited |
Reimplemented in ROOT::Internal::RDF::RJittedAction.
Definition at line 78 of file RActionBase.hxx.
|
inlinefinalvirtual |
Implements ROOT::Internal::RDF::RActionBase.
Definition at line 129 of file RAction.hxx.
|
privateinherited |
Definition at line 53 of file RActionBase.hxx.
|
protectedinherited |
Definition at line 45 of file RActionBase.hxx.
Definition at line 49 of file RActionBase.hxx.
|
private |
Definition at line 56 of file RAction.hxx.
|
private |
The nth flag signals whether the nth input column is a custom column or not.
Definition at line 63 of file RAction.hxx.
|
protectedinherited |
A raw pointer to the RLoopManager at the root of this functional graph.
Never null: children nodes have shared ownership of parent nodes in the graph.
Definition at line 44 of file RActionBase.hxx.
Number of thread slots used by this node.
Definition at line 48 of file RActionBase.hxx.
|
private |
Definition at line 58 of file RAction.hxx.
|
private |
Definition at line 57 of file RAction.hxx.
|
private |
Column readers per slot and per input column.
Definition at line 60 of file RAction.hxx.
|
privateinherited |
List of systematic variations that affect the result of this action ("nominal" excluded).
Definition at line 51 of file RActionBase.hxx.