Logo ROOT  
Reference Guide
ROOT::Detail::RDF::RRange< PrevNodeRaw > Class Template Referencefinal

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

Definition at line 40 of file RRange.hxx.

Public Member Functions

 RRange (const RRange &)=delete
 
 RRange (unsigned int start, unsigned int stop, unsigned int stride, std::shared_ptr< PrevNode_t > pd)
 
 ~RRange ()
 
void AddFilterName (std::vector< std::string > &filters) final
 This function must be defined by all nodes, but only the filters will add their name. More...
 
bool CheckFilters (unsigned int slot, Long64_t entry) final
 Ranges act as filters when it comes to selecting entries that downstream nodes should process. More...
 
std::shared_ptr< RDFGraphDrawing::GraphNodeGetGraph (std::unordered_map< void *, std::shared_ptr< RDFGraphDrawing::GraphNode > > &visitedMap) final
 
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". More...
 
void IncrChildrenCount () final
 
RRangeoperator= (const RRange &)=delete
 
void PartialReport (ROOT::RDF::RCutFlowReport &rep) const final
 
void Report (ROOT::RDF::RCutFlowReport &rep) const final
 
void StopProcessing () final
 
- Public Member Functions inherited from ROOT::Detail::RDF::RRangeBase
 RRangeBase (RLoopManager *implPtr, unsigned int start, unsigned int stop, unsigned int stride, const unsigned int nSlots, const std::vector< std::string > &prevVariations)
 
 ~RRangeBase () override
 
void InitNode ()
 
RRangeBaseoperator= (const RRangeBase &)=delete
 
- Public Member Functions inherited from ROOT::Detail::RDF::RNodeBase
 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 (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". More...
 
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
 

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
 

Additional Inherited Members

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

#include <ROOT/RDF/RRange.hxx>

Inheritance diagram for ROOT::Detail::RDF::RRange< PrevNodeRaw >:
[legend]

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 44 of file RRange.hxx.

Constructor & Destructor Documentation

◆ RRange() [1/2]

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 49 of file RRange.hxx.

◆ RRange() [2/2]

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

◆ ~RRange()

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

Definition at line 61 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 112 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 64 of file RRange.hxx.

◆ GetGraph()

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

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

Definition at line 114 of file RRange.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 140 of file RRange.hxx.

◆ IncrChildrenCount()

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

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

Definition at line 103 of file RRange.hxx.

◆ operator=()

template<typename PrevNodeRaw >
RRange & ROOT::Detail::RDF::RRange< PrevNodeRaw >::operator= ( const 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 94 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 92 of file RRange.hxx.

◆ StopProcessing()

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

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

Definition at line 96 of file RRange.hxx.

Member Data Documentation

◆ fPrevNode

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

Definition at line 46 of file RRange.hxx.

◆ fPrevNodePtr

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

Definition at line 45 of file RRange.hxx.


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