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

feat: implement digitization configurator for detray geometries #465

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

niermann999
Copy link
Contributor

@niermann999 niermann999 commented Oct 11, 2023

Adds a digitization configurator that can read a digitization meta configuration and generate a full digitization configuration for a detray geometry. This is mostly useful for geometries that are generated in detray, as this should hopefully become compatible with ACTS generated tracking geometries at some point, in which case the detray surfaces will provide a source link to the corresponding ACTS surface.

The configuration can only be done per volume and extra bit. Since the current ACTS version in traccc does not support extra-bit matching in the GeometryHierarchyMap yet, and because detray has no facilities to set extra bits during geometry IO yet, this part of the configuration has not been tested so far.

@niermann999 niermann999 force-pushed the feat-digi-configurator branch 6 times, most recently from 1aae1b9 to f67290c Compare October 13, 2023 12:52
@niermann999 niermann999 marked this pull request as ready for review October 13, 2023 12:54
@niermann999 niermann999 force-pushed the feat-digi-configurator branch 3 times, most recently from 6ac75bf to a515f4b Compare October 13, 2023 16:30
@niermann999
Copy link
Contributor Author

I have prepared a meta-config file for a toy detector with 3 and 7 endcaps and generated the corresponding digitization config files. The unittest in this PR expects to find the geometry and digi config files for the toy detector in the data directory

@niermann999 niermann999 requested review from beomki-yeo and krasznaa and removed request for beomki-yeo October 13, 2023 16:32
Copy link
Member

@krasznaa krasznaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks okay. Even if it has a bunch more auto declarations in it than I would prefer...

@niermann999 niermann999 force-pushed the feat-digi-configurator branch 2 times, most recently from 30e06fa to 9567764 Compare October 20, 2023 12:58
…nfiguration

and generate a full digitization configuration for a detray geometry.
This is mostly useful for geometries that are generated in detray, as this
should hopefully become compatible with ACTS generated tracking geometries at some point,
in which case the detray surfaces will provide a source link to
the corresponding ACTS surface.

The configuration can only be done per volume and extra bit. Since the current ACTS version
in traccc does not support extra-bit matching in the GeometryHierarchyMap yet,
and because detray has no facilities to set extra bits during geometry IO yet,
this part of the configuration has not been tested so far.
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

Successfully merging this pull request may close these issues.

2 participants