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 Migration MaterialAccounting #29577

Merged
merged 6 commits into from Apr 30, 2020

Conversation

vargasa
Copy link
Contributor

@vargasa vargasa commented Apr 28, 2020

PR description:

Progress on dd4hep migration on SimTracker/TrackerMaterialAnalysis

PR validation:

DD

$ cmsRun SimTracker/TrackerMaterialAnalysis/test/listGroups.py

DD4hep

$ cmsRun SimTracker/TrackerMaterialAnalysis/test/listGroups_dd4hep.py

@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-29577/14889

  • This PR adds an extra 20KB to repository

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

@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-29577/14890

@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, @GiacomoSguazzoni, @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

@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-29577/14906

  • This PR adds an extra 24KB to repository

  • Found files with invalid states:

  • There are other open Pull requests which might conflict with changes you have proposed:

@cmsbuild
Copy link
Contributor

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

@vargasa
Copy link
Contributor Author

vargasa commented Apr 29, 2020

FYI: @cvuosalo @ianna

@cvuosalo
Copy link
Contributor

@cmsbuild please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 29, 2020

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-run-pr-tests/5912/console Started: 2020/04/29 21:05

cms::Translation trans = fv.translation(path);
GlobalPoint gp = GlobalPoint(trans.x(), trans.y(), trans.z());
m_elements.push_back(gp);
std::cout << "Adding element at (r,z) " << gp.perp() << "," << gp.z() << std::endl;
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't all these cout statements be changed to LogVerbatim? Is this program only for testing?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@cvuosalo This specific part has not changed from the existing code. Due to time constraints I'm focusing on having it working and we can address these details in future iterations

@cmsbuild
Copy link
Contributor

+1
Tested at: c3dd904
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-e8beab/5912/summary.html
CMSSW: CMSSW_11_1_X_2020-04-29-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-e8beab/5912/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: 2696435
  • DQMHistoTests: Total failures: 25
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2696091
  • DQMHistoTests: Total skipped: 319
  • 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

@civanch
Copy link
Contributor

civanch commented Apr 30, 2020

+1
I would guess it is test code, so "cout" is allowed

@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)


m_boundingbox.grow(s_tolerance);

std::cout << "Final BBox r_range: " << m_boundingbox.range_r().first << ", " << m_boundingbox.range_r().second
Copy link
Contributor

Choose a reason for hiding this comment

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

also here

@silviodonato
Copy link
Contributor

+1
@vargasa please prepare a very short PR removing the existing cout

@cmsbuild cmsbuild merged commit a1c8b70 into cms-sw:master Apr 30, 2020
@boudoul
Copy link
Contributor

boudoul commented Apr 30, 2020

Hi @silviodonato and @vargasa , may I kindly suggest to one of you to create an issue opened until the cout is fixed, so that we are not forgetting ... thanks

@vargasa
Copy link
Contributor Author

vargasa commented May 8, 2020

@boudoul @silviodonato thanks, I'll take care of it

@vargasa vargasa deleted the MaterialAccounting 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

6 participants