29 auto hsimplePath =
gROOT->GetTutorialDir();
30 hsimplePath +=
"/hsimple.root";
34 auto df_cut = df.Filter([](
float py) {
return py > 0.f; }, {
"py"})
35 .Define(
"px_plus_py", [](
float px,
float py) {
return px + py; }, {
"px",
"py"});
41 auto df_cached = df_cut.Cache<float,
float>({
"px_plus_py",
"py"});
42 auto df_cached_implicit = df_cut.Cache();
43 auto h = df_cached_implicit.Histo1D<
float>(
"px_plus_py");
ROOT's RDataFrame offers a modern, high-level interface for analysis of data stored in TTree ,...