rootfilte_test.root (427.9 KB) Dear all,
Since many years I am using TSelectors and Proof, but it seems that the future of ROOT analysis is going toward the use of RDataFrames, so I am trying to adapt myself to this new tool (new for me). But I am facing some difficulties. I have looked on the forum and on the ROOT website but I am still not able to do the same kind of analysis that the one I usually do using TSelectors. Can you help me ?
The fact is I have succeeded to analyse some trees and make some plots in very easy cases (drawing directly the branches of the tree, or making some selections on branches that are not arrays). But when I want to make more complex operations between branches, and using conditions on only some events of an array, I don’t see how to do.
I give you a very simple test case that I would like to be able to reproduce (and the associated tree). Could you help me to translate this simple analysis in the rdataframe language, to help me to understand how I am supposed to do for more complex stuffs.
Thanks in advance
MySelector.C (3.7 KB) MySelector.h (5.1 KB) rootfilte_test.root (427.9 KB)