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

Add track EDM visualization #233

Merged
merged 9 commits into from
Jun 12, 2020

Conversation

XiaocongAi
Copy link
Contributor

@XiaocongAi XiaocongAi commented Jun 5, 2020

This PR add the visualization for a track to show optionally the surface (yellow color), calibrated measurement (orange color), predicted (light blue color)/filtered (dark blue color)/smoothed (green color) track parameters at each track state.

To get a realistic fitted track, the test first construct a detector with six plane surfaces, then create measurements and construct KalmanFitter to perform the fit, and finally draw the fitted track as below:
image

@acts-issue-bot acts-issue-bot bot added the Triage label Jun 5, 2020
@XiaocongAi XiaocongAi added 🚧 WIP Work-in-progress Component - Core Affects the Core module Impact - Minor Nuissance bug and/or affects only a single module Improvement Changes to an existing feature labels Jun 5, 2020
@acts-issue-bot acts-issue-bot bot removed the Triage label Jun 5, 2020
@codecov
Copy link

codecov bot commented Jun 5, 2020

Codecov Report

Merging #233 into master will increase coverage by 0.00%.
The diff coverage is 33.33%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #233   +/-   ##
=======================================
  Coverage   44.86%   44.87%           
=======================================
  Files         376      376           
  Lines       18868    18901   +33     
  Branches     8970     8990   +20     
=======================================
+ Hits         8465     8481   +16     
  Misses       4904     4904           
- Partials     5499     5516   +17     
Impacted Files Coverage Δ
...lude/Acts/Visualization/EventDataVisualization.hpp 41.41% <33.33%> (-1.06%) ⬇️
Core/include/Acts/EventData/MultiTrajectory.ipp 66.66% <0.00%> (-0.23%) ⬇️
...nclude/Acts/Fitter/detail/VoidKalmanComponents.hpp 100.00% <0.00%> (ø)
Core/src/Geometry/TrackingVolume.cpp 45.91% <0.00%> (+0.31%) ⬆️

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 6220f45...c7c805f. Read the comment docs.

@XiaocongAi
Copy link
Contributor Author

XiaocongAi commented Jun 7, 2020

The zoomed plots:

image

image

@XiaocongAi XiaocongAi requested a review from asalzburger June 8, 2020 01:17
@XiaocongAi XiaocongAi removed the 🚧 WIP Work-in-progress label Jun 8, 2020
@paulgessinger paulgessinger added this to the v0.26.00 milestone Jun 11, 2020
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.

This is fine with me, it's a bit heavy dragging the KF into the visualisation test, but ok.

@asalzburger
Copy link
Contributor

I override the patch, since the overall has no change.

@asalzburger
Copy link
Contributor

To avoid these overlaps seen on the last picture, one could stack the out of plane prescriptions, right?

@XiaocongAi
Copy link
Contributor Author

@asalzburger , right. We could use different out of plane factors for them. Let me change this.

@XiaocongAi
Copy link
Contributor Author

@asalzburger , the plot looks much better now. 😃

@asalzburger asalzburger merged commit 2e5bb3c into acts-project:master Jun 12, 2020
paulgessinger pushed a commit to paulgessinger/acts that referenced this pull request Jul 13, 2020
* Add function to draw trajectory

* Fix the comments

* Add parameter to shift from plane

* Add test to construct a track and draw it

* Fix the test surface construction

* Fix the comment

* Use different outOfPlane values for different parameters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component - Core Affects the Core module Impact - Minor Nuissance bug and/or affects only a single module Improvement Changes to an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants