25RDataFrame = ROOT.ROOT.RDataFrame
29hsimplePath = os.path.join(str(ROOT.gROOT.GetTutorialDir().Data()),
"hsimple.root")
30df = RDataFrame(
"ntuple", hsimplePath)
33df_cut = df.Filter(
"py > 0.f")\
34 .Define(
"px_plus_py",
"px + py")
38df_cached = df_cut.Cache()
40h = df_cached.Histo1D(
"px_plus_py")