Skip to content
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

constructTargetPS depends on geometry maker #1266

Open
gaponenko opened this issue May 17, 2024 · 0 comments
Open

constructTargetPS depends on geometry maker #1266

gaponenko opened this issue May 17, 2024 · 0 comments

Comments

@gaponenko
Copy link
Contributor

Mu2eG4/src/constructTargetPS.cc includes "Offline/GeometryService/inc/ProductionTargetMaker.hh"

While the maker happens to live in GeometryService, and it is OK to depend on the library, this breaks the separation between geometry parsing (the maker classes) and users of the parsed geometry. I think geometry makers are only supposed to be used by GeometryService itself.

There are many other cleanups that would be nice to do in the production target geometry code. Is it time to simplify it by removing the "tier 1" design?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant