-
Notifications
You must be signed in to change notification settings - Fork 68
Change the MDI Version of the ILD FCCee Models to MDI_o1_v01 #428
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
Conversation
fyi @danieljeans |
checks fail because the stl files for |
Hi @Victor-Schwan, It seems that the release currently does not provide the CAD files necessary to build the fancy beampipe, which is causing the tests for ILD to fail. To address this, I would suggest one of the following options:
Let me know your thoughts, and I'd be happy to discuss further. |
Or we enable the cmake option |
key4hep/key4hep-actions#9 would make it possible to easily pass that additional option for the CI. |
I am in favor of adapting the tests such that the cmake option |
fd2db22
to
3a2b44b
Compare
Hi @Victor-Schwan, I ran the test for ILD, which is currently failing. In addition to the missing files, I noticed another issue: when initializing the geometry, Geant4 detects an error in the beampipe CAD. Specifically, a facet is incorrectly oriented at z = +/-1111 mm, triggering the following warning message:
Although this is only a warning, the test fails due to the following property in
I think @aciarma is investigating the issue. In the meantime, could we consider modifying the ctest configuration to avoid failing on this Geant4 warning? Let me know your thoughts :) |
Hello, yes I am investigating the problem of the wrongly oriented facets, but it seems like there is not much to do when exporting the STL file from CAD. This does not seem to have an impact on the tracking of particles, but if we find a solution or a fix I will update the models |
0f95aac
to
e435742
Compare
cf5cf40
to
8a7ab4b
Compare
I have added the necessary configuration to make the CI download the STL beampipe files on the fly. |
thank for the modifications! To filter out the Geant4 warning message caused by bad facets in the tessellated solid, I think it is fine if you place the following python script in
and modify your tests as follows:
I think the I have tested locally If you or anyone else have a better solutions, please go ahead :) |
Moved the Additionally, I have added setting |
@atolosadelgado thanks for the detailed and tested solution for the bad facets |
As the bad facets in the tessellated solid might be solved at some point, I suggest not squashing the whole PR, but merging at least two commits. The idea is to have the fix for the failing tests in a separate commit, such that it can be easily reverted once a fixed geometry is available. |
thanks @Victor-Schwan ! @andresailer @jmcarcell do you know how to address Victor request? otherwise we can fix manually the test once the MDI geometry is free of bad facets |
What is the request exactly? |
haha I do not know, I thought it was our duty @Victor-Schwan can you squash as you suggested? |
8b846e7
to
856a60a
Compare
Sure, I can do it. I was just waiting to see if there are comments on stuff to change which is usually easier before squashing. The part that I cannot do, is not squashing the PR when merging it, hence my message :) |
Make sure to download STL files for CI fix redefinition of ILD_Main_Crossing_Angle for the ILD_FCCee models Move crossing angle definition to basic_defs Nested includes do not work for constants and basic_defs seems to be the best choice to avoid issues with inter dependencies between the different constants. This makes things work with minimal changes to existing compact files
anyone against merging this? Are we still waiting on something else? |
I can merge if you think it is ready :) |
On @BrieucF 's recommendation, the default MDI version of the ILD FCCee models is changed to
MDI_o1_v01
.BEGINRELEASENOTES
MDI_o1_v01
ENDRELEASENOTES