Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
ROOT::Detail::RDF::RNodeBase Class Referenceabstract

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 RNodeBase &)=delete
 RNodeBase (const std::vector< std::string > &variations={}, RLoopManager *lm=nullptr)
 RNodeBase (RNodeBase &&)=delete
virtual ~RNodeBase ()=default
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::GraphNodeGetGraph (std::unordered_map< void *, std::shared_ptr< ROOT::Internal::RDF::GraphDrawing::GraphNode > > &visitedMap)=0
virtual RLoopManagerGetLoopManagerUnchecked ()
const std::vector< std::string > & GetVariations () const
virtual std::shared_ptr< RNodeBaseGetVariedFilter (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
RNodeBaseoperator= (const RNodeBase &)=delete
RNodeBaseoperator= (RNodeBase &&)=delete
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

RLoopManagerfLoopManager
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>

Inheritance diagram for ROOT::Detail::RDF::RNodeBase:
ROOT::Detail::RDF::RFilterBase ROOT::Detail::RDF::RLoopManager ROOT::Detail::RDF::RRangeBase ROOT::Detail::RDF::RFilter< FilterF, PrevNodeRaw > ROOT::Detail::RDF::RFilterWithMissingValues< PrevNodeRaw > ROOT::Detail::RDF::RJittedFilter ROOT::Detail::RDF::RRange< PrevNodeRaw >

Constructor & Destructor Documentation

◆ RNodeBase() [1/3]

ROOT::Detail::RDF::RNodeBase::RNodeBase ( const std::vector< std::string > & variations = {},
RLoopManager * lm = nullptr )
inline

Definition at line 51 of file RNodeBase.hxx.

◆ RNodeBase() [2/3]

ROOT::Detail::RDF::RNodeBase::RNodeBase ( const RNodeBase & )
delete

◆ RNodeBase() [3/3]

ROOT::Detail::RDF::RNodeBase::RNodeBase ( RNodeBase && )
delete

◆ ~RNodeBase()

virtual ROOT::Detail::RDF::RNodeBase::~RNodeBase ( )
virtualdefault

Member Function Documentation

◆ AddFilterName()

◆ CheckFilters()

◆ GetGraph()

virtual std::shared_ptr< ROOT::Internal::RDF::GraphDrawing::GraphNode > ROOT::Detail::RDF::RNodeBase::GetGraph ( std::unordered_map< void *, std::shared_ptr< ROOT::Internal::RDF::GraphDrawing::GraphNode > > & visitedMap)
pure virtual

◆ GetLoopManagerUnchecked()

virtual RLoopManager * ROOT::Detail::RDF::RNodeBase::GetLoopManagerUnchecked ( )
inlinevirtual

Reimplemented in RLoopManager, and ROOT::Detail::RDF::RLoopManager.

Definition at line 79 of file RNodeBase.hxx.

◆ GetVariations()

const std::vector< std::string > & ROOT::Detail::RDF::RNodeBase::GetVariations ( ) const
inline

Definition at line 81 of file RNodeBase.hxx.

◆ GetVariedFilter()

virtual std::shared_ptr< RNodeBase > ROOT::Detail::RDF::RNodeBase::GetVariedFilter ( const std::string & )
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::RFilterWithMissingValues< PrevNodeRaw >, ROOT::Detail::RDF::RJittedFilter, and ROOT::Detail::RDF::RRange< PrevNodeRaw >.

Definition at line 84 of file RNodeBase.hxx.

◆ IncrChildrenCount()

◆ operator=() [1/2]

RNodeBase & ROOT::Detail::RDF::RNodeBase::operator= ( const RNodeBase & )
delete

◆ operator=() [2/2]

RNodeBase & ROOT::Detail::RDF::RNodeBase::operator= ( RNodeBase && )
delete

◆ PartialReport()

◆ Report()

◆ ResetChildrenCount()

virtual void ROOT::Detail::RDF::RNodeBase::ResetChildrenCount ( )
inlinevirtual

Reimplemented in ROOT::Detail::RDF::RJittedFilter.

Definition at line 73 of file RNodeBase.hxx.

◆ StopProcessing()

Member Data Documentation

◆ fLoopManager

RLoopManager* ROOT::Detail::RDF::RNodeBase::fLoopManager
protected

Definition at line 45 of file RNodeBase.hxx.

◆ fNChildren

unsigned int ROOT::Detail::RDF::RNodeBase::fNChildren {0}
protected

Number of nodes of the functional graph hanging from this object.

Definition at line 46 of file RNodeBase.hxx.

◆ fNStopsReceived

unsigned int ROOT::Detail::RDF::RNodeBase::fNStopsReceived {0}
protected

Number of times that a children node signaled to stop processing entries.

Definition at line 47 of file RNodeBase.hxx.

◆ fVariations

std::vector<std::string> ROOT::Detail::RDF::RNodeBase::fVariations
protected

List of systematic variations that affect this node.

Definition at line 48 of file RNodeBase.hxx.


The documentation for this class was generated from the following file: