Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
ROOT::Detail::RDF::RRange< PrevNodeRaw > Class Template Referencefinalabstract

template<typename PrevNodeRaw>
class ROOT::Detail::RDF::RRange< PrevNodeRaw >

Definition at line 43 of file RRange.hxx.

Public Member Functions

 RRange (const RRange &)=delete
 RRange (RRange &&)=delete
 RRange (unsigned int start, unsigned int stop, unsigned int stride, std::shared_ptr< PrevNode_t > pd)
 ~RRange () final
void AddFilterName (std::vector< std::string > &filters) final
 This function must be defined by all nodes, but only the filters will add their name.
bool CheckFilters (unsigned int slot, Long64_t entry) final
 Ranges act as filters when it comes to selecting entries that downstream nodes should process.
virtual std::shared_ptr< ROOT::Internal::RDF::GraphDrawing::GraphNodeGetGraph (std::unordered_map< void *, std::shared_ptr< ROOT::Internal::RDF::GraphDrawing::GraphNode > > &visitedMap)=0
std::shared_ptr< RDFGraphDrawing::GraphNode > GetGraph (std::unordered_map< void *, std::shared_ptr< RDFGraphDrawing::GraphNode > > &visitedMap) final
virtual RLoopManagerGetLoopManagerUnchecked ()
const std::vector< std::string > & GetVariations () const
std::shared_ptr< RNodeBaseGetVariedFilter (const std::string &variationName) final
 Return a clone of this node that acts as a Filter working with values in the variationName "universe".
void IncrChildrenCount () final
void InitNode ()
RRangeoperator= (const RRange &)=delete
RRangeoperator= (RRange &&)=delete
void PartialReport (ROOT::RDF::RCutFlowReport &rep) const final
void Report (ROOT::RDF::RCutFlowReport &rep) const final
virtual void ResetChildrenCount ()
void StopProcessing () final

Protected Attributes

bool fHasStopped {false}
 True if the end of the range has been reached.
Long64_t fLastCheckedEntry {-1}
bool fLastResult {true}
RLoopManagerfLoopManager
unsigned int fNChildren {0}
 Number of nodes of the functional graph hanging from this object.
ULong64_t fNProcessedEntries {0}
const unsigned int fNSlots
 Number of thread slots used by this node, inherited from parent node.
unsigned int fNStopsReceived {0}
 Number of times that a children node signaled to stop processing entries.
unsigned int fStart
unsigned int fStop
unsigned int fStride
std::vector< std::string > fVariations
 List of systematic variations that affect this node.
std::unordered_map< std::string, std::shared_ptr< RRangeBase > > fVariedRanges

Private Types

using PrevNode_t = std::conditional_t<std::is_same<PrevNodeRaw, RJittedFilter>::value, RFilterBase, PrevNodeRaw>

Private Attributes

PrevNode_tfPrevNode
const std::shared_ptr< PrevNode_tfPrevNodePtr

#include <ROOT/RDF/RRange.hxx>

Inheritance diagram for ROOT::Detail::RDF::RRange< PrevNodeRaw >:
ROOT::Detail::RDF::RRangeBase ROOT::Detail::RDF::RNodeBase

Member Typedef Documentation

◆ PrevNode_t

template<typename PrevNodeRaw>
using ROOT::Detail::RDF::RRange< PrevNodeRaw >::PrevNode_t = std::conditional_t<std::is_same<PrevNodeRaw, RJittedFilter>::value, RFilterBase, PrevNodeRaw>
private

Definition at line 47 of file RRange.hxx.

Constructor & Destructor Documentation

◆ RRange() [1/3]

template<typename PrevNodeRaw>
ROOT::Detail::RDF::RRange< PrevNodeRaw >::RRange ( unsigned int start,
unsigned int stop,
unsigned int stride,
std::shared_ptr< PrevNode_t > pd )
inline

Definition at line 52 of file RRange.hxx.

◆ RRange() [2/3]

template<typename PrevNodeRaw>
ROOT::Detail::RDF::RRange< PrevNodeRaw >::RRange ( const RRange< PrevNodeRaw > & )
delete

◆ RRange() [3/3]

template<typename PrevNodeRaw>
ROOT::Detail::RDF::RRange< PrevNodeRaw >::RRange ( RRange< PrevNodeRaw > && )
delete

◆ ~RRange()

template<typename PrevNodeRaw>
ROOT::Detail::RDF::RRange< PrevNodeRaw >::~RRange ( )
inlinefinal

Definition at line 68 of file RRange.hxx.

Member Function Documentation

◆ AddFilterName()

template<typename PrevNodeRaw>
void ROOT::Detail::RDF::RRange< PrevNodeRaw >::AddFilterName ( std::vector< std::string > & filters)
inlinefinalvirtual

This function must be defined by all nodes, but only the filters will add their name.

Implements ROOT::Detail::RDF::RNodeBase.

Definition at line 119 of file RRange.hxx.

◆ CheckFilters()

template<typename PrevNodeRaw>
bool ROOT::Detail::RDF::RRange< PrevNodeRaw >::CheckFilters ( unsigned int slot,
Long64_t entry )
inlinefinalvirtual

Ranges act as filters when it comes to selecting entries that downstream nodes should process.

Implements ROOT::Detail::RDF::RNodeBase.

Definition at line 71 of file RRange.hxx.

◆ GetGraph() [1/2]

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 virtualinherited

◆ GetGraph() [2/2]

template<typename PrevNodeRaw>
std::shared_ptr< RDFGraphDrawing::GraphNode > ROOT::Detail::RDF::RRange< PrevNodeRaw >::GetGraph ( std::unordered_map< void *, std::shared_ptr< RDFGraphDrawing::GraphNode > > & visitedMap)
inlinefinal

Definition at line 121 of file RRange.hxx.

◆ GetLoopManagerUnchecked()

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

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
inlineinherited

Definition at line 81 of file RNodeBase.hxx.

◆ GetVariedFilter()

template<typename PrevNodeRaw>
std::shared_ptr< RNodeBase > ROOT::Detail::RDF::RRange< PrevNodeRaw >::GetVariedFilter ( const std::string & )
inlinefinalvirtual

Return a clone of this node that acts as a Filter working with values in the variationName "universe".

Reimplemented from ROOT::Detail::RDF::RNodeBase.

Definition at line 155 of file RRange.hxx.

◆ IncrChildrenCount()

template<typename PrevNodeRaw>
void ROOT::Detail::RDF::RRange< PrevNodeRaw >::IncrChildrenCount ( )
inlinefinalvirtual

Implements ROOT::Detail::RDF::RNodeBase.

Definition at line 110 of file RRange.hxx.

◆ InitNode()

void RRangeBase::InitNode ( )
inherited

Definition at line 21 of file RRangeBase.cxx.

◆ operator=() [1/2]

template<typename PrevNodeRaw>
RRange & ROOT::Detail::RDF::RRange< PrevNodeRaw >::operator= ( const RRange< PrevNodeRaw > & )
delete

◆ operator=() [2/2]

template<typename PrevNodeRaw>
RRange & ROOT::Detail::RDF::RRange< PrevNodeRaw >::operator= ( RRange< PrevNodeRaw > && )
delete

◆ PartialReport()

template<typename PrevNodeRaw>
void ROOT::Detail::RDF::RRange< PrevNodeRaw >::PartialReport ( ROOT::RDF::RCutFlowReport & rep) const
inlinefinalvirtual

Implements ROOT::Detail::RDF::RNodeBase.

Definition at line 101 of file RRange.hxx.

◆ Report()

template<typename PrevNodeRaw>
void ROOT::Detail::RDF::RRange< PrevNodeRaw >::Report ( ROOT::RDF::RCutFlowReport & rep) const
inlinefinalvirtual

Implements ROOT::Detail::RDF::RNodeBase.

Definition at line 99 of file RRange.hxx.

◆ ResetChildrenCount()

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

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

Definition at line 73 of file RNodeBase.hxx.

◆ StopProcessing()

template<typename PrevNodeRaw>
void ROOT::Detail::RDF::RRange< PrevNodeRaw >::StopProcessing ( )
inlinefinalvirtual

Implements ROOT::Detail::RDF::RNodeBase.

Definition at line 103 of file RRange.hxx.

Member Data Documentation

◆ fHasStopped

bool ROOT::Detail::RDF::RRangeBase::fHasStopped {false}
protectedinherited

True if the end of the range has been reached.

Definition at line 41 of file RRangeBase.hxx.

◆ fLastCheckedEntry

Long64_t ROOT::Detail::RDF::RRangeBase::fLastCheckedEntry {-1}
protectedinherited

Definition at line 38 of file RRangeBase.hxx.

◆ fLastResult

bool ROOT::Detail::RDF::RRangeBase::fLastResult {true}
protectedinherited

Definition at line 39 of file RRangeBase.hxx.

◆ fLoopManager

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

Definition at line 45 of file RNodeBase.hxx.

◆ fNChildren

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

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

Definition at line 46 of file RNodeBase.hxx.

◆ fNProcessedEntries

ULong64_t ROOT::Detail::RDF::RRangeBase::fNProcessedEntries {0}
protectedinherited

Definition at line 40 of file RRangeBase.hxx.

◆ fNSlots

const unsigned int ROOT::Detail::RDF::RRangeBase::fNSlots
protectedinherited

Number of thread slots used by this node, inherited from parent node.

Definition at line 42 of file RRangeBase.hxx.

◆ fNStopsReceived

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

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

Definition at line 47 of file RNodeBase.hxx.

◆ fPrevNode

template<typename PrevNodeRaw>
PrevNode_t& ROOT::Detail::RDF::RRange< PrevNodeRaw >::fPrevNode
private

Definition at line 49 of file RRange.hxx.

◆ fPrevNodePtr

template<typename PrevNodeRaw>
const std::shared_ptr<PrevNode_t> ROOT::Detail::RDF::RRange< PrevNodeRaw >::fPrevNodePtr
private

Definition at line 48 of file RRange.hxx.

◆ fStart

unsigned int ROOT::Detail::RDF::RRangeBase::fStart
protectedinherited

Definition at line 35 of file RRangeBase.hxx.

◆ fStop

unsigned int ROOT::Detail::RDF::RRangeBase::fStop
protectedinherited

Definition at line 36 of file RRangeBase.hxx.

◆ fStride

unsigned int ROOT::Detail::RDF::RRangeBase::fStride
protectedinherited

Definition at line 37 of file RRangeBase.hxx.

◆ fVariations

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

List of systematic variations that affect this node.

Definition at line 48 of file RNodeBase.hxx.

◆ fVariedRanges

std::unordered_map<std::string, std::shared_ptr<RRangeBase> > ROOT::Detail::RDF::RRangeBase::fVariedRanges
protectedinherited

Definition at line 43 of file RRangeBase.hxx.


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