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

DD4hep: SimTracker/TrackerMaterialAnalysis tests #30282

Merged
merged 3 commits into from Jun 22, 2020

Conversation

vargasa
Copy link
Contributor

@vargasa vargasa commented Jun 17, 2020

PR description:

Unify tests in single script, cleanup

PR validation:

cd SimTracker/TrackerMaterialAnalysis/test
$cmsRun MaterialProducer10GeVNeutrino.py
$cmsRun TrackingMaterialAnalyser_dd4hep.py PhaseI
$cmsRun TrackingMaterialAnalyser_dd4hep.py PhaseII

(edit) Migration script has been renamed in order to avoid any confusion with legacy scripts

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-30282/16224

  • This PR adds an extra 20KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @vargasa (Andrés Vargas) for master.

It involves the following packages:

SimTracker/TrackerMaterialAnalysis

@cmsbuild, @civanch, @mdhildreth can you please review it and eventually sign? Thanks.
@makortel, @mtosi, @GiacomoSguazzoni, @JanFSchulte, @rovere, @VinInn, @apsallid, @ebrondol, @threus, @dgulhan this is something you requested to watch as well.
@silviodonato, @dpiparo you are the release manager for this.

cms-bot commands are listed here

@mtosi
Copy link
Contributor

mtosi commented Jun 18, 2020

thanks for this update
did you update the relevant twiki ?
how could we manage the group list ?

@vargasa
Copy link
Contributor Author

vargasa commented Jun 19, 2020

@mtosi No, I guess that won't be done until the migration is completed and old scripts removed working with DDCMS/Core. But it would be helpful if you point me to the relevant twiki

@mtosi
Copy link
Contributor

mtosi commented Jun 19, 2020

@mtosi
Copy link
Contributor

mtosi commented Jun 19, 2020

https://twiki.cern.ch/twiki/bin/viewauth/CMS/TrackingPOGRecoMaterialFromGeometry
thanks

the point is that this package is currently used, in particular, one of the file you are updating
https://github.com/cms-sw/cmssw/blob/a78b4c2407b9c71a19bfcb4cb2d7833a9ae889de/SimTracker/TrackerMaterialAnalysis/test/TrackingMaterialAnalyser.py
therefore, please, provide the relevant information in the twiki

in addition, how could we make the list


?
if I would need to adjust the parametrization, is there a way to automatically group material volumes in slightly a different way ?

thanks !

@vargasa
Copy link
Contributor Author

vargasa commented Jun 19, 2020

the point is that this package is currently used

Please double check, the file you're mentioning TrackingMaterialAnalyser.py was introduced as part of the migration, please reefer to #30125. You probably are referring to the lowercase filename which is a different file that's not being modified by this or previous migration PRs.

how could we make the list

The list shown is filtered from the xml, please see: https://cmssdt.cern.ch/lxr/source/SimTracker/TrackerMaterialAnalysis/python/trackingMaterialAnalyser_ForPhaseII_cfi.py#0015

cat ../data/dd4hep_trackingMaterialGroups_ForPhaseII.xml | grep TrackingMaterialGroup | sed -e 's/\s*//' | cut -d ' ' -f 3 | tr '=' ' ' | cut -d ' ' -f 2 | tr -d '"' | sed -e 's/\(.*\)/"\1",/'

if I would need to adjust the parametrization, is there a way to automatically group material volumes in slightly a different way?

You probably need to edit the xml files located in SimTracker/TrackerMaterialAnalysis/data/ or use the dumpFullXML*.py scripts

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-30282/16280

  • This PR adds an extra 24KB to repository

@cmsbuild
Copy link
Contributor

Pull request #30282 was updated. @cmsbuild, @civanch, @mdhildreth can you please check and sign again.

@mtosi
Copy link
Contributor

mtosi commented Jun 19, 2020

Please double check, the file you're mentioning TrackingMaterialAnalyser.py was introduced as part of the migration, please reefer to #30125. You probably are referring to the lowercase filename which is a different file that's not being modified by this or previous migration PRs.

opsi, thanks !

@silviodonato
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 19, 2020

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

+1
Tested at: afb1777
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-edd3d0/7213/summary.html
CMSSW: CMSSW_11_2_X_2020-06-19-1100
SCRAM_ARCH: slc7_amd64_gcc820

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-edd3d0/7213/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 36
  • DQMHistoTests: Total histograms compared: 2778811
  • DQMHistoTests: Total failures: 4
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2778757
  • DQMHistoTests: Total skipped: 50
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 35 files compared)
  • Checked 152 log files, 16 edm output root files, 36 DQM output files

@civanch
Copy link
Contributor

civanch commented Jun 20, 2020

+1

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

@silviodonato
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 23bdb53 into cms-sw:master Jun 22, 2020
@vargasa vargasa deleted the testph1 branch October 9, 2020 13:21
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.

None yet

5 participants