-
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
Extend JOmniFactory-style interface to other JANA components #276
Comments
What's wrong with Parameter? Can you provide a test case? |
I'm working on upstreaming the omnifactory machinery (Parameter, Input, Output, Service, Resource) into JANA itself, uniformly across all components (EventSource, EventProcessor, EventUnfolder, JFactory, JMultiFactory) |
It is rather difficulties with parameter management I foresee than bugs. And basically goes about how users would write their own Parameter classes. If they want to extend the functinality. |
Ah, and maybe it is a good idea to add |
Breaking this conversation down into actionable items so that I can close the issue someday:
|
Can we add this to examples in particular to PODIO https://github.com/JeffersonLab/JANA2/blob/master/src/examples/PodioExample/PodioExampleProcessor.cc |
Absolutely! |
For the record, OmniFactories are completely broken for outside of PodIO cases and if one uses Parameter and not ParameterRef. I actually took OmniFactory code and made my own
theme parksuch factory but without input-output tag names and idea of underlying independant algorithm+config struct for each factory. There are some other improvements.Not to intersect with OmniFactoris I called it CozyFactory
Working with the GOAT/Omni factories instead of usual JFactories:
Pros:
values = m_whatever_input()
m_my_output().push_back(result)
Cons:
Thoughts:
The text was updated successfully, but these errors were encountered: