-
Notifications
You must be signed in to change notification settings - Fork 60
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
[FCCee] Centralize beampipe geometries in an MDI folder #344
Conversation
…ed solenoids + FFQs fields
sync with main
tests fail because the following exception is caught:
the same geometry has been tested and works as expected, so I think this warning can be bypassed. I wait for confirmation anyway |
Please keep something for BEGIN/END RELEASENOTES. |
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.
Some issues, some nitpicking, some request for comment.
Regarding the test:
Add a space before Exception
to ignore the G4Exception warning. If an actual error occurs, geant4 prints, Exception
instead of warning inside it (or it did in the past...)
-SET_TESTS_PROPERTIES( t_${test_name} PROPERTIES FAIL_REGULAR_EXPRESSION "Exception;EXCEPTION;ERROR;Error" TIMEOUT 700)
+SET_TESTS_PROPERTIES( t_${test_name} PROPERTIES FAIL_REGULAR_EXPRESSION " Exception; EXCEPTION;ERROR;Error" TIMEOUT 700)
k4geo/lcgeoTests/CMakeLists.txt
Line 95 in 77e501e
SET_TESTS_PROPERTIES( t_${test_name} PROPERTIES FAIL_REGULAR_EXPRESSION "Exception;EXCEPTION;ERROR;Error" TIMEOUT 700) |
Co-authored-by: Andre Sailer <andre.philippe.sailer@cern.ch>
Co-authored-by: Andre Sailer <andre.philippe.sailer@cern.ch>
Co-authored-by: Andre Sailer <andre.philippe.sailer@cern.ch>
Co-authored-by: Andre Sailer <andre.philippe.sailer@cern.ch>
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.
Great Andrea, thanks a lot for this!
@andresailer shall we take the beampipe from there as well for CLD or you prefer to handle this differently? If yes, I would propose to do this on CLD_o2_v06 without bumping the version since it has not really been used yet. |
I would want to know how this affects simulation time, and see an overlap check |
And one should also check how this affects track reconstruction, if Material is properly accounted for. |
actually I did some tracking using these CAD files to see the energy deposit in the LumiCal by particles scattered off the beam pipe, and when the material was read uncorrectly (i.e. DefaultMaterial = steel) we noticed a large contribution from such secondaries, that mostly disappeared when fixing the bug and using actually AlBeMet or Beryllium |
I guess Andre meant to check the performance of the track reconstruction in CLD with the new beampipe. Since some people (Leonhard/Gaelle) have workflows ready to produce those plots, maybe one could ask them to check that? Shall we leave the inclusion of this centralized beampipe in CLD for another PR? |
For the lumiCal (here or in another PR, as you wish), I propose to take the one from |
You can ignore the overlap of the VTX with himself (IIRC Armin has fixed them in his last version, still to be merged). For the beampipe, I see 5 overlaps, most of them of the order of 50 um, except one which is 1.4 mm. Not knowing the tool used to export the CAD to tesselated solids, I am not sure how to deal with this... Can you ask the person having the tool in hand to see if there are some "options" when doing this export? Anyone has another idea? The impact on physics should be small though, what do you think Andre? |
yes, or at least make it Just out of curiosity, are the CAD files exported with a "sane" resolution this time or still Angstrom precision? |
The time taken by the tests of #351 (last merged PR, without CAD) and #344 (this PR) seems negligible. ------ #351 ------ #344 About the resolution, it is necessary to use small facets in order to have overlaps between touching curved surfaces as few and small as possible. There is no parameter in the tool (AutoCAD) used to export the STL to avoid these artifacts as each volume is converted by itself, and the tesselation is done by the software, without any possibility to interfere |
It still seems to be some requested change to do but I think I did everything, what am I missing? |
I think you indeed addressed the above comments. Can you further apply the following changes:
|
I put the |
Thanks Andrea! @atolosadelgado is running one last test, shooting particle along the beampipe to see the CPU behavior in this case. Let's wait for his feedback |
For the record:
The question becomes: is anyone objecting with the introduction of ~20MB CAD model in the git repository? |
Well, thinking twice I am a bit reluctant to add these files directly in the repository (would increase its size by 20% and we will have many different versions of these CAD files over time). Investigating other solutions... |
Can you remove all the .stl files from this PR? We will retrieve them from https://fccsw.web.cern.ch/fccsw/filesForSimDigiReco/MDI/MDI_o1_v01/. Since now the default is to use the shape based beampipe we could handle this in another PR. Can you also fix the conflicts and update your branch? |
I removed the STL files but left the MDI_o1_v01 folder, I have updated the README file to specify that the stl are not included for now |
Thanks Andrea, can you resolve the conflicts now? |
Co-authored-by: Brieuc Francois <brieuc.francois@cern.ch>
Co-authored-by: Brieuc Francois <brieuc.francois@cern.ch>
The ALLEGRO_o1_v03 test is failing with |
test 13 - t_test_steeringFile is failing on the nightlies (CLIC compact file) |
Yes, this will be fixed soon AIDASoft/DD4hep#1293 |
Thanks Andrea! |
Following issue #338
BEGINRELEASENOTES
k4geo/FCCee/MDI
folderMDI_o1_v00
k4geo/FCCee/MDI/compact/MDI_o1_v01/
which will contain the CAD beampipeALLEGRO_o1_v03
andIDEA_o1_v03
to include the centralized beampipe and prepare them for the CAD onesHOMAbsorbers.xml
from ALLEGRO_o1_v03 since they are not needed with the low impedance beam pipe.ENDRELEASENOTES
The MDI folder will be updated with new CAD models of beam pipe and other MDI elements as they are developed (e.g. remote vacuum connection, bellows, cryostats, shieldings, magnets, supports, services ...).
Maybe the LumiCal could be moved here, as it is a common element at all the IPs.
CLD compact can be modified as well.