25rd2 = rd1.Define(
"Root_def1",
"1") \
26 .Filter(
"Root_def1 < 2",
"Main_Filter") \
27 .Define(
"Root_def2",
"1")
29branch1 = rd2.Define(
"Branch_1_def",
"1")
30branch2 = rd2.Define(
"Branch_2_def",
"1")
32branch1_1 = branch1.Filter(
"Branch_1_def < 2",
"Filter_1") \
33 .Define(
"Branch_1_1_def",
"1") \
34 .Filter(
"1 == Branch_1_1_def % 2",
"Filter_1_1") \
35 .Mean(
"Branch_1_1_def");
37branch1_2 = branch1.Define(
"Branch_1_2_def",
"1") \
38 .Filter(
"Branch_1_2_def < 2",
"Filter_1_2") \
41branch2_1 = branch2.Filter(
"Branch_2_def < 2",
"Filter_2") \
42 .Define(
"Branch_2_1_def",
"1") \
43 .Define(
"Branch_2_2_def",
"1") \
44 .Filter(
"1 == Branch_2_1_def % 2",
"Filter_2_1") \
45 .Max(
"Branch_2_1_def")
47branch2_2 = branch2.Count()
ROOT's RDataFrame offers a modern, high-level interface for analysis of data stored in TTree ,...
std::string SaveGraph(NodeType node)
Create a graphviz representation of the dataframe computation graph, return it as a string.