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 42 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::GraphNodeGetGraph ()=0
 
virtual RLoopManagerGetLoopManagerUnchecked ()
 
const std::vector< std::string > & GetVariations () const
 
virtual std::shared_ptr< RNodeBaseGetVariedFilter (const std::string &variationName)
 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

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:
[legend]

Constructor & Destructor Documentation

◆ RNodeBase()

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

Definition at line 50 of file RNodeBase.hxx.

◆ ~RNodeBase()

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

Definition at line 54 of file RNodeBase.hxx.

Member Function Documentation

◆ AddFilterName()

virtual void ROOT::Detail::RDF::RNodeBase::AddFilterName ( std::vector< std::string > &  filters)
pure virtual

◆ CheckFilters()

virtual bool ROOT::Detail::RDF::RNodeBase::CheckFilters ( unsigned int  ,
Long64_t   
)
pure virtual

◆ GetGraph()

◆ GetLoopManagerUnchecked()

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

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

Definition at line 70 of file RNodeBase.hxx.

◆ GetVariations()

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

Definition at line 72 of file RNodeBase.hxx.

◆ GetVariedFilter()

virtual std::shared_ptr< RNodeBase > ROOT::Detail::RDF::RNodeBase::GetVariedFilter ( const std::string &  variationName)
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 75 of file RNodeBase.hxx.

◆ IncrChildrenCount()

◆ PartialReport()

◆ Report()

◆ ResetChildrenCount()

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

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

Definition at line 64 of file RNodeBase.hxx.

◆ StopProcessing()

Member Data Documentation

◆ fLoopManager

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

Definition at line 44 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 45 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 46 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 47 of file RNodeBase.hxx.

Libraries for ROOT::Detail::RDF::RNodeBase:

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