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

[DBG] fix undefined ref errors in L1TMuonOverlapPhase2 #44974

Closed

Conversation

smuzaffar
Copy link
Contributor

@smuzaffar smuzaffar commented May 15, 2024

This fixes #44946
It also needs cms-sw/cmsdist#9193 for DBG IBs

@cmsbuild
Copy link
Contributor

cmsbuild commented May 15, 2024

cms-bot internal usage

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44974/40257

  • This PR adds an extra 20KB to repository

@cmsbuild
Copy link
Contributor

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

It involves the following packages:

  • L1Trigger/L1TMuonOverlapPhase2 (upgrade, l1)

@subirsarkar, @epalencia, @srimanob, @aloeliger, @cmsbuild can you please review it and eventually sign? Thanks.
@dinyar, @missirol, @JanFSchulte, @eyigitba, @thomreis, @Martin-Grunewald this is something you requested to watch as well.
@rappoccio, @antoniovilela, @sextonkennedy you are the release manager for this.

cms-bot commands are listed here

@smuzaffar
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

-1

Failed Tests: RelVals-INPUT
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-cadeb3/39384/summary.html
COMMIT: de96203
CMSSW: CMSSW_14_1_X_2024-05-14-2300/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/44974/39384/install.sh to create a dev area with all the needed externals and cmssw changes.

RelVals-INPUT

  • 4.764.76_ZMuSkim2012D/step2_ZMuSkim2012D.log

Comparison Summary

Summary:

  • You potentially added 1 lines to the logs
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 48
  • DQMHistoTests: Total histograms compared: 3338976
  • DQMHistoTests: Total failures: 0
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3338956
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 47 files compared)
  • Checked 202 log files, 165 edm output root files, 48 DQM output files
  • TriggerResults: no differences found

@mbluj
Copy link
Contributor

mbluj commented May 15, 2024

@smuzaffar thank you.
I think that all the following three files need similar modifications:

L1Trigger/L1TMuonOverlapPhase2/interface/LutNetworkFixedPointRegression2Outputs.h
L1Trigger/L1TMuonOverlapPhase2/interface/LutNeuronLayerFixedPoint.h
L1Trigger/L1TMuonOverlapPhase2/src/PtAssignmentNNRegression.cc 

Maybe I prepare a PR which will supersede this one?

And a C++ question: is there difference between constexpr static const int and static constexpr int?

@cmsbuild
Copy link
Contributor

REMINDER @sextonkennedy, @antoniovilela, @rappoccio: This PR was tested with cms-sw/cmsdist#9193, please check if they should be merged together

@smuzaffar
Copy link
Contributor Author

Maybe I prepare a PR which will supersede this one?

@mbluj, please go ahead and open PR

@makortel
Copy link
Contributor

And a C++ question: is there difference between constexpr static const int and static constexpr int?

All constexpr variables are also const, so in static constexpr int would be sufficient.

@mbluj
Copy link
Contributor

mbluj commented May 17, 2024

And a C++ question: is there difference between constexpr static const int and static constexpr int?

All constexpr variables are also const, so in static constexpr int would be sufficient.

Thanks, it is what I supposed. So for compactness it is probably better to use static constexpr int, right? Should I correct it in other PR, #44984?
BTW, this one can be closed as it is superseded by #44984.

@iarspider
Copy link
Contributor

@cmsbuild please close
superseeded by #44984

@cmsbuild cmsbuild closed this May 17, 2024
@smuzaffar smuzaffar deleted the constexpr-L1TMuonOverlapPhase2 branch May 17, 2024 10:30
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.

[DBG_X] Compilation failures in L1Trigger/L1TMuonOverlapPhase2
5 participants