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::GraphNode > | GetGraph (std::unordered_map< void *, std::shared_ptr< RDFGraphDrawing::GraphNode > > &visitedMap) final |
std::shared_ptr< RNodeBase > | GetVariedFilter (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 |
RFilterBase & | operator= (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 RLoopManager * | GetLoopManagerUnchecked () |
const std::vector< std::string > & | GetVariations () const |
Private Attributes | |
std::unique_ptr< RFilterBase > | fConcreteFilter = nullptr |
Additional Inherited Members | |
Protected Attributes inherited from ROOT::Detail::RDF::RFilterBase | |
std::vector< ULong64_t > | fAccepted = {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_t > | fLastCheckedEntry |
std::vector< int > | fLastResult = {true} |
const std::string | fName |
std::vector< ULong64_t > | fRejected = {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 | |
RLoopManager * | fLoopManager |
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>
RJittedFilter::RJittedFilter | ( | RLoopManager * | lm, |
std::string_view | name, | ||
const std::vector< std::string > & | variations | ||
) |
Definition at line 20 of file RJittedFilter.cxx.
RJittedFilter::~RJittedFilter | ( | ) |
Definition at line 34 of file RJittedFilter.cxx.
|
finalvirtual |
Implements ROOT::Detail::RDF::RNodeBase.
Definition at line 122 of file RJittedFilter.cxx.
Implements ROOT::Detail::RDF::RNodeBase.
Definition at line 56 of file RJittedFilter.cxx.
|
finalvirtual |
Reimplemented from ROOT::Detail::RDF::RFilterBase.
Definition at line 74 of file RJittedFilter.cxx.
|
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.
|
finalvirtual |
Implements ROOT::Detail::RDF::RNodeBase.
Definition at line 132 of file RJittedFilter.cxx.
|
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.
|
finalvirtual |
Implements ROOT::Detail::RDF::RNodeBase.
Definition at line 80 of file RJittedFilter.cxx.
|
finalvirtual |
Reimplemented from ROOT::Detail::RDF::RFilterBase.
Definition at line 116 of file RJittedFilter.cxx.
|
finalvirtual |
Implements ROOT::Detail::RDF::RFilterBase.
Definition at line 50 of file RJittedFilter.cxx.
|
finalvirtual |
Implements ROOT::Detail::RDF::RNodeBase.
Definition at line 68 of file RJittedFilter.cxx.
|
finalvirtual |
Implements ROOT::Detail::RDF::RNodeBase.
Definition at line 62 of file RJittedFilter.cxx.
|
finalvirtual |
Reimplemented from ROOT::Detail::RDF::RNodeBase.
Definition at line 92 of file RJittedFilter.cxx.
|
finalvirtual |
Reimplemented from ROOT::Detail::RDF::RFilterBase.
Definition at line 104 of file RJittedFilter.cxx.
void RJittedFilter::SetFilter | ( | std::unique_ptr< RFilterBase > | f | ) |
Definition at line 43 of file RJittedFilter.cxx.
|
finalvirtual |
Implements ROOT::Detail::RDF::RNodeBase.
Definition at line 86 of file RJittedFilter.cxx.
|
finalvirtual |
Implements ROOT::Detail::RDF::RFilterBase.
Definition at line 98 of file RJittedFilter.cxx.
|
private |
Definition at line 40 of file RJittedFilter.hxx.