Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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.
 
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
 
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")
 
 ~RFilterBase () override
 
std::string GetName () const
 
bool HasName () const
 
RFilterBaseoperator= (const RFilterBase &)=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
 

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.
 
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.
 
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.
 
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/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()

RJittedFilter::~RJittedFilter ( )

Definition at line 34 of file RJittedFilter.cxx.

Member Function Documentation

◆ AddFilterName()

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

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

Definition at line 122 of file RJittedFilter.cxx.

◆ CheckFilters()

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

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

Definition at line 56 of file RJittedFilter.cxx.

◆ FillReport()

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

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

Definition at line 74 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 110 of file RJittedFilter.cxx.

◆ GetGraph()

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

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

Definition at line 132 of file RJittedFilter.cxx.

◆ GetVariedFilter()

std::shared_ptr< RNodeBase > RJittedFilter::GetVariedFilter ( const std::string &  )
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 141 of file RJittedFilter.cxx.

◆ IncrChildrenCount()

void RJittedFilter::IncrChildrenCount ( )
finalvirtual

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

Definition at line 80 of file RJittedFilter.cxx.

◆ InitNode()

void RJittedFilter::InitNode ( )
finalvirtual

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

Definition at line 116 of file RJittedFilter.cxx.

◆ InitSlot()

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

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

Definition at line 50 of file RJittedFilter.cxx.

◆ PartialReport()

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

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

Definition at line 68 of file RJittedFilter.cxx.

◆ Report()

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

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

Definition at line 62 of file RJittedFilter.cxx.

◆ ResetChildrenCount()

void RJittedFilter::ResetChildrenCount ( )
finalvirtual

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

Definition at line 92 of file RJittedFilter.cxx.

◆ ResetReportCount()

void RJittedFilter::ResetReportCount ( )
finalvirtual

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

Definition at line 104 of file RJittedFilter.cxx.

◆ SetFilter()

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

Definition at line 43 of file RJittedFilter.cxx.

◆ StopProcessing()

void RJittedFilter::StopProcessing ( )
finalvirtual

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

Definition at line 86 of file RJittedFilter.cxx.

◆ TriggerChildrenCount()

void RJittedFilter::TriggerChildrenCount ( )
finalvirtual

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

Definition at line 98 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:

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