Project

General

Profile

Support #24611

simultaneous use of auxdetgeometry service with geometry service

Added by Christopher Hilgenberg 4 months ago. Updated 2 months ago.

Status:
Feedback
Priority:
Normal
Assignee:
Category:
Geometry
Target version:
Start date:
07/08/2020
Due date:
% Done:

0%

Estimated time:
Experiment:
ICARUS
Co-Assignees:
Duration:

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 4 months ago

  • Co-Assignees deleted (Adi Ashkenazi)

#2 Updated by Kyle Knoepfel 3 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 3 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 3 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 2 months ago

  • Priority changed from High to Normal
  • Assignee set to Kyle Knoepfel


Also available in: Atom PDF