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

Clean up L1TTrackMatch producers #30970

Merged
merged 7 commits into from Aug 3, 2020
Merged

Conversation

kpedro88
Copy link
Contributor

PR description:

@Dr15Jones pointed out that the producers introduced in #30363 were not converted from legacy producers to modern producers. I converted them and applied the usual code review comments that were skipped/ignored in the original PR:

  • delete commented-out code
  • use std::make_unique, std::abs, reco::deltaR, reco::reduceRange
  • member variables end in underscore
  • range-based loops
  • capture returned temporaries with const auto&
  • etc.

PR validation:

Ran workflow 23234.0 successfully.

Should this be backported to 11_1_X?

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

using namespace edm;

std::unique_ptr<TkPrimaryVertexCollection> result(new TkPrimaryVertexCollection);
auto result = std::make_unique<TkPrimaryVertexCollection>();

// Tracker Topology
edm::ESHandle<TrackerTopology> tTopoHandle_;
iSetup.get<TrackerTopologyRcd>().get(tTopoHandle_);
Copy link
Contributor

Choose a reason for hiding this comment

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

Could we also get esConsumes used with the appropriate token?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure, I'll do that now.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-30970/17406

  • This PR adds an extra 28KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @kpedro88 (Kevin Pedro) for master.

It involves the following packages:

L1Trigger/L1TTrackMatch

@cmsbuild, @rekovic, @benkrikler, @kpedro88 can you please review it and eventually sign? Thanks.
@Martin-Grunewald this is something you requested to watch as well.
@silviodonato, @dpiparo, @qliphy 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-30970/17407

  • This PR adds an extra 28KB to repository

@cmsbuild
Copy link
Contributor

Pull request #30970 was updated. @cmsbuild, @rekovic, @benkrikler, @kpedro88 can you please check and sign again.

@kpedro88
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 29, 2020

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

+1
Tested at: 2625222
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-ef747c/8404/summary.html
CMSSW: CMSSW_11_2_X_2020-07-28-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-ef747c/8404/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 34
  • DQMHistoTests: Total histograms compared: 2525444
  • DQMHistoTests: Total failures: 7
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2525390
  • DQMHistoTests: Total skipped: 47
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 33 files compared)
  • Checked 144 log files, 17 edm output root files, 34 DQM output files

@kpedro88
Copy link
Contributor Author

+upgrade

@kpedro88
Copy link
Contributor Author

@rekovic please take a look

@silviodonato
Copy link
Contributor

merge

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

4 participants