-
Notifications
You must be signed in to change notification settings - Fork 157
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 blueprint #2550
feat: introduce blueprint #2550
Conversation
f911f92
to
9157a81
Compare
Haven't looked at the code yet, but the visualization is hot stuff! 🔥 |
Codecov Report
@@ Coverage Diff @@
## main #2550 +/- ##
==========================================
+ Coverage 49.76% 49.81% +0.04%
==========================================
Files 466 468 +2
Lines 26353 26508 +155
Branches 12100 12182 +82
==========================================
+ Hits 13114 13204 +90
- Misses 4632 4633 +1
- Partials 8607 8671 +64
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
2199646
to
3aaf202
Compare
ed1ed89
to
8cdab66
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just minor comments
Invalidated by push of 90868d2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like it!
Hi @niermann999 @paulgessinger - I think I addressed all your comments now, please have a look if you're ok with the PR. |
This PR is the next attempt to introduce an instruction tree for detector building, this is a follow-up of discussion with @paulgessinger and is meant as a replacement / alternative solution to acts-project#2537. For this PR - instead of proxies - the simple construction tree is created, momentarily for cylindrical detectors. This allows the building process to be displayed as a graph: ![Screenshot 2023-10-17 at 13 01 09](https://github.com/acts-project/acts/assets/26623879/8eb39ccb-2f77-4af0-9f89-cfb9d62ebd74) **A Helper (currently for cylindrical detectors only** It then allows also for sorting the nodes in "R" and "Z": - before sorting: ![Screenshot 2023-10-17 at 13 46 18](https://github.com/acts-project/acts/assets/26623879/0e4a46d4-8a97-4801-a753-176e757e946a) - after sorting: ![Screenshot 2023-10-17 at 13 46 31](https://github.com/acts-project/acts/assets/26623879/ba227db4-01a4-4490-8f44-e4cd4dcdd32a) It also allows to insert gap nodes: - before inserting: ![Screenshot 2023-10-17 at 15 36 06](https://github.com/acts-project/acts/assets/26623879/5812bb57-1922-42b3-95e8-1bba841c8363) - after inserting: ![Screenshot 2023-10-17 at 15 47 20](https://github.com/acts-project/acts/assets/26623879/0aaed0d6-4d84-42eb-a2aa-5e31765d7dde) In a follow-up PR it will be shown how to work with the `CylindricalContainerBuilder` schema and eventually a DD4hep test.
This PR follows #2550 and introduces an automated conversion from blueprint to a cylindrical detector builder. - it adds the auto-translation of blueprint to cylindrical container builder - plus unit test (yes, it's boiler plate blueprint building, but the code for detector building is now really concise) - it adds the graphical representation of `root volume finder builder` and `geo id generator`: <img width="750" alt="Screenshot 2023-10-20 at 16 55 51" src="https://github.com/acts-project/acts/assets/26623879/5ee546db-9581-47be-82fe-32212a08cb9b">
This PR is the next attempt to introduce an instruction tree for detector building, this is a follow-up of discussion with @paulgessinger and is meant as a replacement / alternative solution to #2537. For this PR - instead of proxies - the simple construction tree is created, momentarily for cylindrical detectors.
This allows the building process to be displayed as a graph:
A Helper (currently for cylindrical detectors only
It then allows also for sorting the nodes in "R" and "Z":
before sorting:
after sorting:
It also allows to insert gap nodes:
before inserting:
after inserting:
In a follow-up PR it will be shown how to work with the
CylindricalContainerBuilder
schema and eventually a DD4hep test.