Skip to content

Replaced link to DetectorClocksServiceStandard #824

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

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

PetrilloAtWork
Copy link
Member

Code should not need to link to service implementations, but only to their interface.
It is art which will dynamically load the appropriate service per the job configuration.
This rule holds for services with multiple implementations (like DetectorClocksService and DetectorPropertiesService) and not for simple services (like Geometry or WireReadout).

A flawed seed in a single CMakeLists.txt linking directly to lardata::DetectorInfoServices_DetectorClocksServiceStandard_service has proliferated throughout icaruscode. The correct library to link is instead lardata::DetectorClocksService (which is not really a library, but it is what is needed nonetheless). This PR fixes all the faulty links to that service.

There should be no consequences to any level.

Reviewers:

I don't know who else...

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

Successfully merging this pull request may close these issues.

1 participant