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

add warnings to L1TGlobalPrescaler (93x) #20144

Merged
merged 2 commits into from
Aug 14, 2017

Conversation

fwyzard
Copy link
Contributor

@fwyzard fwyzard commented Aug 12, 2017

  • warn if l1tPrescales has the wrong number of elements
  • warn if the target prescales are lower than the original ones

  - warn if `l1tPrescales` has the wrong number of elements
  - warn if the target prescales are lower than the original ones
@fwyzard
Copy link
Contributor Author

fwyzard commented Aug 12, 2017

@cmsbuild, please test

@cmsbuild cmsbuild added this to the CMSSW_9_3_X milestone Aug 12, 2017
@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 12, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/22247/console Started: 2017/08/12 15:18

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @fwyzard (Andrea Bocci) for master.

It involves the following packages:

L1Trigger/L1TGlobal

@cmsbuild, @rekovic, @mulhearn can you please review it and eventually sign? Thanks.
@Martin-Grunewald, @kreczko this is something you requested to watch as well.
@davidlange6, @slava77 you are the release manager for this.

cms-bot commands are listed here

@fwyzard
Copy link
Contributor Author

fwyzard commented Aug 12, 2017

type bugfix

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pr-code-checks/PR-20144/76

Code check has found code style and quality issues which could be resolved by applying a patch in https://cmssdt.cern.ch/SDT/jenkins-artifacts/pr-code-checks/PR-20144/76/git-diff.patch

In future, you can run scram build code-checks to apply code checks

Enabled checks:
    boost-use-to-string
    cppcoreguidelines-no-malloc
    google-build-explicit-make-pair
    misc-inefficient-algorithm
    misc-string-compare
    misc-uniqueptr-reset-release
    modernize-avoid-bind
    modernize-deprecated-headers
    modernize-loop-convert
    modernize-make-shared
    modernize-make-unique
    modernize-pass-by-value
    modernize-redundant-void-arg
    modernize-replace-auto-ptr
    modernize-shrink-to-fit
    modernize-use-auto
    modernize-use-bool-literals
    modernize-use-emplace
    modernize-use-equals-default
    modernize-use-equals-delete
    modernize-use-nullptr
    modernize-use-override
    modernize-use-transparent-functors
    modernize-use-using
    performance-faster-string-find
    performance-for-range-copy
    performance-implicit-cast-in-loop
    performance-inefficient-string-concatenation
    performance-type-promotion-in-math-fn
    performance-unnecessary-copy-initialization
    performance-unnecessary-value-param
    readability-container-size-empty
    readability-redundant-string-cstr
    readability-static-definition-in-anonymous-namespace
    readability-uniqueptr-delete-release

See http://releases.llvm.org/4.0.0/tools/clang/tools/extra/docs/clang-tidy/index.html for details.
@cmsbuild
Copy link
Contributor

Pull request #20144 was updated. @cmsbuild, @rekovic, @mulhearn can you please check and sign again.

@fwyzard
Copy link
Contributor Author

fwyzard commented Aug 12, 2017

@cmsbuild, please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 12, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/22252/console Started: 2017/08/12 15:55

@cmsbuild
Copy link
Contributor

@rekovic
Copy link
Contributor

rekovic commented Aug 12, 2017

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next master IBs after it passes the integration tests. 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)

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.


namespace {

template <typename T, std::size_t N, typename S>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Dr15Jones @wddgit can you think of any way to support

template <typename T, std::size_t N>
std::array<T, N>
ParameterSet::getParameter<std::array<T, N>>(...)

directly in ParameterSet ?

I I understand that it cannot be done as an overload or partial specialisation of ParameterSet::getParameter<T>(...) .

@cmsbuild
Copy link
Contributor

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

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 25
  • DQMHistoTests: Total histograms compared: 2600817
  • DQMHistoTests: Total failures: 240
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2600398
  • DQMHistoTests: Total skipped: 179
  • DQMHistoTests: Total Missing objects: 0
  • Checked 103 log files, 14 edm output root files, 25 DQM output files

@davidlange6
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 51634f1 into cms-sw:master Aug 14, 2017
@fwyzard fwyzard deleted the L1TGlobalPrescaler_add_warnings_93x branch September 4, 2017 16:34
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.

4 participants