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: Measurement2D to represent 2D surface measurements #54

Merged
merged 3 commits into from
Oct 18, 2023

Conversation

wdconinc
Copy link
Contributor

Briefly, what does this PR introduce?

This adds a new datatype, Measurement2D, intended primarily but not exclusively for use in Acts track finding. Therefore it tends to mirror what we are already doing. The datatype stores two-dimensional (+time) constraints on a surface with identifier.

edm4hep::Vector2f locTimeError is added as a separate field since it is likely to be set to zero often. This makes interactions with the datatype more straightforward than imposing a full 3D locTime and 3D triangular covariance matrix.

There is additional motivation and discussion at https://docs.google.com/presentation/d/1ee_iRAyeUao7PwkmFnapX7cASAp4rm8QnQ_moidYDnk/edit, but changes may be applied here without updating the slides.

What kind of change does this PR introduce?

  • Bug fix (issue #__)
  • New feature (issue #__)
  • Documentation update
  • Other: __

Please check if this PR fulfills the following:

  • Tests for the changes have been added
  • Documentation has been added / updated
  • Changes have been communicated to collaborators

Does this PR introduce breaking changes? What changes might users need to make to their code?

No. Addition of new datatype.

Does this PR change default behavior?

No.

@wdconinc wdconinc requested a review from a team as a code owner September 28, 2023 18:50
to enable easy tracker hit to trajectory relation. As proposed by Wouter at https://indico.bnl.gov/event/20713/
@ShujieL ShujieL merged commit 80cc6fc into main Oct 18, 2023
3 checks passed
@ShujieL ShujieL deleted the measurement-2d branch October 18, 2023 08:44
@wdconinc wdconinc mentioned this pull request Oct 31, 2023
7 tasks
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