Make the TTree and RNTuple based backends write the GenericParameters the same way#625
Conversation
f8a353d to
8566bab
Compare
a9bc5a7 to
8850b63
Compare
| df.Define( | ||
| "params", | ||
| "podio::root_utils::loadParamsFrom(GPIntKeys, GPIntValues, GPFloatKeys, GPFloatValues, GPDoubleKeys, GPDoubleValues, GPStringKeys, GPStringValues)", | ||
| ) |
There was a problem hiding this comment.
@Zehvogel, does this look like an acceptable compromise for using GenericParameters in RDataFrame until we have a proper RDataSource?
894a6d3 to
cff343b
Compare
hegner
left a comment
There was a problem hiding this comment.
Thanks. That seems to do things in a very thorough way now.
What I really would like to see for the future is some documentation about the chosen file structure in the files created. Some file_structure_details.doc or similar
|
I agree, more documentation on this is necessary. Since, we also don't really have documentation on how we store collections, I would prefer a separate PR for the documentation. I can prepare that in parallel. |
|
Something I found with this PR is that it fixes an issue I had only when making Debug builds with Clang 17. For some reason, the GenericParameters were not being saved in the file and all the tests for reading would fail. I picked up a working build of podio and read the files produced with this debug build and indeed the GenericParameters were not there. I never spent more time to figure out what was going on but out of all the build types and compilers (GCC and Clang) I only managed to reproduce it with Clang and |
BEGINRELEASENOTES
ENDRELEASENOTES
This was originally done in #615. See there for a bit more discussion.