I want to filter my root files based on some cuts applied to the variables existed in the files. I have found some discussions about it, In RDataFrame using Filter() we can do it. I tried but I couldn’t able to do it. For example, I have a variable ‘mass’ in the root file, I want the root file where all the variables will be applied a filter of ‘mass>5’. Is it possible here ? Please let me know how I will use the branch variables to Filter().
There are other methods also like to write a code and run over it which is lengthy. I was curious if I could do it with less line of code using RDataFrame.