-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactoring: Storage of Podio data #365
base: master
Are you sure you want to change the base?
Conversation
Would it be possible to get rid of need for the visitor https://github.com/eic/EICrecon/blob/ae5ce863c38e1f7bc1ce7de414f4a3c96f0867dc/src/services/io/podio/JEventSourcePODIO.cc#L48 ? From what I understand, this is only used to populate |
I was thinking something similar. When I redid the example Podio file reader (https://github.com/JeffersonLab/JANA2/blob/master/src/examples/PodioFileReader/PodioFileReader.cc) I replaced the visitor with a much more obvious chain of if statements. We could probably do the same thing for EICrecon's |
I'm guessing you're hoping for an untyped |
Right, but the real issue is the presence of the codegen due to reliance on RTTI. Other than being (possibly) unnecessary, that makes it impossible to use other PODIO models, that are not seen by codegen. |
We bring it back only in a minimal, deprecated form. We only do this because of some test cases in EICrecon that use this feature.
No description provided.