11#ifndef ROOT_RFILTERBASE
12#define ROOT_RFILTERBASE
50 std::unordered_map<std::string, std::shared_ptr<RFilterBase>>
fVariedFilters;
55 const std::vector<std::string> &prevVariations,
const std::string &variation =
"nominal");
72 assert(!
fName.empty());
Basic types used by ROOT and required by TInterpreter.
const ROOT::RDF::ColumnNames_t fColumnNames
ROOT::RVecB fIsDefine
The nth flag signals whether the nth input column is a custom column or not.
virtual void InitSlot(TTreeReader *r, unsigned int slot)=0
virtual void ResetReportCount()
RFilterBase(RFilterBase &&)=delete
virtual void FinalizeSlot(unsigned int slot)=0
Clean-up operations to be performed at the end of a task.
std::vector< ULong64_t > fRejected
RFilterBase & operator=(const RFilterBase &)=delete
virtual void FillReport(ROOT::RDF::RCutFlowReport &) const
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 & operator=(RFilterBase &&)=delete
virtual void TriggerChildrenCount()=0
RFilterBase(const RFilterBase &)=delete
std::string fVariation
This indicates for what variation this filter evaluates values.
std::string GetName() const
std::vector< int > fLastResult
std::unordered_map< std::string, std::shared_ptr< RFilterBase > > fVariedFilters
RDFInternal::RColumnRegister fColRegister
std::vector< ULong64_t > fAccepted
std::vector< Long64_t > fLastCheckedEntry
The head node of a RDF computation graph.
RNodeBase(const std::vector< std::string > &variations={}, RLoopManager *lm=nullptr)
A binder for user-defined columns, variations and aliases.
A simple, robust and fast interface to read values from ROOT columnar datasets such as TTree,...
Special implementation of ROOT::RRangeCast for TCollection, including a check that the cast target ty...
std::vector< std::string > ColumnNames_t
ROOT::VecOps::RVec< bool > RVecB