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

Phase-2 L1T: Consolidation of e/g object interface #43317

Merged
merged 5 commits into from
Dec 4, 2023

Conversation

cerminar
Copy link
Contributor

@cerminar cerminar commented Nov 17, 2023

PR description:

This PR addresses several issues with the interface of TkElectron and TkEm objects and the HW objects used by the Phase2 GT emulator:

  • add ID score to both the hardware and CMSSW electron objects;
  • add interface to retrieve object in GT hw format;
  • remove Ref. to Egamma standalone objects since they are not the actual ancestors due to architectural choice in L1T hardware. The ref is replaced by an edm::Ptr to the calorimeter primitive (different in barrel and endcap).
  • further cleanup of the TkElectron interface and of data members;
  • charge is now populated for all TkElectrons;
  • change charge definition for GT electrons in accordance with new convention;
  • use non-PV-based photon isolation in hardware objects;
  • eta and phi at vertex (from the track) are now used for the TkElectron coordinates.

NOTE: backward compatibility is maintained via IO rule in the reflex dictionary.

PR validation:

Successfully tested reading files produced with previous versions of the object data formats.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-43317/37769

  • This PR adds an extra 64KB to repository

@cmsbuild
Copy link
Contributor

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

It involves the following packages:

  • DataFormats/L1TCorrelator (l1, upgrade)
  • DataFormats/L1TParticleFlow (l1, upgrade)
  • L1Trigger/Phase2L1ParticleFlow (l1, upgrade)

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

cms-bot commands are listed here

@epalencia
Copy link
Contributor

Please test

@cmsbuild
Copy link
Contributor

-1

Failed Tests: UnitTests RelVals RelVals-INPUT
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-e4d6ea/35931/summary.html
COMMIT: 8872f78
CMSSW: CMSSW_14_0_X_2023-11-17-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/43317/35931/install.sh to create a dev area with all the needed externals and cmssw changes.

The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:

You can see more details here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-e4d6ea/35931/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-e4d6ea/35931/git-merge-result

Unit Tests

I found 1 errors in the following unit tests:

---> test runtestRecoEgammaElectronIdentification had ERRORS

RelVals

----- Begin Fatal Exception 17-Nov-2023 19:23:14 CET-----------------------
An exception of category 'MVA config failure: ' occurred while
   [0] Constructing the EventProcessor
   [1] Constructing module: class=ElectronMVAValueMapProducer label='electronMVAValueMapProducer'
Exception Message:
Concerning ElectronMVAEstimatorRun2RunIIIWinter22NoIsoV1
Variable ele_hcalPFClusterIso not found in variable definition file!
----- End Fatal Exception -------------------------------------------------
----- Begin Fatal Exception 17-Nov-2023 19:23:14 CET-----------------------
An exception of category 'MVA config failure: ' occurred while
   [0] Constructing the EventProcessor
   [1] Constructing module: class=ElectronMVAValueMapProducer label='electronMVAValueMapProducer'
Exception Message:
Concerning ElectronMVAEstimatorRun2RunIIIWinter22NoIsoV1
Variable ele_hcalPFClusterIso not found in variable definition file!
----- End Fatal Exception -------------------------------------------------
----- Begin Fatal Exception 17-Nov-2023 19:23:14 CET-----------------------
An exception of category 'MVA config failure: ' occurred while
   [0] Constructing the EventProcessor
   [1] Constructing module: class=ElectronMVAValueMapProducer label='electronMVAValueMapProducer'
Exception Message:
Concerning ElectronMVAEstimatorRun2RunIIIWinter22NoIsoV1
Variable ele_hcalPFClusterIso not found in variable definition file!
----- End Fatal Exception -------------------------------------------------
Expand to see more relval errors ...

RelVals-INPUT

  • 4.64.6_MinimumBias2010A/step2_MinimumBias2010A.log
  • 136.72411136.72411_RunJetHT2016B_reminiaodUL/step2_RunJetHT2016B_reminiaodUL.log
  • 136.72412136.72412_RunJetHT2016B_reminiaodUL/step2_RunJetHT2016B_reminiaodUL.log
Expand to see more relval errors ...

@cerminar
Copy link
Contributor Author

Not sure what happens here with the tests. The workflows mentioned above are not Phase-2 ones. Also, why is #43275 added to the test setup?
Thanks

@mmusich
Copy link
Contributor

mmusich commented Nov 20, 2023

Not sure what happens here with the tests.

was a transient failure with the IB...

@mmusich
Copy link
Contributor

mmusich commented Nov 20, 2023

@cmsbuild, please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-e4d6ea/35958/summary.html
COMMIT: 8872f78
CMSSW: CMSSW_14_0_X_2023-11-20-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/43317/35958/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

<class name="l1t::TkElectron" ClassVersion="6">
<class name="l1t::TkElectron" ClassVersion="8">
<version ClassVersion="8" checksum="3565138561"/>
<version ClassVersion="7" checksum="3055953431"/>
Copy link
Contributor

Choose a reason for hiding this comment

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

What is the intermediate version used here? This should likely only bump the version up to version 7.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

f607562#diff-7e45568c4065f523b35c57d6bfe035db03f4de890578025508a74fb21343abb5

The history of commits indeed changes the format twice.

@aloeliger
Copy link
Contributor

+l1

@cerminar
Copy link
Contributor Author

cerminar commented Dec 1, 2023

Hello, this conversation looks very silent....any feedback?

@srimanob
Copy link
Contributor

srimanob commented Dec 1, 2023

@cmsbuild please test

Sorry, I just have a chance to review. Let's re-trigger the test after 2 weeks.

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 1, 2023

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-e4d6ea/36254/summary.html
COMMIT: 8872f78
CMSSW: CMSSW_14_0_X_2023-11-30-2300/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/43317/36254/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

@srimanob
Copy link
Contributor

srimanob commented Dec 2, 2023

+Upgrade

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 2, 2023

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

@srimanob
Copy link
Contributor

srimanob commented Dec 2, 2023

Note to @aloeliger @epalencia

Note relate to this PR. It should be good if you have a chance to look on static check log, and maybe consider to fix.
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-e4d6ea/36254/llvm-analysis/runStaticChecks.log

Thx.

@antoniovilela
Copy link
Contributor

+1

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.

7 participants