Dear experts,
I noticed that in RDataFrame normalizing a histogram before calling h ->Write() produces a histogram with error bars, even if the histogram is not weighted.
How can I get the usual bar chart plot (obtained for example adding the option HIST in Draw()) after normalizing?
ROOT::RDataFrame df("mytree", myInputList);
auto h = df.Histo1D( {"", "", nBin, pT1, pT2}, "ele_pT");
Double_t scale = 1/(h ->Integral());
h ->Scale(scale);
h ->Write();
ROOT Version: 6.18/02