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 |
| virtual void | FillReport (ROOT::RDF::RCutFlowReport &) const |
| 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 |
| virtual RLoopManager * | GetLoopManagerUnchecked () |
| std::string | GetName () const |
| const std::vector< std::string > & | GetVariations () const |
| std::shared_ptr< RNodeBase > | GetVariedFilter (const std::string &variationName) final |
| Return a clone of this Filter that works with values in the variationName "universe". | |
| bool | HasName () const |
| void | IncrChildrenCount () final |
| virtual void | InitNode () |
| 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 |
| virtual void | ResetChildrenCount () |
| virtual void | ResetReportCount () |
| void | StopProcessing () final |
| void | TriggerChildrenCount () final |
Protected Attributes | |
| 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} |
| RLoopManager * | fLoopManager |
| const std::string | fName |
| 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< ULong64_t > | fRejected = {0} |
| std::string | fVariation |
| This indicates for what variation this filter evaluates values. | |
| std::vector< std::string > | fVariations |
| List of systematic variations that affect this node. | |
| std::unordered_map< std::string, std::shared_ptr< RFilterBase > > | fVariedFilters |
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 |
#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 163 of file RFilterWithMissingValues.hxx.
|
inlinefinalvirtual |
Implements ROOT::Detail::RDF::RNodeBase.
Definition at line 99 of file RFilterWithMissingValues.hxx.
|
virtualinherited |
Reimplemented in ROOT::Detail::RDF::RJittedFilter.
Definition at line 47 of file RFilterBase.cxx.
|
inlinefinalvirtual |
Clean-up operations to be performed at the end of a task.
Implements ROOT::Detail::RDF::RFilterBase.
Definition at line 171 of file RFilterWithMissingValues.hxx.
|
inlinefinalvirtual |
Implements ROOT::Detail::RDF::RNodeBase.
Definition at line 174 of file RFilterWithMissingValues.hxx.
|
inlinevirtualinherited |
Reimplemented in ROOT::Detail::RDF::RLoopManager.
Definition at line 79 of file RNodeBase.hxx.
|
inherited |
Definition at line 42 of file RFilterBase.cxx.
|
inlineinherited |
Definition at line 81 of file RNodeBase.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 199 of file RFilterWithMissingValues.hxx.
|
inherited |
Definition at line 37 of file RFilterBase.cxx.
|
inlinefinalvirtual |
Implements ROOT::Detail::RDF::RNodeBase.
Definition at line 149 of file RFilterWithMissingValues.hxx.
|
virtualinherited |
Reimplemented in ROOT::Detail::RDF::RJittedFilter.
Definition at line 56 of file RFilterBase.cxx.
|
inlinefinalvirtual |
Implements ROOT::Detail::RDF::RFilterBase.
Definition at line 125 of file RFilterWithMissingValues.hxx.
|
delete |
|
delete |
|
inlinefinalvirtual |
Implements ROOT::Detail::RDF::RNodeBase.
Definition at line 136 of file RFilterWithMissingValues.hxx.
|
inlinefinalvirtual |
Implements ROOT::Detail::RDF::RNodeBase.
Definition at line 134 of file RFilterWithMissingValues.hxx.
|
inlinevirtualinherited |
Reimplemented in ROOT::Detail::RDF::RJittedFilter.
Definition at line 73 of file RNodeBase.hxx.
|
inlinevirtualinherited |
Reimplemented in ROOT::Detail::RDF::RJittedFilter.
Definition at line 70 of file RFilterBase.hxx.
|
inlinefinalvirtual |
Implements ROOT::Detail::RDF::RNodeBase.
Definition at line 142 of file RFilterWithMissingValues.hxx.
|
inlinefinalvirtual |
Implements ROOT::Detail::RDF::RFilterBase.
Definition at line 157 of file RFilterWithMissingValues.hxx.
|
protectedinherited |
Definition at line 42 of file RFilterBase.hxx.
|
protectedinherited |
Definition at line 46 of file RFilterBase.hxx.
|
protectedinherited |
Definition at line 45 of file RFilterBase.hxx.
|
private |
Definition at line 70 of file RFilterWithMissingValues.hxx.
|
protectedinherited |
The nth flag signals whether the nth input column is a custom column or not.
Definition at line 48 of file RFilterBase.hxx.
|
protectedinherited |
Definition at line 40 of file RFilterBase.hxx.
|
protectedinherited |
Definition at line 41 of file RFilterBase.hxx.
|
protectedinherited |
Definition at line 45 of file RNodeBase.hxx.
|
protectedinherited |
Definition at line 44 of file RFilterBase.hxx.
|
protectedinherited |
Number of nodes of the functional graph hanging from this object.
Definition at line 46 of file RNodeBase.hxx.
|
protectedinherited |
Number of times that a children node signaled to stop processing entries.
Definition at line 47 of file RNodeBase.hxx.
|
private |
Definition at line 64 of file RFilterWithMissingValues.hxx.
|
protectedinherited |
Definition at line 43 of file RFilterBase.hxx.
|
private |
Definition at line 67 of file RFilterWithMissingValues.hxx.
|
protectedinherited |
This indicates for what variation this filter evaluates values.
Definition at line 49 of file RFilterBase.hxx.
|
protectedinherited |
List of systematic variations that affect this node.
Definition at line 48 of file RNodeBase.hxx.
|
protectedinherited |
Definition at line 50 of file RFilterBase.hxx.