RDataFrame TGraphErrors Action similar to RDataFrame::Graph

Hello,

is there the possibility to implement a RDataFrame action for creating a TGraphErrors in a similar way like one can use RDataFrame::Graph and RDataFrame::Histo for TGraph and TH1D?
I know it would just be syntactic sugar, but it would be very helpful to just type auto g = df.GraphErrors({"x", "y", "xerr", "yerr"}).

Thanks a lot!


ROOT Version: 6
Platform: WLS/Ubuntu
Compiler: gcc/clang


Hi @b_h,
it’s not in the plans, but it’s a good suggestion. Please open a pull request in case you end up implementing a helper.

Cheers,
Enrico

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.