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: Introduce json configuration for tgeo #884

Merged
merged 11 commits into from
Sep 16, 2021

Conversation

niermann999
Copy link
Contributor

@niermann999 niermann999 commented Jul 16, 2021

Instead of using boost options, this PR introduces a json based configuration for the TGeo detector. The json config is included in Examples/Io for now and provides read functionality for the beampipe and the TGeoLayerBuilder

@niermann999 niermann999 added the 🚧 WIP Work-in-progress label Jul 16, 2021
@codecov
Copy link

codecov bot commented Jul 16, 2021

Codecov Report

Merging #884 (00922dd) into main (c0db8a7) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #884   +/-   ##
=======================================
  Coverage   48.73%   48.73%           
=======================================
  Files         337      337           
  Lines       17281    17281           
  Branches     8162     8162           
=======================================
  Hits         8422     8422           
  Misses       3118     3118           
  Partials     5741     5741           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c0db8a7...00922dd. Read the comment docs.

@asalzburger
Copy link
Contributor

Hi @niermann999 - this is still marked as draft & fails in the build - I think that was the one you wanted to bring in first?

@niermann999 niermann999 removed the 🚧 WIP Work-in-progress label Aug 16, 2021
@niermann999 niermann999 marked this pull request as ready for review August 16, 2021 16:42
@niermann999 niermann999 added this to the next milestone Aug 17, 2021
…roject#884)

The options handling of the TGeoDetector is moved from boost to json
based configuration. It builds upon the recent reordering of the
detector options in acts-project#923. New functionality is introduces in
Examples/Io/Json. Since it needs information from the TGeo plugin,
the latter is only linked in the example io when the plugin is required.
@niermann999 niermann999 removed the 🚧 WIP Work-in-progress label Sep 3, 2021
@asalzburger asalzburger self-requested a review September 8, 2021 14:26
Copy link
Contributor

@asalzburger asalzburger left a comment

Choose a reason for hiding this comment

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

Looks good, also the macOS build seems ok.

@asalzburger asalzburger merged commit 4443cae into acts-project:main Sep 16, 2021
niermann999 added a commit to niermann999/acts that referenced this pull request Sep 21, 2021
The new ITk strip module splitter is based on the recent introduction
of a json configuration for the TGeoDetector (acts-project#884). It reads in a
json configuration file to which a mapping has been added now, that
contains the splitting parameters by sensor name. Barrel modules are
split in two or four DetectorElements, depending on the layer, while
the endcap modules are split according to custom r boundaries.
@paulgessinger paulgessinger modified the milestones: next, v13.0.0 Sep 21, 2021
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.

None yet

3 participants