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

MTD reco geometry: preliminary cleaning #28875

Merged
merged 6 commits into from Feb 14, 2020

Conversation

fabiocos
Copy link
Contributor

@fabiocos fabiocos commented Feb 6, 2020

PR description:

This PR proposes a preliminary cleaning of the Geometry/MTDNumberingBuilder and Geometry/MTDGeometryBuilder in view of the migration to DD4hep and insertion of the new TRD ETL. The DD4hep DDFilteredView is updated by adding a method copyNumbers that has the same meaning as in DDD.

The GeometricTimingDetAnalyzer has also been revisited in order to provide a detailed dump of the product of the MTDNumberingBuilder and serve for comparisons in the rewriting of this component.

PR validation:

The old tests run on scenario D50 without issues, and now the printout in MTDTopologyAnalyzer is fixed (previously partially not working).

… remove code ported from tracker but unused by MTD,

move testGeometry into more appropriate location, restore original GeometricTimingDet
@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 6, 2020

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 6, 2020

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-28875/13649

Code check has found code style and quality issues which could be resolved by applying following patch(s)

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 6, 2020

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 6, 2020

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-28875/13650

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 6, 2020

A new Pull Request was created by @fabiocos (Fabio Cossutti) for master.

It involves the following packages:

DetectorDescription/DDCMS
Geometry/MTDCommonData
Geometry/MTDGeometryBuilder
Geometry/MTDNumberingBuilder

@civanch, @Dr15Jones, @makortel, @cvuosalo, @ianna, @mdhildreth, @cmsbuild, @kpedro88 can you please review it and eventually sign? Thanks.
@vargasa this is something you requested to watch as well.
@davidlange6, @silviodonato, @fabiocos you are the release manager for this.

cms-bot commands are listed here

@fabiocos
Copy link
Contributor Author

fabiocos commented Feb 6, 2020

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 6, 2020

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-run-pr-tests/4532/console Started: 2020/02/06 15:04

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 6, 2020

+1
Tested at: c1d6aa9
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-ed1190/4532/summary.html
CMSSW: CMSSW_11_1_X_2020-02-06-1100
SCRAM_ARCH: slc7_amd64_gcc820

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 6, 2020

Comparison job queued.

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 6, 2020

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

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 34
  • DQMHistoTests: Total histograms compared: 2698043
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2697696
  • DQMHistoTests: Total skipped: 346
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 33 files compared)
  • Checked 147 log files, 16 edm output root files, 34 DQM output files

@@ -90,20 +92,29 @@ void MTDTopologyAnalyzer::analyze(const edm::Event& iEvent, const edm::EventSetu

size_t num = fv.geoHistory().size();

if (fv.geoHistory()[num - 1].logicalPart().name() == "BarrelTimingLayer") {
if (fv.geoHistory()[num - 1].logicalPart().name().name() == "BarrelTimingLayer") {
Copy link
Contributor

Choose a reason for hiding this comment

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

@kpedro88 and @fabiocos - yes, a DDLogicalPart has a name() which is a DDName. The latter is a two strings object: a namespace() and a name(). Actually, every DD object has a DDName.

@ianna
Copy link
Contributor

ianna commented Feb 12, 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. @davidlange6, @silviodonato, @fabiocos (and backports should be raised in the release meeting by the corresponding L2)

@silviodonato
Copy link
Contributor

please test workflow 23434.1001

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 14, 2020

The tests are being triggered in jenkins.
Test Parameters:

@cmsbuild
Copy link
Contributor

+1
Tested at: 5ddaaf0
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-ed1190/4662/summary.html
CMSSW: CMSSW_11_1_X_2020-02-13-2300
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-ed1190/4662/summary.html

@slava77 comparisons for the following workflows were not done due to missing matrix map:

  • /data/cmsbld/jenkins/workspace/compare-root-files-short-matrix/data/PR-ed1190/23434.1001_TTbar_14TeV+RecoFullGlobalPU_TestOldDigi_2026D49PU+HARVESTFullGlobalPU_2026D49PU

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 34
  • DQMHistoTests: Total histograms compared: 2694005
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2693658
  • DQMHistoTests: Total skipped: 346
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 33 files compared)
  • Checked 147 log files, 16 edm output root files, 34 DQM output files

@silviodonato
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit ccb6e55 into cms-sw:master Feb 14, 2020
@fabiocos fabiocos deleted the fc-mtd-recoclean branch February 19, 2020 14:26
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