Hello,
I am using the report feature of RDataFrame
Is it possible to write the cut-flow to a Rootfile or even better merge via hadd ?
Regards,
Tancredi
Hello,
I am using the report feature of RDataFrame
Is it possible to write the cut-flow to a Rootfile or even better merge via hadd ?
Regards,
Tancredi
Hi,
about writing RCutFlowReports to file: you can write any C++ object to a ROOT file as long as you have dictionaries for it. We currently do not provide dictionaries for RCutFlowReport, but you can create them manually. Reading/writing RCutFlowReports without dictionaries might or might not work.
About merging different RCutFlowReports: we do not provide a way to programmatically merge different RCutFlowReport objects at the moment, but feel free to open a feature request at github.com/root-project/root/issues/
Cheers,
Enrico
Hi,
I had a quick look. If it is the information and not the object you want to save, I often save ‘text’ in root files using a simple TNamed, adding the text as the title…
Cheers
Joa