-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
DD4hep RelVal for Phase2: update geometry configuration and PyReleaseValidation #31975
Conversation
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-31975/19436
|
A new Pull Request was created by @fabiocos (Fabio Cossutti) for master. It involves the following packages: Configuration/Geometry @civanch, @Dr15Jones, @jordan-martins, @chayanit, @cvuosalo, @wajidalikhan, @ianna, @mdhildreth, @cmsbuild, @makortel, @franzoni, @silviodonato, @kpedro88, @qliphy, @fabiocos, @davidlange6 can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
The tests are being triggered in jenkins.
|
|
if (fragment=='TTbar_13' or fragment=='ZMM_13' or fragment=='SingleMuPt10') and '2021' in key: | ||
return True | ||
if (fragment=='TTbar_14TeV' or fragment=='ZMM_14' or fragment=='SingleMuPt10') and '2026' in key: | ||
return True |
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.
this condition is not complete (doesn't return false when the condition is not met)
I prefer avoiding the redundant if true return true
construction:
return ((fragment=='TTbar_13' or fragment=='ZMM_13' or fragment=='SingleMuPt10') and '2021' in key) \
or ((fragment=='TTbar_14TeV' or fragment=='ZMM_14' or fragment=='SingleMuPt10') and '2026' in key)
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.
right, I forgot the False
condition, I'll update that
@kpedro88 I was waiting for a comment, as said in the description I find reasonable to have all the possible scenarios available. I will update the PR, there is indeed a value in having all the scenarios available, apart for the unit test: for instance for MTD different parts of the code are probed when running different scenarios, and if we want to ensure that DD4hep is really working we need to run all of them (or at least a selection of them). |
…y for all Phase2 scenarios
+1 |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
+1 |
+upgrade |
+1 |
+1 |
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will be automatically merged. |
PR description:
This PR extends #30003 introducing DD4hep geometry configurations and corresponding RelVal test workflows for Phase2 scenarios. In the initial version of this PR only the geometry D49 configuration is explicitly added (while workflows are possibly built for any Phase2 scenario). If there is agreement on this strategy I may update the PR by adding configurations for any active scenario, in any case the
generateGeometry.py
script is instructed to produce whatever Phase2 DD4hep configuration required. I add a few fixes to the geometry dictionaries to keep in synchrony them with the latest version available (for 2021) and have the dd4hep modifier available for MTD (other sub-detectors will have to check).PR validation:
Code compiles and produces the desired configurations, tested for 2021 and 2026D49 both as compressed and expanded python configuration. The workflow list shows workflows for all scenarios, but their building fails but for D49, as the geometry configurations are not provided for the time being.