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

CTPPS pixel clusterizer: call calibration by reference and use of map instead of set #20642

Merged
merged 4 commits into from Oct 6, 2017

Conversation

fabferro
Copy link
Contributor

@fabferro fabferro commented Sep 24, 2017

Removing a copy in the call to gain calibration and use of map instead of set to speed up execution

@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/PR-20642/938

Code check has found code style and quality issues which could be resolved by applying a patch in https://cmssdt.cern.ch/SDT/code-checks/PR-20642/938/git-diff.patch
e.g. curl https://cmssdt.cern.ch/SDT/code-checks/PR-20642/938/git-diff.patch | patch -p1

You can run scram build code-checks to apply code checks directly (this will soon be required for PRs to be considered)

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@slava77
Copy link
Contributor

slava77 commented Sep 24, 2017

since we started touching this,
there is another place where CPU use could be reduced:
https://slava77sk.web.cern.ch/slava77sk/reco/cgi-bin/igprof-navigator/CMSSW_9_4_X_2017-09-24-0000-sign962.294736.reCTPPS.pp/162
points to very high cost of iterating over calib_rpix_digi_set_.
If the set can be changed to a map with a key column*maxRow+row, lookup should be much easier than a linear scan over the full set every time a pixel is needed.
another alternative is to fill a vector size maxRow*maxCol, but this is perhaps too costly on low occupancy.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/PR-20642/939

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @fabferro (Fabrizio Ferro) for master.

It involves the following packages:

RecoCTPPS/PixelLocal

@perrotta, @cmsbuild, @slava77 can you please review it and eventually sign? Thanks.
@forthommel this is something you requested to watch as well.
@davidlange6, @slava77 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/PR-20642/961

@fabferro
Copy link
Contributor Author

@slava77 I've implemented the use of map instead of set. Please check at your convinience that this speeds up execution.

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 4, 2017

Pull request #20642 was updated. @perrotta, @cmsbuild, @slava77 can you please check and sign again.

@perrotta
Copy link
Contributor

perrotta commented Oct 4, 2017

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 4, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/23421/console Started: 2017/10/04 09:47

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 4, 2017

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 4, 2017

Comparison job queued.

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 4, 2017

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

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 26
  • DQMHistoTests: Total histograms compared: 2761357
  • DQMHistoTests: Total failures: 253
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2760917
  • DQMHistoTests: Total skipped: 187
  • DQMHistoTests: Total Missing objects: 0
  • Checked 107 log files, 10 edm output root files, 26 DQM output files

@slava77
Copy link
Contributor

slava77 commented Oct 5, 2017

+1

for #20642 b7fe46b

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 5, 2017

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

@davidlange6
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 2c8fb8d into cms-sw:master Oct 6, 2017
@slava77
Copy link
Contributor

slava77 commented Nov 3, 2017

@fabferro
please update the PR title and description to reflect what is done in the PR

@cmsbuild cmsbuild modified the milestones: CMSSW_9_4_X, CMSSW_10_0_X Nov 3, 2017
@fabferro fabferro changed the title CTPPS pixel clusterizer: patch in gain calibration call CTPPS pixel clusterizer: call calibration by reference and use of map instead of set Nov 3, 2017
@smuzaffar smuzaffar modified the milestones: CMSSW_10_0_X, CMSSW_9_4_X Nov 26, 2018
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