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

Adapted Phase2 Tracker Digitizer code to C++11 standard #28664

Merged
merged 9 commits into from Jan 21, 2020

Conversation

suchandradutta
Copy link
Contributor

@suchandradutta suchandradutta commented Dec 20, 2019

PR description:

overall code optimization which includes

  • Optimization of loops over simhits with std::copy_if
  • Use of std::make_unique (C++14)
  • STL loop improvement
  • Clean-up of unnecessary header files, temporary variables, superfluous code
  • Style uniformity

PR validation:

Digis validated using FourFourMuon (Pt: 10-100 GeV) + 200 PU events in CMSSW_11_1_X
( workflow number 20610.0 ) against the released version

Details can be found in the presentation : https://indico.cern.ch/event/838963/contributions/3679018/attachments/1964986/3267155/Digitizer_Code_Review_19Dec19.pdf

Before submitting your pull requests, make sure you followed this checklist:

…TL loop improvement, Clean-up, Style uniformity
@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-28664/13232

  • This PR adds an extra 36KB to repository

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

@kpedro88
Copy link
Contributor

@suchandradutta please apply the code-checks and code-format, otherwise the PR tests will not start.
Also, please update the PR title to make it clear that it refers to the Phase 2 tracker digitization code.

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@suchandradutta suchandradutta changed the title Adapted code to C++11 standard Adapted Phase2 Tracker Digitizer code to C++11 standard Dec 21, 2019
@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-28664/13242

  • This PR adds an extra 36KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @suchandradutta (Suchandra Dutta) for master.

It involves the following packages:

SimTracker/SiPhase2Digitizer

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

cms-bot commands are listed here

@kpedro88
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 21, 2019

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-run-pr-tests/4083/console Started: 2019/12/21 06:44

@cmsbuild
Copy link
Contributor

+1
Tested at: bcf49c7
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-d43235/4083/summary.html
CMSSW: CMSSW_11_1_X_2019-12-20-2300
SCRAM_ARCH: slc7_amd64_gcc820

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

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

@suchandradutta
Copy link
Contributor Author

Prior to the last commit I suspect I had an un-cleaned build and the compilation error did not show up! Sorry for that!

@kpedro88
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 15, 2020

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-run-pr-tests/4232/console Started: 2020/01/15 16:42

@cmsbuild
Copy link
Contributor

+1
Tested at: 91abd9c
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-d43235/4232/summary.html
CMSSW: CMSSW_11_1_X_2020-01-14-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-d43235/4232/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: 2711715
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2711368
  • 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

CMSSW_11_1_X will be used to run a rereco of GEN-SIM-DIGI-RAW produced with CMSSW_11_0_X for the HLT TDR.
This PR will not break the compatibility because it does not change the data format of the tracker digi.
@suchandradutta could you confirm this PR will not break this compatibility?

@suchandradutta
Copy link
Contributor Author

Yes I can confirm that this PR will not break the compatibility

@silviodonato
Copy link
Contributor

Kind reminder of this PR to
upgrade: @kpedro88
simulation: @mdhildreth @civanch

@kpedro88
Copy link
Contributor

+upgrade

@civanch
Copy link
Contributor

civanch commented Jan 21, 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

+1

@cmsbuild cmsbuild merged commit 4067565 into cms-sw:master Jan 21, 2020
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