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

Modernize L1Trigger/CSCTrackFinder modules #25305

Merged
merged 4 commits into from Nov 24, 2018

Conversation

Dr15Jones
Copy link
Contributor

@Dr15Jones Dr15Jones commented Nov 20, 2018

Made CSCTFCandidateProducer a global module since it was causing synchronization on LuminosityBlock boundaries in the DIGI workflows.
-Improved const correctness by holding data members by value instead of pointer
-Switched to using EDPutToken

Made CSCTFTrackProducer a one module since it calls thread-hostile code.

Holding by value is more efficient and keeps const correctness.
-converted to a global module
-hold CSCTFCandidateBuilder by value to keep const correctness
-use EDPutToken
@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @Dr15Jones (Chris Jones) for master.

It involves the following packages:

L1Trigger/CSCTrackFinder

@nsmith-, @rekovic, @cmsbuild, @thomreis can you please review it and eventually sign? Thanks.
@Martin-Grunewald 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

@davidlange6
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

The tests are being triggered in jenkins.

-Made it a one module since it depends on thread-hostile code
-Used std::unique_ptr
-Avoided the use of pointer when by value would work
-Made member variables const when appropriate
@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

@Dr15Jones Dr15Jones changed the title Modernize CSCTFCandidateProducer Modernize L1Trigger/CSCTrackFinder modules Nov 20, 2018
@cmsbuild
Copy link
Contributor

Pull request #25305 was updated. @nsmith-, @rekovic, @cmsbuild, @thomreis can you please check and sign again.

@Dr15Jones
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 22, 2018

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/31804/console Started: 2018/11/22 16:06

@cmsbuild
Copy link
Contributor

@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-25305/31804/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 32
  • DQMHistoTests: Total histograms compared: 3013311
  • DQMHistoTests: Total failures: 3
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3013111
  • DQMHistoTests: Total skipped: 197
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 31 files compared)
  • Checked 134 log files, 14 edm output root files, 32 DQM output files

@thomreis
Copy link
Contributor

Changes look OK but the static checks find lots of potential thread unsafe static variables. Should they be addressed?

@Dr15Jones
Copy link
Contributor Author

Those statics are why I had to make CSCTFTrackProducer a one module. I believe when I've asked in the passed I was told some of those statics are auto generated from a firmware tool and the code it creates is full of globals.

@Dr15Jones
Copy link
Contributor Author

@thomreis I'm not saying I do not think the statics should be left as they are forever. It is just such changes are beyond the scope of what I'm trying to accomplish.

@thomreis
Copy link
Contributor

+1

Thanks @Dr15Jones Just wanted to be sure those have been considered.

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

@fabiocos
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 8da5db6 into cms-sw:master Nov 24, 2018
@Dr15Jones Dr15Jones deleted the modernizeCSCTFCandidateProducer branch November 28, 2018 16:06
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

5 participants