-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
fix handling of air/iron in DD4hep MF construction #33593
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33593/22405
|
A new Pull Request was created by @namapane (Nicola Amapane) for master. It involves the following packages: MagneticField/GeomBuilder @perrotta, @jpata, @cmsbuild, @slava77 can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
@namapane , I think it is a correct fix. |
@namapane Thanks for finding this. I have confirmed that this case was the only one in CMSSW where the material name was compared without considering the namespace. |
@cvuosalo , I would strip namespaces from materials but not in this PR. The check on density is much better than any check on name. |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-0338be/14758/summary.html Comparison SummarySummary:
|
+geometry |
type bugfix |
+reconstruction
|
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 now be reviewed by the release team before it's merged. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
MF yoke volumes are labelled as being iron for the purpose of track propagation in SHP . This was broken in DD4hep because the label is based on material name, which is reported with an unexpected "materials:" namespace in DD4hep.
To avoid this, the distinction is now made based on material density.
This is the origin of a discrepancy that has been observed in the DD4hep vs DDD validation for STA muons.
PR validation:
Checked that the isIron flag is now assigned correctly.