Dear RDataFrame expert,
I was wondering if it’s possible to define a single Lambda function which allow to have a variable number of columns as input.
ptjets,etc are define as “const ROOT::VecOps::RVec &vec”
e.g.
.Define(“Test”, Lambda::Test(), {“ptjets”, “ptleptons”})
or
.Define(“Test”, Lambda::Test(), {“ptjets”, “ptelectrons”,“ptmuons”})
Cheers,
Marco
Please read tips for efficient and successful posting and posting code
Please fill also the fields below. Note that root -b -q
will tell you this info, and starting from 6.28/06 upwards, you can call .forum bug
from the ROOT prompt to pre-populate a topic.
ROOT Version: 6.32.02
Platform: linuxx8664gcc
Compiler: g++ (GCC) 13.1.0