Base class for non-leaf nodes of the computational graph.
It only exposes the bare minimum interface required to work as a generic part of the computation graph. RDataFrames and results of transformations can be cast to this type via ROOT::RDF::RNode (or ROOT.RDF.AsRNode in PyROOT).
Definition at line 43 of file RNodeBase.hxx.
Public Member Functions | |
RNodeBase (const std::vector< std::string > &variations={}, RLoopManager *lm=nullptr) | |
virtual | ~RNodeBase () |
virtual void | AddFilterName (std::vector< std::string > &filters)=0 |
virtual bool | CheckFilters (unsigned int, Long64_t)=0 |
virtual std::shared_ptr< ROOT::Internal::RDF::GraphDrawing::GraphNode > | GetGraph (std::unordered_map< void *, std::shared_ptr< ROOT::Internal::RDF::GraphDrawing::GraphNode > > &visitedMap)=0 |
virtual RLoopManager * | GetLoopManagerUnchecked () |
const std::vector< std::string > & | GetVariations () const |
virtual std::shared_ptr< RNodeBase > | GetVariedFilter (const std::string &) |
Return a clone of this node that acts as a Filter working with values in the variationName "universe". | |
virtual void | IncrChildrenCount ()=0 |
virtual void | PartialReport (ROOT::RDF::RCutFlowReport &) const =0 |
virtual void | Report (ROOT::RDF::RCutFlowReport &) const =0 |
virtual void | ResetChildrenCount () |
virtual void | StopProcessing ()=0 |
Protected Attributes | |
RLoopManager * | fLoopManager |
unsigned int | fNChildren {0} |
Number of nodes of the functional graph hanging from this object. | |
unsigned int | fNStopsReceived {0} |
Number of times that a children node signaled to stop processing entries. | |
std::vector< std::string > | fVariations |
List of systematic variations that affect this node. | |
#include <ROOT/RDF/RNodeBase.hxx>
|
inline |
Definition at line 51 of file RNodeBase.hxx.
|
inlinevirtual |
Definition at line 55 of file RNodeBase.hxx.
|
pure virtual |
|
pure virtual |
|
inlinevirtual |
Reimplemented in ROOT::Detail::RDF::RLoopManager.
Definition at line 72 of file RNodeBase.hxx.
|
inline |
Definition at line 74 of file RNodeBase.hxx.
|
inlinevirtual |
Return a clone of this node that acts as a Filter working with values in the variationName "universe".
Reimplemented in ROOT::Detail::RDF::RFilter< FilterF, PrevNodeRaw >, ROOT::Detail::RDF::RJittedFilter, and ROOT::Detail::RDF::RRange< PrevNodeRaw >.
Definition at line 77 of file RNodeBase.hxx.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
inlinevirtual |
Reimplemented in ROOT::Detail::RDF::RJittedFilter.
Definition at line 66 of file RNodeBase.hxx.
|
pure virtual |
|
protected |
Definition at line 45 of file RNodeBase.hxx.
|
protected |
Number of nodes of the functional graph hanging from this object.
Definition at line 46 of file RNodeBase.hxx.
|
protected |
Number of times that a children node signaled to stop processing entries.
Definition at line 47 of file RNodeBase.hxx.
|
protected |
List of systematic variations that affect this node.
Definition at line 48 of file RNodeBase.hxx.