Skip to content

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