Hello,
I would like to make several copies of an ntuple, where I give each event a weight according to a Poissonian distribution (with mean = 1), basically these are samples for a bootstrap analysis.
I was thinking of using CloneTree (ROOT: tutorials/tree/copytree3.C File Reference) but it looks like I have to loop over all entries (the key statement here is Fill()).
Is there any other more efficient way?
Many thanks in advance!
D.
Please read tips for efficient and successful posting and posting code
ROOT Version: 6.20/04
Platform: Ubuntu 20.04.3 LTS, Release: 20.04
Compiler: Not Provided