implementation of FilterAvailable and FilterMissing operations
The filter evaluates if the entry is missing a value for the input column. Depending on which function was called by the user, the entry with the missing value:
Definition at line 58 of file RFilterWithMissingValues.hxx.
Public Member Functions | |
RFilterWithMissingValues (bool discardEntry, std::shared_ptr< PrevNode_t > pd, const RDFInternal::RColumnRegister &colRegister, const ColumnNames_t &columns, std::string_view filterName="", const std::string &variationName="nominal") | |
RFilterWithMissingValues (const RFilterWithMissingValues &)=delete | |
RFilterWithMissingValues (RFilterWithMissingValues &&)=delete | |
~RFilterWithMissingValues () final | |
void | AddFilterName (std::vector< std::string > &filters) final |
bool | CheckFilters (unsigned int slot, Long64_t entry) 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 |
ROOT::Detail::RDF::RColumnReaderBase * | GetOrCreateColumnReader (TTreeReader *r, unsigned int slot) |
std::shared_ptr< RNodeBase > | GetVariedFilter (const std::string &variationName) final |
Return a clone of this Filter that works with values in the variationName "universe". | |
void | IncrChildrenCount () final |
void | InitSlot (TTreeReader *r, unsigned int slot) final |
RFilterWithMissingValues & | operator= (const RFilterWithMissingValues &)=delete |
RFilterWithMissingValues & | operator= (RFilterWithMissingValues &&)=delete |
void | PartialReport (ROOT::RDF::RCutFlowReport &rep) const final |
void | Report (ROOT::RDF::RCutFlowReport &rep) const final |
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 | |
virtual void | FillReport (ROOT::RDF::RCutFlowReport &) const |
std::string | GetName () const |
bool | HasName () const |
virtual void | InitNode () |
RFilterBase & | operator= (const RFilterBase &)=delete |
virtual void | ResetReportCount () |
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 |
virtual void | ResetChildrenCount () |
Private Types | |
using | PrevNode_t = std::conditional_t< std::is_same< PrevNodeRaw, RJittedFilter >::value, RFilterBase, PrevNodeRaw > |
Private Attributes | |
bool | fDiscardEntryWithMissingValue |
const std::shared_ptr< PrevNode_t > | fPrevNodePtr |
std::vector< RColumnReaderBase * > | fValues |
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/RFilterWithMissingValues.hxx>
|
private |
Definition at line 63 of file RFilterWithMissingValues.hxx.
|
inline |
Definition at line 73 of file RFilterWithMissingValues.hxx.
|
delete |
|
delete |
|
inlinefinal |
Definition at line 91 of file RFilterWithMissingValues.hxx.
|
inlinefinalvirtual |
Implements ROOT::Detail::RDF::RNodeBase.
Definition at line 181 of file RFilterWithMissingValues.hxx.
|
inlinefinalvirtual |
Implements ROOT::Detail::RDF::RNodeBase.
Definition at line 99 of file RFilterWithMissingValues.hxx.
|
inlinefinalvirtual |
Clean-up operations to be performed at the end of a task.
Implements ROOT::Detail::RDF::RFilterBase.
Definition at line 189 of file RFilterWithMissingValues.hxx.
|
inlinefinalvirtual |
Implements ROOT::Detail::RDF::RNodeBase.
Definition at line 192 of file RFilterWithMissingValues.hxx.
|
inline |
Definition at line 125 of file RFilterWithMissingValues.hxx.
|
inlinefinalvirtual |
Return a clone of this Filter that works with values in the variationName "universe".
Reimplemented from ROOT::Detail::RDF::RNodeBase.
Definition at line 217 of file RFilterWithMissingValues.hxx.
|
inlinefinalvirtual |
Implements ROOT::Detail::RDF::RNodeBase.
Definition at line 167 of file RFilterWithMissingValues.hxx.
|
inlinefinalvirtual |
Implements ROOT::Detail::RDF::RFilterBase.
Definition at line 145 of file RFilterWithMissingValues.hxx.
|
delete |
|
delete |
|
inlinefinalvirtual |
Implements ROOT::Detail::RDF::RNodeBase.
Definition at line 154 of file RFilterWithMissingValues.hxx.
|
inlinefinalvirtual |
Implements ROOT::Detail::RDF::RNodeBase.
Definition at line 152 of file RFilterWithMissingValues.hxx.
|
inlinefinalvirtual |
Implements ROOT::Detail::RDF::RNodeBase.
Definition at line 160 of file RFilterWithMissingValues.hxx.
|
inlinefinalvirtual |
Implements ROOT::Detail::RDF::RFilterBase.
Definition at line 175 of file RFilterWithMissingValues.hxx.
|
private |
Definition at line 70 of file RFilterWithMissingValues.hxx.
|
private |
Definition at line 64 of file RFilterWithMissingValues.hxx.
|
private |
Definition at line 67 of file RFilterWithMissingValues.hxx.