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

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

Definition at line 39 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 > pd)
 
 ~RRange ()
 
void AddFilterName (std::vector< std::string > &filters)
 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)
 
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)
 
virtual ~RRangeBase ()
 
virtual std::shared_ptr< RDFGraphDrawing::GraphNodeGetGraph (std::unordered_map< void *, std::shared_ptr< RDFGraphDrawing::GraphNode > > &visitedMap)=0
 
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 &variationName)
 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 Attributes

PrevNode & fPrevNode
 
const std::shared_ptr< PrevNode > fPrevNodePtr
 

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

Constructor & Destructor Documentation

◆ RRange() [1/2]

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

Definition at line 44 of file RRange.hxx.

◆ RRange() [2/2]

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

◆ ~RRange()

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

Definition at line 55 of file RRange.hxx.

Member Function Documentation

◆ AddFilterName()

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

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

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

Definition at line 106 of file RRange.hxx.

◆ CheckFilters()

template<typename PrevNode >
bool ROOT::Detail::RDF::RRange< PrevNode >::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 58 of file RRange.hxx.

◆ GetGraph()

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

Implements ROOT::Detail::RDF::RRangeBase.

Definition at line 108 of file RRange.hxx.

◆ GetVariedFilter()

template<typename PrevNode >
std::shared_ptr< RNodeBase > ROOT::Detail::RDF::RRange< PrevNode >::GetVariedFilter ( const std::string &  variationName)
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 134 of file RRange.hxx.

◆ IncrChildrenCount()

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

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

Definition at line 97 of file RRange.hxx.

◆ operator=()

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

◆ PartialReport()

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

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

Definition at line 88 of file RRange.hxx.

◆ Report()

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

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

Definition at line 86 of file RRange.hxx.

◆ StopProcessing()

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

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

Definition at line 90 of file RRange.hxx.

Member Data Documentation

◆ fPrevNode

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

Definition at line 41 of file RRange.hxx.

◆ fPrevNodePtr

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

Definition at line 40 of file RRange.hxx.


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