Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Detail::RDF::RFilterBase Class Referenceabstract

Definition at line 38 of file RFilterBase.hxx.

Public Member Functions

 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
 
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.
 
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 &)
 Return a clone of this node that acts as a Filter working with values in the variationName "universe".
 
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
 

Protected Attributes

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/RFilterBase.hxx>

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

Constructor & Destructor Documentation

◆ RFilterBase()

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" 
)

Definition at line 19 of file RFilterBase.cxx.

◆ ~RFilterBase()

RFilterBase::~RFilterBase ( )
override

Definition at line 38 of file RFilterBase.cxx.

Member Function Documentation

◆ FillReport()

void RFilterBase::FillReport ( ROOT::RDF::RCutFlowReport rep) const
virtual

Reimplemented in ROOT::Detail::RDF::RJittedFilter.

Definition at line 50 of file RFilterBase.cxx.

◆ FinalizeSlot()

virtual void ROOT::Detail::RDF::RFilterBase::FinalizeSlot ( unsigned int  slot)
pure virtual

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

Implemented in ROOT::Detail::RDF::RFilter< FilterF, PrevNodeRaw >, and ROOT::Detail::RDF::RJittedFilter.

◆ GetName()

std::string RFilterBase::GetName ( ) const

Definition at line 45 of file RFilterBase.cxx.

◆ HasName()

bool RFilterBase::HasName ( ) const

Definition at line 40 of file RFilterBase.cxx.

◆ InitNode()

void RFilterBase::InitNode ( )
virtual

Reimplemented in ROOT::Detail::RDF::RJittedFilter.

Definition at line 59 of file RFilterBase.cxx.

◆ InitSlot()

virtual void ROOT::Detail::RDF::RFilterBase::InitSlot ( TTreeReader r,
unsigned int  slot 
)
pure virtual

◆ operator=()

RFilterBase & ROOT::Detail::RDF::RFilterBase::operator= ( const RFilterBase )
delete

◆ ResetReportCount()

virtual void ROOT::Detail::RDF::RFilterBase::ResetReportCount ( )
inlinevirtual

Reimplemented in ROOT::Detail::RDF::RJittedFilter.

Definition at line 65 of file RFilterBase.hxx.

◆ TriggerChildrenCount()

virtual void ROOT::Detail::RDF::RFilterBase::TriggerChildrenCount ( )
pure virtual

Member Data Documentation

◆ fAccepted

std::vector<ULong64_t> ROOT::Detail::RDF::RFilterBase::fAccepted = {0}
protected

Definition at line 42 of file RFilterBase.hxx.

◆ fColRegister

RDFInternal::RColumnRegister ROOT::Detail::RDF::RFilterBase::fColRegister
protected

Definition at line 46 of file RFilterBase.hxx.

◆ fColumnNames

const ROOT::RDF::ColumnNames_t ROOT::Detail::RDF::RFilterBase::fColumnNames
protected

Definition at line 45 of file RFilterBase.hxx.

◆ fIsDefine

ROOT::RVecB ROOT::Detail::RDF::RFilterBase::fIsDefine
protected

The nth flag signals whether the nth input column is a custom column or not.

Definition at line 48 of file RFilterBase.hxx.

◆ fLastCheckedEntry

std::vector<Long64_t> ROOT::Detail::RDF::RFilterBase::fLastCheckedEntry
protected

Definition at line 40 of file RFilterBase.hxx.

◆ fLastResult

std::vector<int> ROOT::Detail::RDF::RFilterBase::fLastResult = {true}
protected

Definition at line 41 of file RFilterBase.hxx.

◆ fName

const std::string ROOT::Detail::RDF::RFilterBase::fName
protected

Definition at line 44 of file RFilterBase.hxx.

◆ fRejected

std::vector<ULong64_t> ROOT::Detail::RDF::RFilterBase::fRejected = {0}
protected

Definition at line 43 of file RFilterBase.hxx.

◆ fVariation

std::string ROOT::Detail::RDF::RFilterBase::fVariation
protected

This indicates for what variation this filter evaluates values.

Definition at line 49 of file RFilterBase.hxx.

◆ fVariedFilters

std::unordered_map<std::string, std::shared_ptr<RFilterBase> > ROOT::Detail::RDF::RFilterBase::fVariedFilters
protected

Definition at line 50 of file RFilterBase.hxx.

Libraries for ROOT::Detail::RDF::RFilterBase:

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