Skip to content
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

Run3-gex89 Attempt to define unqiue names of materials everywhere #34927

Merged
merged 2 commits into from
Aug 23, 2021

Conversation

bsunanda
Copy link
Contributor

PR description:

Attempt to define unqiue names of materials everywhere. Remove duplicate names from materials.xml (which are defined in tracker.xml) and make sure that names of all materials for PPS to be preceded by PPS_

PR validation:

Use some of runTheMatrix test workflows

if this PR is a backport please specify the original PR and why you need to backport that PR:

Nothing special

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-34927/24735

  • This PR adds an extra 64KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @bsunanda (Sunanda Banerjee) for master.

It involves the following packages:

  • Configuration/Geometry (geometry, upgrade)
  • Geometry/CMSCommonData (geometry, upgrade)
  • Geometry/VeryForwardData (geometry)

@civanch, @Dr15Jones, @makortel, @cvuosalo, @ianna, @kpedro88, @cmsbuild, @AdrianoDee, @srimanob, @mdhildreth can you please review it and eventually sign? Thanks.
@vargasa, @fabferro, @jan-kaspar, @Martin-Grunewald, @fabiocos, @slomeo this is something you requested to watch as well.
@perrotta, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@bsunanda
Copy link
Contributor Author

@cvuosalo @civanch I have made changes and removed possibility of defining materials with the same name. Checked for materials defined for tracker, calorimeters and forward systems. The relevant cfi's are in Geometry/VeryForwardData/python (for DDD) and in Geometry/VeryForwardData/dd4hep (for DD4Hep). We can start testing now

@bsunanda
Copy link
Contributor Author

@cmsbuild Please test

@cvuosalo
Copy link
Contributor

@bsunanda Have you seen in any preliminary tests that the discrepancies are resolved by this change?

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-c0fe37/17848/summary.html
COMMIT: 75859ae
CMSSW: CMSSW_12_1_X_2021-08-17-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/34927/17848/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 39
  • DQMHistoTests: Total histograms compared: 3000352
  • DQMHistoTests: Total failures: 0
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3000330
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 38 files compared)
  • Checked 165 log files, 37 edm output root files, 39 DQM output files
  • TriggerResults: no differences found

@srimanob
Copy link
Contributor

@bsunanda @civanch @cvuosalo
Thanks very much.
If I pick up this PR on top of 12_1, is it enough to test with XML geometry used in SIM, RECO steps?

@@ -0,0 +1,377 @@
<?xml version="1.0"?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bsunanda , there is typo in this file name ",xml"

@bsunanda
Copy link
Contributor Author

@cmsbuild Please test

@cvuosalo
Copy link
Contributor

hold

@cmsbuild
Copy link
Contributor

Pull request has been put on hold by @cvuosalo
They need to issue an unhold command to remove the hold state or L1 can unhold it for all

@cmsbuild cmsbuild added the hold label Aug 19, 2021
@cvuosalo
Copy link
Contributor

Let's wait a little bit on this PR. It makes a big perturbation to the Geometry materials right at the same time we are checking the materials for other issues.

@cvuosalo
Copy link
Contributor

unhold

@cmsbuild cmsbuild removed the hold label Aug 20, 2021
@cvuosalo
Copy link
Contributor

Let's go forward with this PR and get it merged soon.

@srimanob
Copy link
Contributor

+Upgrade

@cmsbuild
Copy link
Contributor

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. @perrotta, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2)

@perrotta
Copy link
Contributor

This PR does not fix the issue but is useful in general.

Just for completeness of information: which is the issue that is mentioned several times in this thread, and which is "not fixed" by this PR? @bsunanda @civanch @cvuosalo

@bsunanda
Copy link
Contributor Author

There was a discrepancy of material budget in the tracker between the xml and db version for the dd4hep implementation. This PR tries to avoid duplicate material names which could be a cause. It was later on established that the order in which materials are defined was causing this and this was taken care of in a separate PR. However avoiding duplicate names is a good practice and defining materials with the same name but of different properties is confusing and must be avoided.

@bsunanda
Copy link
Contributor Author

@perrotta I tried to send a comment. It was discussed in the Simulation meetings (and chats) at great length

@bsunanda
Copy link
Contributor Author

@qliphy @perrotta @cvuosalo @civanch Please include this in IB at the earliest. We need to define a new scenario to be used for the next GT

@perrotta
Copy link
Contributor

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants