Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Teach Vary to accept Report #10551

Open
ikabadzhov opened this issue May 9, 2022 · 0 comments · May be fixed by #17396
Open

Teach Vary to accept Report #10551

ikabadzhov opened this issue May 9, 2022 · 0 comments · May be fixed by #17396

Comments

@ikabadzhov
Copy link
Contributor

Vary should support Report() RDF action, but currently does not. Minimal reproducer:

   auto h = ROOT::RDataFrame(10)
               .Define("x", [](ULong64_t e) { return int(e); }, {"rdfentry_"})
               .Filter([](int x) { return x > 5; }, {"x"}, "before")
               .Vary(
                  "x",
                  [](int x) {
                     return ROOT::RVecI{x - 1, x + 1};
                  },
                  {"x"}, 2)
               .Filter([](int x) { return x > 7; }, {"x"}, "after")
               .Report();
   ROOT::RDF::Experimental::VariationsFor(h);

CC: @eguiraud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants