[WIP] Add a podio-filter-frames tool #939
Open
tmadlener wants to merge 2 commits intoAIDASoft:masterfrom
Open
Conversation
tmadlener
commented
Feb 24, 2026
| std::exit(1); | ||
| } | ||
|
|
||
| if (const auto filterFunc = gInterpreter->FindSym("_Z9keepFrameRKN5podio5FrameE")) { |
Collaborator
Author
There was a problem hiding this comment.
I suppose this mangled name will work for gcc & clang. The alternative would be to have an extern "C" block wrapping the function to disable name-mangling. The drawback to that is that users will have to do that (or we will have to partially parse the file to figure out where to inject it).
podio-filter-frames tool podio-filter-frames tool
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
BEGINRELEASENOTES
podio-filter-framestool that allows to filter whole Frames from files via a user definedkeepFramefunction that is JIT compiled on the fly.ENDRELEASENOTES
This might simplify things a bit in some cases, e.g. when you want to select files that only contain a certain set of decays and takes off the boiler plate of setting up a reader / writer and an event loop.