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

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 (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.
 
bool CheckFilters (unsigned int slot, Long64_t entry) final
 Ranges act as filters when it comes to selecting entries that downstream nodes should process.
 
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".
 
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 RLoopManagerGetLoopManagerUnchecked ()
 
const std::vector< std::string > & GetVariations () const
 
virtual void ResetChildrenCount ()
 

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 Attributes inherited from ROOT::Detail::RDF::RRangeBase
bool fHasStopped {false}
 True if the end of the range has been reached.
 
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.
 
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.
 
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/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 47 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 52 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 64 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 115 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 67 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 117 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 151 of file RRange.hxx.

◆ IncrChildrenCount()

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

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

Definition at line 106 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 97 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 95 of file RRange.hxx.

◆ StopProcessing()

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

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

Definition at line 99 of file RRange.hxx.

Member Data Documentation

◆ 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.

  • tree/dataframe/inc/ROOT/RDF/RRange.hxx