Skip to content

Loading of layer description from JSON.#22

Merged
pandreetto merged 1 commit intomainfrom
kk_tgeodesc
Sep 2, 2024
Merged

Loading of layer description from JSON.#22
pandreetto merged 1 commit intomainfrom
kk_tgeodesc

Conversation

@kkrizka
Copy link
Copy Markdown
Contributor

@kkrizka kkrizka commented Aug 3, 2024

The description of the tracking detector volumes and layers is now moved to an external JSON file instead of being hardcoded to the MuColl_v1 geometry. The format of the JSON file is the same as used by the ACTS TGeo example as the ACTSMCC instructions for generating material maps.

The processors that use the geometry now take a TGeoDescFile attribute with the path to the JSON file. For backwards compatibility, the default is set to the newly included data/MuColl_v1.json.

This does not remove all hardcoded dependence on MuColl_v1 as the mapping tool (GeometryIdMappingTool) still needs to be configurable.

@kkrizka
Copy link
Copy Markdown
Contributor Author

kkrizka commented Aug 3, 2024

@davzuliani This is a step towards making it possible to include your new tracking layout in a release.

@kkrizka kkrizka requested review from madbaron and pandreetto August 12, 2024 09:13
@pandreetto pandreetto merged commit 2bb58d8 into main Sep 2, 2024
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