Logo ROOT  
Reference Guide
ROOT::Detail::RDF::RJittedFilter Class Referencefinal

A wrapper around a concrete RFilter, which forwards all calls to it RJittedFilter is the type of the node returned by jitted Filter calls: the concrete filter can be created and set at a later time, from jitted code.

Definition at line 39 of file RJittedFilter.hxx.

Public Member Functions

 RJittedFilter (RLoopManager *lm, std::string_view name, const std::vector< std::string > &variations)
 
 ~RJittedFilter ()
 
void AddFilterName (std::vector< std::string > &filters) final
 
bool CheckFilters (unsigned int slot, Long64_t entry) final
 
void FillReport (ROOT::RDF::RCutFlowReport &) const final
 
void FinalizeSlot (unsigned int slot) final
 Clean-up operations to be performed at the end of a task. 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
 
void InitNode () final
 
void InitSlot (TTreeReader *r, unsigned int slot) final
 
void PartialReport (ROOT::RDF::RCutFlowReport &) const final
 
void Report (ROOT::RDF::RCutFlowReport &) const final
 
void ResetChildrenCount () final
 
void ResetReportCount () final
 
void SetFilter (std::unique_ptr< RFilterBase > f)
 
void StopProcessing () final
 
void TriggerChildrenCount () final
 
- Public Member Functions inherited from ROOT::Detail::RDF::RFilterBase
 RFilterBase (RLoopManager *df, std::string_view name, const unsigned int nSlots, const RDFInternal::RColumnRegister &colRegister, const ColumnNames_t &columns, const std::vector< std::string > &prevVariations, const std::string &variation="nominal")
 
virtual ~RFilterBase ()
 
virtual void FillReport (ROOT::RDF::RCutFlowReport &) const
 
virtual void FinalizeSlot (unsigned int slot)=0
 Clean-up operations to be performed at the end of a task. More...
 
std::string GetName () const
 
bool HasName () const
 
virtual void InitNode ()
 
virtual void InitSlot (TTreeReader *r, unsigned int slot)=0
 
RFilterBaseoperator= (const RFilterBase &)=delete
 
virtual void ResetReportCount ()
 
virtual void TriggerChildrenCount ()=0
 
- 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

std::unique_ptr< RFilterBasefConcreteFilter = nullptr
 

Additional Inherited Members

- Protected Attributes inherited from ROOT::Detail::RDF::RFilterBase
std::vector< ULong64_tfAccepted = {0}
 
RDFInternal::RColumnRegister fColRegister
 
const ROOT::RDF::ColumnNames_t fColumnNames
 
ROOT::RVecB fIsDefine
 The nth flag signals whether the nth input column is a custom column or not. More...
 
std::vector< Long64_tfLastCheckedEntry
 
std::vector< intfLastResult = {true}
 
const std::string fName
 
std::vector< ULong64_tfRejected = {0}
 
std::string fVariation
 This indicates for what variation this filter evaluates values. More...
 
std::unordered_map< std::string, std::shared_ptr< RFilterBase > > fVariedFilters
 
- 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/RJittedFilter.hxx>

Inheritance diagram for ROOT::Detail::RDF::RJittedFilter:
[legend]

Constructor & Destructor Documentation

◆ RJittedFilter()

RJittedFilter::RJittedFilter ( RLoopManager lm,
std::string_view  name,
const std::vector< std::string > &  variations 
)

Definition at line 20 of file RJittedFilter.cxx.

◆ ~RJittedFilter()

ROOT::Detail::RDF::RJittedFilter::~RJittedFilter ( )
inline

Definition at line 44 of file RJittedFilter.hxx.

Member Function Documentation

◆ AddFilterName()

void RJittedFilter::AddFilterName ( std::vector< std::string > &  filters)
finalvirtual

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

Definition at line 102 of file RJittedFilter.cxx.

◆ CheckFilters()

bool RJittedFilter::CheckFilters ( unsigned int  slot,
Long64_t  entry 
)
finalvirtual

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

Definition at line 36 of file RJittedFilter.cxx.

◆ FillReport()

void RJittedFilter::FillReport ( ROOT::RDF::RCutFlowReport cr) const
finalvirtual

Reimplemented from ROOT::Detail::RDF::RFilterBase.

Definition at line 54 of file RJittedFilter.cxx.

◆ FinalizeSlot()

void RJittedFilter::FinalizeSlot ( unsigned int  slot)
finalvirtual

Clean-up operations to be performed at the end of a task.

Implements ROOT::Detail::RDF::RFilterBase.

Definition at line 90 of file RJittedFilter.cxx.

◆ GetGraph()

std::shared_ptr< RDFGraphDrawing::GraphNode > RJittedFilter::GetGraph ( std::unordered_map< void *, std::shared_ptr< RDFGraphDrawing::GraphNode > > &  visitedMap)
virtual

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

Definition at line 112 of file RJittedFilter.cxx.

◆ GetVariedFilter()

std::shared_ptr< RNodeBase > RJittedFilter::GetVariedFilter ( const std::string &  variationName)
finalvirtual

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 121 of file RJittedFilter.cxx.

◆ IncrChildrenCount()

void RJittedFilter::IncrChildrenCount ( )
finalvirtual

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

Definition at line 60 of file RJittedFilter.cxx.

◆ InitNode()

void RJittedFilter::InitNode ( )
finalvirtual

Reimplemented from ROOT::Detail::RDF::RFilterBase.

Definition at line 96 of file RJittedFilter.cxx.

◆ InitSlot()

void RJittedFilter::InitSlot ( TTreeReader r,
unsigned int  slot 
)
finalvirtual

Implements ROOT::Detail::RDF::RFilterBase.

Definition at line 30 of file RJittedFilter.cxx.

◆ PartialReport()

void RJittedFilter::PartialReport ( ROOT::RDF::RCutFlowReport cr) const
finalvirtual

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

Definition at line 48 of file RJittedFilter.cxx.

◆ Report()

void RJittedFilter::Report ( ROOT::RDF::RCutFlowReport cr) const
finalvirtual

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

Definition at line 42 of file RJittedFilter.cxx.

◆ ResetChildrenCount()

void RJittedFilter::ResetChildrenCount ( )
finalvirtual

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

Definition at line 72 of file RJittedFilter.cxx.

◆ ResetReportCount()

void RJittedFilter::ResetReportCount ( )
finalvirtual

Reimplemented from ROOT::Detail::RDF::RFilterBase.

Definition at line 84 of file RJittedFilter.cxx.

◆ SetFilter()

void RJittedFilter::SetFilter ( std::unique_ptr< RFilterBase f)

Definition at line 25 of file RJittedFilter.cxx.

◆ StopProcessing()

void RJittedFilter::StopProcessing ( )
finalvirtual

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

Definition at line 66 of file RJittedFilter.cxx.

◆ TriggerChildrenCount()

void RJittedFilter::TriggerChildrenCount ( )
finalvirtual

Implements ROOT::Detail::RDF::RFilterBase.

Definition at line 78 of file RJittedFilter.cxx.

Member Data Documentation

◆ fConcreteFilter

std::unique_ptr<RFilterBase> ROOT::Detail::RDF::RJittedFilter::fConcreteFilter = nullptr
private

Definition at line 40 of file RJittedFilter.hxx.

Libraries for ROOT::Detail::RDF::RJittedFilter:
[legend]

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