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

L1T: fix duplicate dictionary problems in #33978 #34094

Merged

Conversation

cecilecaillol
Copy link
Contributor

PR description:

This is a fix addressing the comments from @makortel on #33978

PR validation:

if this PR is a backport please specify the original PR and why you need to backport that PR:

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-34094/23274

  • This PR adds an extra 16KB to repository

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

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-34094/23276

  • This PR adds an extra 20KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @cecilecaillol for master.

It involves the following packages:

DataFormats/DetId
L1Trigger/VertexFinder
SimDataFormats/TrackingAnalysis

@cmsbuild, @rekovic, @civanch, @cecilecaillol, @mdhildreth can you please review it and eventually sign? Thanks.
@HuguesBrun, @apsallid, @makortel, @trocino, @abbiendi, @JanFSchulte, @Fedespring, @Martin-Grunewald, @calderona, @sscruz, @jhgoh, @lecriste, @mtosi, @ebrondol, @rovere, @fabiocos, @cericeci 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

@cecilecaillol
Copy link
Contributor Author

please test

edm::Wrapper<std::vector<l1tVertexFinder::Stub>> wvs;
edm::Wrapper<std::vector<l1tVertexFinder::TP>> wvtp;
edm::Wrapper<std::vector<l1tVertexFinder::Vertex>> wvvtx;
edm::Wrapper<l1tVertexFinder::InputData> wid;
Copy link
Contributor

Choose a reason for hiding this comment

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

I mean that the contents of the struct (and the namespace) can be removed.

<class name="l1tVertexFinder::InputData" transient="true"/>
Copy link
Contributor

Choose a reason for hiding this comment

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

These should actually be

Suggested change
<class name="l1tVertexFinder::InputData" transient="true"/>
<class name="l1tVertexFinder::InputData" persistent="false"/>

@@ -23,6 +23,8 @@

<class name="TrackingParticleRefVector" />
<class name="edm::Wrapper<TrackingParticleRefVector>"/>

<class name="std::map<edm::Ptr<TrackingParticle>,edm::RefToBase<TrackingParticle> >"/>
Copy link
Contributor

@makortel makortel Jun 11, 2021

Choose a reason for hiding this comment

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

I'm still curious why RefToBase<TrackingParticle> is needed. I don't see anything inheriting from TrackingParticle, so a polymorphic reference is not really needed (i.e. edm::Ref would suffice), and for any new use for polymorphic Refs the edm::Ptr is strongly preferred.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-34094/23329

  • This PR adds an extra 16KB to repository

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

@cmsbuild
Copy link
Contributor

Pull request #34094 was updated. @smuzaffar, @civanch, @Dr15Jones, @makortel, @mdhildreth, @cmsbuild, @rekovic, @cecilecaillol can you please check and sign again.

@cecilecaillol
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-cb8298/15966/summary.html
COMMIT: 4487cc2
CMSSW: CMSSW_12_0_X_2021-06-15-1100/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/34094/15966/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 2 differences found in the comparisons
  • DQMHistoTests: Total files compared: 38
  • DQMHistoTests: Total histograms compared: 2862520
  • DQMHistoTests: Total failures: 7
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2862491
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 37 files compared)
  • Checked 160 log files, 37 edm output root files, 38 DQM output files
  • TriggerResults: no differences found

@smuzaffar
Copy link
Contributor

+core
thanks @cecilecaillol for the fix
FYI @mrodozov

@cecilecaillol
Copy link
Contributor Author

+l1

@civanch
Copy link
Contributor

civanch commented Jun 16, 2021

+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. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2)

@qliphy
Copy link
Contributor

qliphy commented Jun 16, 2021

+1

@cmsbuild cmsbuild merged commit 35a483c into cms-sw:master Jun 16, 2021
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.

6 participants