root
root copied to clipboard
[DF] Add support for varied `Snapshot`
In presence of systematic variations registered with RDF with Vary, a Snapshot call could produce a TTree that contains extra branches for the different systematic variations.
To do
- [x] decide between extra branches and extra trees
- [ ] figure out how the interaction with
VariationsForworks - [ ] decide naming convention for varied branches
Then for the actual implementation:
- [ ] add template specialization for
RVariedAction<SnapshotHelper>andRVariedAction<SnapshotHelperMT>that does the right thing - [ ] fix
RVariedAction::GetSampleCallbackso that it does not only take the callback of the first helper (this might turn out to be an orthogonal issue, but it's in principle relevant asSnapshotHelper[MT]makes use of the sample callback mechanism