Support #24611
simultaneous use of auxdetgeometry service with geometry service
0%
Description
We need to access AuxDetGeometryCore via the auxdetgeometry service. At the same time, we need to access GeometryCore via geometry service. My understanding is that the auxdetgeometry service has problems in this use case. What course of action is recommended?
History
#1 Updated by Gianluca Petrillo 6 months ago
- Co-Assignees deleted (
Adi Ashkenazi)
#2 Updated by Kyle Knoepfel 6 months ago
- Status changed from New to Feedback
What problems did you encounter while trying to use both in the same job? We are not aware of any issues.
#3 Updated by Gianluca Petrillo 6 months ago
That is because there is a poor-man synchronisation attempt between the two services.
One is a fork of the other, and both attempt to initialise a geometry representation from a GDML file.
Since this happens via ROOT... ça va sans dire. ROOT TGeoManager
hooks gGeoManager
(if I remember the name right), and g
stands for "ROOT loves g lobal state".
There was also the request at the time (LArIAT, I think) that AuxDetGeometry
service could be loaded without Geometry
service.
My dream at the time was to have a GeometrySource
which managed the shared resource, and the other two services would interface with it as needed... never happened.
#4 Updated by Kyle Knoepfel 6 months ago
Thanks, Gianluca, for the info. Chris, can you send us a FHiCL file, which would load both services according to your desired use case? That will help us explore the entanglements and pursue a solution to any problems that arise.
#5 Updated by Kyle Knoepfel 5 months ago
- Priority changed from High to Normal
- Assignee set to Kyle Knoepfel