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

Improve plugins in Alignment/HIPAlignmentAlgorithm and add unit tests #45268

Merged
merged 5 commits into from
Jun 24, 2024

Conversation

mmusich
Copy link
Contributor

@mmusich mmusich commented Jun 19, 2024

PR description:

The main goal of this PR is refresh the class LhcTrackAnalyzer.cc to add more branches relevant to study track quantities.
In addition:

  • added a fillDesciptions method to HIPTwoBodyDecayAnalyzer
  • cleaned up unused methods
  • added catch2-based unit tests to test these analyzers.

PR validation:

scram b runtests_testHIPAnalyzers runs fine.

If this PR is a backport please specify the original PR and why you need to backport that PR. If this PR will be backported please specify to which release cycle the backport is meant for:

Not a backport, might be backported to CMSSW_14_0_X for data-taking purposes.

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 19, 2024

cms-bot internal usage

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-45268/40651

  • This PR adds an extra 24KB to repository

@cmsbuild
Copy link
Contributor

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

It involves the following packages:

  • Alignment/HIPAlignmentAlgorithm (alca)

@cmsbuild, @saumyaphor4252, @consuegs, @perrotta can you please review it and eventually sign? Thanks.
@mmusich, @yuanchao, @adewit, @tocheng, @rsreds 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

/*
SECTION("No event data") {
edm::test::TestProcessor tester(config);
REQUIRE_NOTHROW(tester.test());
Copy link
Contributor Author

Choose a reason for hiding this comment

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

alas this fails with :

----- Begin Fatal Exception 19-Jun-2024 13:45:55 CEST-----------------------
An exception of category 'NoRecord' occurred while
   [0] Processing  Event run: 1 lumi: 1 event: 1 stream: 0
   [1] Running path '_test_endpath'
   [2] Calling method for module HIPTwoBodyDecayAnalyzer/'trackAnalyzer'
Exception Message:
No "TransientTrackRecord" record found in the EventSetup.

 The Record is delivered by an ESSource or ESProducer but there is no valid IOV for the synchronization value.
 Please check
   a) if the synchronization value is reasonable and report to the hypernews if it is not.
   b) else check that all ESSources have been properly configured.
----- End Fatal Exception -------------------------------------------------

Despite I explicitly add the ESProducer in the catch2 configuration:

process.load("TrackingTools.TransientTrack.TransientTrackBuilder_cfi")
process.add_(cms.ESProducer("TransientTrackBuilderESProducer"))

any help / hints are welcome.

@mmusich mmusich force-pushed the mm_upgradeLhcTrackAnalyzer_14_1_X branch from 0eec2cb to 4957105 Compare June 19, 2024 12:20
@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-45268/40653

  • This PR adds an extra 24KB to repository

@cmsbuild
Copy link
Contributor

Pull request #45268 was updated. @saumyaphor4252, @perrotta, @consuegs, @cmsbuild can you please check and sign again.

@mmusich
Copy link
Contributor Author

mmusich commented Jun 21, 2024

@cmsbuild, please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-1f140c/40010/summary.html
COMMIT: 4957105
CMSSW: CMSSW_14_1_X_2024-06-20-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/45268/40010/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • You potentially added 2 lines to the logs
  • Reco comparison results: 11 differences found in the comparisons
  • DQMHistoTests: Total files compared: 48
  • DQMHistoTests: Total histograms compared: 3345018
  • DQMHistoTests: Total failures: 6
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3344992
  • 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

@perrotta
Copy link
Contributor

@mmusich this PR seems good to go to me.
Should I sign it for AlCa, or would you prefer waiting for the resolution of #45268 (comment) before proceeding?

@mmusich
Copy link
Contributor Author

mmusich commented Jun 21, 2024

Should I sign it for AlCa, or would you prefer waiting for the resolution of #45268 (comment) before proceeding?

I guess it can be signed as it is, though I would be happy to implement improvements if anyone has comments on that. We can also come back to this later.

@perrotta
Copy link
Contributor

+alca

@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)

@antoniovilela
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit d9bbace into cms-sw:master Jun 24, 2024
11 checks passed
@mmusich mmusich deleted the mm_upgradeLhcTrackAnalyzer_14_1_X branch June 24, 2024 11: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