-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Improve plugins in Alignment/HIPAlignmentAlgorithm
and add unit tests
#45268
Conversation
cms-bot internal usage |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-45268/40651
|
A new Pull Request was created by @mmusich for master. It involves the following packages:
@cmsbuild, @saumyaphor4252, @consuegs, @perrotta can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
/* | ||
SECTION("No event data") { | ||
edm::test::TestProcessor tester(config); | ||
REQUIRE_NOTHROW(tester.test()); |
There was a problem hiding this comment.
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:
cmssw/Alignment/HIPAlignmentAlgorithm/test/testHIPAnalyzers.cc
Lines 57 to 58 in 0eec2cb
process.load("TrackingTools.TransientTrack.TransientTrackBuilder_cfi") | |
process.add_(cms.ESProducer("TransientTrackBuilderESProducer")) |
any help / hints are welcome.
0eec2cb
to
4957105
Compare
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-45268/40653
|
Pull request #45268 was updated. @saumyaphor4252, @perrotta, @consuegs, @cmsbuild can you please check and sign again. |
@cmsbuild, please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-1f140c/40010/summary.html Comparison SummarySummary:
|
@mmusich this PR seems good to go to me. |
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. |
+alca |
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) |
+1 |
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:
fillDesciptions
method toHIPTwoBodyDecayAnalyzer
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.