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

Update of Phase-2 GMT Emulator #44498

Merged
merged 20 commits into from
Jul 15, 2024
Merged

Update of Phase-2 GMT Emulator #44498

merged 20 commits into from
Jul 15, 2024

Conversation

zhenbinwu
Copy link
Contributor

PR description:

Major update of the Phase-2 GMT Emulator:

  1. Add the Phase-2 KMTF alogirthm for barrel muon
  2. Get the Phase-2 OMTF and EMTF to the Phase-2 Standalone Muon ghost busting algorithm
  3. Refined the Tracker Muon matching and quality bits for low pt muon
  4. Restructure the TPS code into header and source files.
  5. Update the Tracker Muon output to GT, sending quality score and isolation sum

PR validation:

Validated by L1 menu team

Zhenbin Wu added 4 commits March 20, 2024 13:48
Squash below commits

Update Muon DataFormat

Add Data and test script

Adding new files from Michalis'

Remove Node.h

The Node class is renamed as TPS

Reorganize the header files under plugins

The original header files were moved to plugins by central CMSSW.
Given the growing code, we think it is better to split header and source
files, to keep the code clean.

Apply Code format

Code Check and Format

Add python files

Update gmt_cfi file

Send TrackerMuon Quality score and isosum

Sending quality score and isolation sum to GT

Fix bug of the qual score

Header Error fix and code formatting

L1Trigger/Phase2L1GMT/interface/Constants.h was obsolete and removed.
The TPSLUTs.h is used instead.

Fix displaced KMTF bug

Update DataFormats/L1TMuonPhase2/interface/KMTFTrack.h

Co-authored-by: Andrew Loeliger <andrew.loeliger@cern.ch>

Update DataFormats/L1TMuonPhase2/interface/KMTFTrack.h

Co-authored-by: Andrew Loeliger <andrew.loeliger@cern.ch>

Update L1Trigger/Phase2L1GMT/interface/KMTF.h

Co-authored-by: Andrew Loeliger <andrew.loeliger@cern.ch>

Update L1Trigger/Phase2L1GMT/interface/KMTFCore.h

Co-authored-by: Andrew Loeliger <andrew.loeliger@cern.ch>

Update L1Trigger/Phase2L1GMT/interface/KMTFLUTs.h

Co-authored-by: Andrew Loeliger <andrew.loeliger@cern.ch>

Update L1Trigger/Phase2L1GMT/interface/TPS.h

Co-authored-by: Andrew Loeliger <andrew.loeliger@cern.ch>

Fix comments on DataFormat

Work on the comments

Move default desctuctor to header files

Abstract the prapagation in TPSAlgo

Update for CMSSW_14

1. Fix issues when moving to CMSSW_14 release
2. Changed all the printf to edmLogInfo

Fix issue from cherry-pick

Add Phase-2 OMTF and EMTF to GMT SA

- Get the Phase 2 prompt and displaced OMTF and EMTF to GMT SA
- Add Phase 2 OMTF, EMTF, GMT to L1

Update apQual to apQualFlag as requested by GT
@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 21, 2024

cms-bot internal usage

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44498/39609

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-44498/39610

@cmsbuild
Copy link
Contributor

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

It involves the following packages:

  • DataFormats/L1TMuonPhase2 (l1)
  • L1Trigger/Configuration (l1)
  • L1Trigger/Phase2L1GMT (l1)
  • L1Trigger/Phase2L1GT (upgrade, l1)

@epalencia, @subirsarkar, @aloeliger, @srimanob, @cmsbuild can you please review it and eventually sign? Thanks.
@rovere, @eyigitba, @Martin-Grunewald, @dinyar, @JanFSchulte, @missirol, @thomreis 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

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44498/39622

@cmsbuild
Copy link
Contributor

Pull request #44498 was updated. @subirsarkar, @cmsbuild, @epalencia, @srimanob, @aloeliger can you please check and sign again.

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 6, 2024

+1

Size: This PR adds an extra 920KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f13131/40267/summary.html
COMMIT: 0830f3b
CMSSW: CMSSW_14_1_X_2024-07-05-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/44498/40267/install.sh to create a dev area with all the needed externals and cmssw changes.

  • DAS Queries: The DAS query tests failed, see the summary page for details.

Comparison Summary

Summary:

  • You potentially added 14 lines to the logs
  • ROOTFileChecks: Some differences in event products or their sizes found
  • Reco comparison results: 70 differences found in the comparisons
  • DQMHistoTests: Total files compared: 49
  • DQMHistoTests: Total histograms compared: 3443383
  • DQMHistoTests: Total failures: 1136
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3442227
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 48 files compared)
  • Checked 207 log files, 169 edm output root files, 49 DQM output files
  • TriggerResults: found differences in 5 / 47 workflows

@epalencia
Copy link
Contributor

ping @cms-sw/upgrade-l2 , @cms-sw/dqm-l2

@srimanob
Copy link
Contributor

srimanob commented Jul 8, 2024

Hi @zhenbinwu @epalencia
Could you please check the static check? There is code which should improve, for example

>> Analyzing  src/L1Trigger/Phase2L1GT/src/L1GTScales.cc 
src/L1Trigger/Phase2L1GMT/plugins/Phase2L1TGMTSAMuonGhostCleaner.cc:84:5: warning: Value stored to 'bstart' is never read [deadcode.DeadStores]
   84 |     bstart = wordconcat<wordtype>(word, bstart, m.hwQual(), BITSSAQUAL);

@zhenbinwu
Copy link
Contributor Author

Hi @zhenbinwu @epalencia Could you please check the static check? There is code which should improve, for example

>> Analyzing  src/L1Trigger/Phase2L1GT/src/L1GTScales.cc 
src/L1Trigger/Phase2L1GMT/plugins/Phase2L1TGMTSAMuonGhostCleaner.cc:84:5: warning: Value stored to 'bstart' is never read [deadcode.DeadStores]
   84 |     bstart = wordconcat<wordtype>(word, bstart, m.hwQual(), BITSSAQUAL);

Thanks for your comment. The bstart was used as reference point in the next wordconcat() function. At this line of the code, it reaches the end of the word, leaving the bstart unused. In order to maintain the readability of the code, I actually prefer to keep it as it is for now. So that the variable and bit width can be easily viewed in the code.

There are some variables defined in the code but not used in the code yet. I would prefer to keep them there for clarification. Thanks!

@srimanob
Copy link
Contributor

+Upgrade

@epalencia
Copy link
Contributor

ping @cms-sw/dqm-l2, could you please review this PR?

@tjavaid
Copy link

tjavaid commented Jul 12, 2024

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

@rappoccio
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit c1df4fb into cms-sw:master Jul 15, 2024
12 checks passed
@makortel
Copy link
Contributor

This PR added bunch of compilation warnings such as

>> Compiling edm plugin src/L1Trigger/Phase2L1GMT/plugins/Phase2L1TGMTTkMuonProducer.cc
/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/gcc/12.3.1-40d504be6370b5a30e3947a6e575ca28/bin/c++ -c -DGNU_GCC -D_GNU_SOURCE -DTBB_USE_GLIBCXX_VERSION=120301 -DTBB_SUPPRESS_DEPRECATED_MESSAGES -DTBB_PREVIEW_RESUMABLE_TASKS=1 -DTBB_PREVIEW_TASK_GROUP_EXTENSIONS=1 -DBOOST_SPIRIT_THREADSAFE -DPHOENIX_THREADSAFE -DBOOST_MATH_DISABLE_STD_FPCLASSIFY -DBOOST_UUID_RANDOM_PROVIDER_FORCE_POSIX -DCMSSW_GIT_HASH='CMSSW_14_1_X_2024-07-15-2300' -DPROJECT_NAME='CMSSW' -DPROJECT_VERSION='CMSSW_14_1_X_2024-07-15-2300' -Isrc -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/libpng/1.6.37-83b21f0cf90ea53017db2db50b3e5a69/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/pcre/8.43-e34796d17981e9b6d174328c69446455/include -isystem/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/boost/1.80.0-e6c5c62cb3bb17bd5a918a7756ae6c58/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/bz2lib/1.0.6-d065ccd79984efc6d4660f410e4c81de/include -isystem/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/clhep/2.4.7.1-289242bd44b967163b4649adfcde650a/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/giflib/5.2.0-7d08baa8cb7eb0f890fa0e6ac003a997/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/gsl/2.6-5e2ce72ea2977ff21a2344bbb52daf5c/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/hepmc/2.06.10-abf5506ecf31a28643a2f7e59997c7e4/include -isystem/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/hls/2019.08-0e37f055a3ed22611ce5edecb14d0695/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/libjpeg-turbo/2.0.2-abd1969508d15f2a08cd087d6497118a/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/libuuid/2.34-27ce4c3579b5b1de2808ea9c4cd8ed29/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/protobuf/3.21.9-06077ca6599c4b4cd3b846e6d1752081/include -isystem/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/lcg/root/6.30.09-3634974d95b025ae1040cd4e38db1dd1/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/sqlite/3.36.0-49157ebb9a846c99702be39683b0c263/include -isystem/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/tbb/v2021.9.0-1a375da91426ec0ac7e5a16ec07b3eed/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/utm/utm_0.13.0-c3e0a6422c2da35e9e24a26b9433f5e8/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/cms/vdt/0.4.3-793cee1e1edef0e54b2bd5cb1f69aec9/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/xerces-c/3.1.3-c7b88eaa36d0408120f3c29826a04bf6/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/xz/5.2.5-87b9f5597eaeb8b5e9cedb5d183d5089/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/zlib/1.2.11-1a082fc322b0051b504cc023f21df178/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/eigen/3bb6a48d8c171cf20b5f8e48bfb4e424fbd4f79e-ca2c832ad60a3f7f2324abe8ddecc45a/include/eigen3 -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/fmt/8.0.1-258b4791803c34b7e98cf43693e54d87/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/md5/1.0.0-5b594b264e04ae51e893b1d69a797ec6/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/OpenBLAS/0.3.15-c877ab57fa7b04ce290093588c6c5717/include -isystem/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/tensorflow/2.12.0-e22475f213c87d65a64c18f3ca4658f2/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/tinyxml2/6.2.0-88fe0ec301baf763fa3c485e5b67ed91/include -O3 -pthread -pipe -Werror=main -Werror=pointer-arith -Werror=overlength-strings -Wno-vla -Werror=overflow -std=c++20 -ftree-vectorize -Werror=array-bounds -Werror=format-contains-nul -Werror=type-limits -fvisibility-inlines-hidden -fno-math-errno --param vect-max-version-for-alias-checks=50 -Xassembler --compress-debug-sections -Wno-error=array-bounds -Warray-bounds -fuse-ld=bfd -march=x86-64-v2 -felide-constructors -fmessage-length=0 -Wall -Wno-non-template-friend -Wno-long-long -Wreturn-type -Wextra -Wpessimizing-move -Wclass-memaccess -Wno-cast-function-type -Wno-unused-but-set-parameter -Wno-ignored-qualifiers -Wno-unused-parameter -Wunused -Wparentheses -Werror=return-type -Werror=missing-braces -Werror=unused-value -Werror=unused-label -Werror=address -Werror=format -Werror=sign-compare -Werror=write-strings -Werror=delete-non-virtual-dtor -Werror=strict-aliasing -Werror=narrowing -Werror=unused-but-set-variable -Werror=reorder -Werror=unused-variable -Werror=conversion-null -Werror=return-local-addr -Wnon-virtual-dtor -Werror=switch -fdiagnostics-show-option -Wno-unused-local-typedefs -Wno-attributes -Wno-psabi -DEIGEN_DONT_PARALLELIZE -DEIGEN_MAX_ALIGN_BYTES=64 -Wno-error=unused-variable -DBOOST_DISABLE_ASSERTS -flto=auto -fipa-icf -flto-odr-type-merging -fno-fat-lto-objects -Wodr -fPIC -MMD -MF tmp/el9_amd64_gcc12/src/L1Trigger/Phase2L1GMT/plugins/Phase2L1GMTPlugins/Phase2L1TGMTTkMuonProducer.cc.d src/L1Trigger/Phase2L1GMT/plugins/Phase2L1TGMTTkMuonProducer.cc -o tmp/el9_amd64_gcc12/src/L1Trigger/Phase2L1GMT/plugins/Phase2L1GMTPlugins/Phase2L1TGMTTkMuonProducer.cc.o
src/L1Trigger/Phase2L1GMT/plugins/Phase2L1TGMTStubProducer.cc: In member function 'virtual void Phase2L1TGMTStubProducer::produce(edm::Event&, const edm::EventSetup&)':
  src/L1Trigger/Phase2L1GMT/plugins/Phase2L1TGMTStubProducer.cc:114:8: warning: unused variable 'count0' [-Wunused-variable]
   114 |   uint count0 = 0;
      |        ^~~~~~
  src/L1Trigger/Phase2L1GMT/plugins/Phase2L1TGMTStubProducer.cc:115:8: warning: unused variable 'count1' [-Wunused-variable]
   115 |   uint count1 = 0;
      |        ^~~~~~
  src/L1Trigger/Phase2L1GMT/plugins/Phase2L1TGMTStubProducer.cc:116:8: warning: unused variable 'count2' [-Wunused-variable]
   116 |   uint count2 = 0;
      |        ^~~~~~
  src/L1Trigger/Phase2L1GMT/plugins/Phase2L1TGMTStubProducer.cc:117:8: warning: unused variable 'count3' [-Wunused-variable]
   117 |   uint count3 = 0;
      |        ^~~~~~
  src/L1Trigger/Phase2L1GMT/plugins/Phase2L1TGMTStubProducer.cc:118:8: warning: unused variable 'count4' [-Wunused-variable]
   118 |   uint count4 = 0;
      |        ^~~~~~

and

>> Compiling  src/L1Trigger/Phase2L1GMT/src/TrackConverter.cc
/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/gcc/12.3.1-40d504be6370b5a30e3947a6e575ca28/bin/c++ -c -DGNU_GCC -D_GNU_SOURCE -DTBB_USE_GLIBCXX_VERSION=120301 -DTBB_SUPPRESS_DEPRECATED_MESSAGES -DTBB_PREVIEW_RESUMABLE_TASKS=1 -DTBB_PREVIEW_TASK_GROUP_EXTENSIONS=1 -DBOOST_SPIRIT_THREADSAFE -DPHOENIX_THREADSAFE -DBOOST_MATH_DISABLE_STD_FPCLASSIFY -DBOOST_UUID_RANDOM_PROVIDER_FORCE_POSIX -DCMSSW_GIT_HASH='CMSSW_14_1_X_2024-07-15-2300' -DPROJECT_NAME='CMSSW' -DPROJECT_VERSION='CMSSW_14_1_X_2024-07-15-2300' -Isrc -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/libpng/1.6.37-83b21f0cf90ea53017db2db50b3e5a69/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/pcre/8.43-e34796d17981e9b6d174328c69446455/include -isystem/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/boost/1.80.0-e6c5c62cb3bb17bd5a918a7756ae6c58/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/bz2lib/1.0.6-d065ccd79984efc6d4660f410e4c81de/include -isystem/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/clhep/2.4.7.1-289242bd44b967163b4649adfcde650a/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/giflib/5.2.0-7d08baa8cb7eb0f890fa0e6ac003a997/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/gsl/2.6-5e2ce72ea2977ff21a2344bbb52daf5c/include -isystem/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/hls/2019.08-0e37f055a3ed22611ce5edecb14d0695/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/libjpeg-turbo/2.0.2-abd1969508d15f2a08cd087d6497118a/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/libuuid/2.34-27ce4c3579b5b1de2808ea9c4cd8ed29/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/protobuf/3.21.9-06077ca6599c4b4cd3b846e6d1752081/include -isystem/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/lcg/root/6.30.09-3634974d95b025ae1040cd4e38db1dd1/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/sqlite/3.36.0-49157ebb9a846c99702be39683b0c263/include -isystem/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/tbb/v2021.9.0-1a375da91426ec0ac7e5a16ec07b3eed/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/utm/utm_0.13.0-c3e0a6422c2da35e9e24a26b9433f5e8/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/cms/vdt/0.4.3-793cee1e1edef0e54b2bd5cb1f69aec9/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/xerces-c/3.1.3-c7b88eaa36d0408120f3c29826a04bf6/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/xz/5.2.5-87b9f5597eaeb8b5e9cedb5d183d5089/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/zlib/1.2.11-1a082fc322b0051b504cc023f21df178/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/eigen/3bb6a48d8c171cf20b5f8e48bfb4e424fbd4f79e-ca2c832ad60a3f7f2324abe8ddecc45a/include/eigen3 -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/fmt/8.0.1-258b4791803c34b7e98cf43693e54d87/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/md5/1.0.0-5b594b264e04ae51e893b1d69a797ec6/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/OpenBLAS/0.3.15-c877ab57fa7b04ce290093588c6c5717/include -isystem/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/tensorflow/2.12.0-e22475f213c87d65a64c18f3ca4658f2/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc12/external/tinyxml2/6.2.0-88fe0ec301baf763fa3c485e5b67ed91/include -O3 -pthread -pipe -Werror=main -Werror=pointer-arith -Werror=overlength-strings -Wno-vla -Werror=overflow -std=c++20 -ftree-vectorize -Werror=array-bounds -Werror=format-contains-nul -Werror=type-limits -fvisibility-inlines-hidden -fno-math-errno --param vect-max-version-for-alias-checks=50 -Xassembler --compress-debug-sections -Wno-error=array-bounds -Warray-bounds -fuse-ld=bfd -march=x86-64-v2 -felide-constructors -fmessage-length=0 -Wall -Wno-non-template-friend -Wno-long-long -Wreturn-type -Wextra -Wpessimizing-move -Wclass-memaccess -Wno-cast-function-type -Wno-unused-but-set-parameter -Wno-ignored-qualifiers -Wno-unused-parameter -Wunused -Wparentheses -Werror=return-type -Werror=missing-braces -Werror=unused-value -Werror=unused-label -Werror=address -Werror=format -Werror=sign-compare -Werror=write-strings -Werror=delete-non-virtual-dtor -Werror=strict-aliasing -Werror=narrowing -Werror=unused-but-set-variable -Werror=reorder -Werror=unused-variable -Werror=conversion-null -Werror=return-local-addr -Wnon-virtual-dtor -Werror=switch -fdiagnostics-show-option -Wno-unused-local-typedefs -Wno-attributes -Wno-psabi -DEIGEN_DONT_PARALLELIZE -DEIGEN_MAX_ALIGN_BYTES=64 -Wno-error=unused-variable -DBOOST_DISABLE_ASSERTS -flto=auto -fipa-icf -flto-odr-type-merging -fno-fat-lto-objects -Wodr -fPIC -MMD -MF tmp/el9_amd64_gcc12/src/L1Trigger/Phase2L1GMT/src/L1TriggerPhase2L1GMT/TrackConverter.cc.d src/L1Trigger/Phase2L1GMT/src/TrackConverter.cc -o tmp/el9_amd64_gcc12/src/L1Trigger/Phase2L1GMT/src/L1TriggerPhase2L1GMT/TrackConverter.cc.o
src/L1Trigger/Phase2L1GMT/src/L1TPhase2GMTBarrelStubProcessor.cc: In member function 'l1t::MuonStubCollection L1TPhase2GMTBarrelStubProcessor::makeStubs(const L1Phase2MuDTPhContainer*, const L1MuDTChambThContainer*)':
  src/L1Trigger/Phase2L1GMT/src/L1TPhase2GMTBarrelStubProcessor.cc:150:28: warning: unused variable 'index' [-Wunused-variable]
   150 |               unsigned int index = (station - 1) * 4 + phiDigi.index();
      |                            ^~~~~
src/L1Trigger/Phase2L1GMT/src/KMTFCore.cc: In member function 'void Phase2L1GMT::KMTFCore::propagate(l1t::KMTFTrack&)':
  src/L1Trigger/Phase2L1GMT/src/KMTFCore.cc:443:7: warning: unused variable 'deltaK' [-Wunused-variable]
   443 |   int deltaK = 0;
      |       ^~~~~~
src/L1Trigger/Phase2L1GMT/src/KMTFCore.cc: In member function 'void Phase2L1GMT::KMTFCore::calculateEta(l1t::KMTFTrack&)':
  src/L1Trigger/Phase2L1GMT/src/KMTFCore.cc:1117:8: warning: unused variable 'pattern' [-Wunused-variable]
  1117 |   uint pattern = track.hitPattern();
      |        ^~~~~~~
  src/L1Trigger/Phase2L1GMT/src/KMTFCore.cc:1119:8: warning: unused variable 'awheel' [-Wunused-variable]
  1119 |   uint awheel = fabs(wheel);
      |        ^~~~~~
src/L1Trigger/Phase2L1GMT/src/KMTFCore.cc: In member function 'int Phase2L1GMT::KMTFCore::ptLUT(int)':
  src/L1Trigger/Phase2L1GMT/src/KMTFCore.cc:1150:7: warning: unused variable 'charge' [-Wunused-variable]
  1150 |   int charge = (K >= 0) ? +1 : -1;
      |       ^~~~~~

https://cmssdt.cern.ch/SDT/cgi-bin/buildlogs/el9_amd64_gcc12/CMSSW_14_1_X_2024-07-15-2300/L1Trigger/Phase2L1GMT

These were visible also in the PR tests, e.g. in https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f13131/40267/build-logs/ . @smuzaffar Don't we report compilation warnings in the PR test summary message (#44498 (comment))?

@smuzaffar
Copy link
Contributor

@smuzaffar Don't we report compilation warnings in the PR test summary message (#44498 (comment))?

yes , bot should have reported it. I have asked @iarspider to look in to bot code

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.