-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Fix the mismatch in transition ID for idealGeo #39264
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-39264/31908
|
A new Pull Request was created by @michael-pitt (Michael Pitt) for master. It involves the following packages:
@civanch, @Dr15Jones, @makortel, @ianna, @mdhildreth, @cmsbuild, @bsunanda can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
Since this bug fix is important for PPS alignment data, I would suggest to backport it to 12_4 and 12_5 if still possible. |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-d944e6/27240/summary.html Comparison SummarySummary:
|
@michael-pitt , in this PR extra tokens are added: edm::ESGetToken<DetGeomDesc, IdealGeometryRecord> idealGDToken2_; one can suspect that they cannot be used simultaneously - in the class initialisation there is a choice of one or another. After that the code become complicate, not clear what is initialized what is not. |
Hi @civanch the extra tokens were added to fix the error. The code was using 3 tokens:
and the error occur when CTPPSGeometryESModule::produceGD consumes
to avoid mismatch. btw, in the older version of the code (CMSSW_11_1_X/.../CTPPSGeometryESModule.cc use Tokens, which were initialized with the function. I tried to do the same, but somehow hit multiple errors. |
@bsunanda , what do you think? Can we accept this fix? |
The replication of tokens is correct. Taking cmssw/Geometry/VeryForwardGeometryBuilder/plugins/CTPPSGeometryESModule.cc Lines 123 to 124 in 6364eea
and can not be used in any other produce function. The use in CTPPSGeometryESModule::produceMisalignedGD() needs a separate token object.
|
+1 |
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. @perrotta, @dpiparo, @rappoccio (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
This RP fixes an error caused by loading misaligned geometry record together with the aligned geometry record and hit the transitionID error:
This is happens if a user set buildMisalignedGeometry=True in CTPPSGeometryESModule.cc
PR validation:
where the
cfg.py
is the following: