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

EventFilter/SiStripRawToDigi: clean up clang warnings: #22536

Merged
merged 5 commits into from Mar 19, 2018
Merged

EventFilter/SiStripRawToDigi: clean up clang warnings: #22536

merged 5 commits into from Mar 19, 2018

Conversation

gartung
Copy link
Member

@gartung gartung commented Mar 8, 2018

src/EventFilter/SiStripRawToDigi/interface/SiStripFEDBuffer.h:39:20: warning: 'sistrip::FEDBuffer::channelGood' hides overloaded virtual function [-Woverloaded-virtual]
virtual bool channelGood(const uint8_t internalFEDannelNum, const bool doAPVeCheck=true) const;
^
src/EventFilter/SiStripRawToDigi/interface/SiStripFEDBuffer.h:44:20: warning: 'sistrip::FEDBuffer::doChecks' hides overloaded virtual function [-Woverloaded-virtual]
virtual bool doChecks(bool doCRC=true) const;
^

src/EventFilter/SiStripRawToDigi/interface/SiStripFEDBuffer.h:39:20: warning: 'sistrip::FEDBuffer::channelGood' hides overloaded virtual function [-Woverloaded-virtual]
       virtual bool channelGood(const uint8_t internalFEDannelNum, const bool doAPVeCheck=true) const;
                   ^
src/EventFilter/SiStripRawToDigi/interface/SiStripFEDBuffer.h:44:20: warning: 'sistrip::FEDBuffer::doChecks' hides overloaded virtual function [-Woverloaded-virtual]
       virtual bool doChecks(bool doCRC=true) const;
                   ^
@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 8, 2018

The code-checks are being triggered in jenkins.

@gartung
Copy link
Member Author

gartung commented Mar 8, 2018

@Dr15Jones

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 8, 2018

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-22536/3854

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/cms-sw-PR-22536/3854/git-diff.patch
e.g. curl https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-22536/3854/git-diff.patch | patch -p1

You can run scram build code-checks to apply code checks directly

@@ -181,7 +181,7 @@ namespace sistrip {
try {
buffer.reset(new sistrip::FEDBuffer(input.data(),input.size()));
buffer->setLegacyMode(legacy_);
if (!buffer->doChecks()) {
if (!buffer->doChecks(bool(1))) {
Copy link
Contributor

Choose a reason for hiding this comment

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

How about !buffer->doChecks(true)

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 8, 2018

The code-checks are being triggered in jenkins.

@gartung
Copy link
Member Author

gartung commented Mar 8, 2018

@Dr15Jones code-checks caught that

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 8, 2018

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 8, 2018

A new Pull Request was created by @gartung (Patrick Gartung) for master.

It involves the following packages:

EventFilter/SiStripRawToDigi

@perrotta, @cmsbuild, @slava77 can you please review it and eventually sign? Thanks.
@makortel, @Martin-Grunewald, @ebrondol, @VinInn 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

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 8, 2018

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 8, 2018

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 9, 2018

Pull request #22536 was updated. @perrotta, @ghellwig, @vazzolini, @kmaeshima, @arunhep, @cerminar, @dmitrijus, @cmsbuild, @franzoni, @jfernan2, @slava77, @vanbesien, @lpernie can you please check and sign again.

@perrotta
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 10, 2018

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/26759/console Started: 2018/03/10 13:09

@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-22536/26759/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 29
  • DQMHistoTests: Total histograms compared: 2484711
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2484534
  • DQMHistoTests: Total skipped: 176
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 1.16000000015 KiB( 23 files compared)
  • Checked 118 log files, 9 edm output root files, 29 DQM output files

@perrotta
Copy link
Contributor

+1

  • Technical
  • Jenkins tests pass

@jfernan2
Copy link
Contributor

+1

@lpernie
Copy link
Contributor

lpernie commented Mar 12, 2018

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

@fabiocos
Copy link
Contributor

+1

technical code fixes, no evident effect in test workflows

@cmsbuild cmsbuild merged commit b6bf8eb into cms-sw:master Mar 19, 2018
@gartung gartung deleted the EventFilter-SiStripRawToDigi-cleanup-clang-warn branch March 26, 2018 16:09
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

7 participants