Copying all branches from a Tree on an event level

I want to copy all branches from a Tree into a new ntuple for a particular event that I am interested in. Does anyone have a good solution?

Thanks,

Sam

Hi,

Take a look at the tutorials: tutorials/tree/copytree* for some examples.

Cheers,
Philippe.

Thanks…I was able to complete my task with the help of the tutorials.

Sam