20 return node.
Filter(filterStr);
28 auto f1 = AddFilter(df,
"rdfentry_ > 0");
29 auto f2 =
f1.Filter([](
ULong64_t e) {
return e > 1; }, {
"rdfentry_"});
32 bool someCondition =
true;
35 maybe_filtered = maybe_filtered.Filter(
"rdfentry_ > 3");
39 for (
auto i = 0; i < 3; ++i)
40 with_columns = with_columns.Define(
"x" + std::to_string(i),
"42");
43 std::cout <<
"Entries passing the selection: " << with_columns.Count().GetValue() << std::endl;
unsigned long long ULong64_t
The public interface to the RDataFrame federation of classes.
RInterface< RDFDetail::RFilter< F, Proxied >, DS_t > Filter(F f, const ColumnNames_t &columns={}, std::string_view name="")
Append a filter to the call graph.
ROOT's RDataFrame offers a modern, high-level interface for analysis of data stored in TTree ,...
RInterface<::ROOT::Detail::RDF::RNodeBase, void > RNode