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 PixelCPEBase::fillDetParams() for Phase-2 IT, using new GeomDetEnumerators methods #27448
Fix PixelCPEBase::fillDetParams() for Phase-2 IT, using new GeomDetEnumerators methods #27448
Conversation
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-27448/10760
|
A new Pull Request was created by @mmusich (Marco Musich) for master. It involves the following packages: Geometry/CommonDetUnit @perrotta, @civanch, @Dr15Jones, @cvuosalo, @ianna, @mdhildreth, @cmsbuild, @slava77 can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
Laziness... |
please test |
The tests are being triggered in jenkins. |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
@mmusich |
@perrotta: please read carefully again the description. No changes are expected in the Phase2 workflows because of how those workflows are configured. |
please test workflow 138.1 |
The tests are being triggered in jenkins. |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
+1
|
+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. @davidlange6, @slava77, @smuzaffar, @fabiocos (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
…lder Geometry/TrackerGeometryBuilder: update documentation after #27448
PR description:
While trying to move the reading of the Lorentz Angle for the phase-2 Inner Tracker detector to DataBase, we noticed that when not providing the LA value for all the
DetId
s (even OuterTracker ones), theSiPixelRecHitConverter
was complaining with errors of the type:while not effectively crashing or giving bogus results.
We traced back the issue to the logic implemented in the
fillDetParams
method ofPixelCPEBase
which looks for the first not-Inner TrackerDetUnit
to determine the size of the DetUnit list to loop over.Currently the list is stopped at the first not Strip
DetUnit
via the methodGeomDetEnumerators::isTrackerStrip
.This unfortunately doesn't work in the case of the Phase-2 detector as the
GeomDetEnumerators::isTrackerStrip
takes into account only the current Strip Subdetectors.We solved this inconvenience by add new methods:
isInnerTracker
isOuterTracker
in
GeomDetEnumerators
andGeomDetType
and use them to fix the logic to hold also for Phase-2.These methods seem to be quite handy, therefore I am wondering if there is a specific reason why they were not implemented before?
The reason why the current setup is not producing these error messages is because the Lorentz Angle used in the reconstruction comes from a Fake conditions ESProducer: SiPixelFakeLorentzAngleESSource which produces a value for all the DetId list from “Skimmed Geometry” external file (so all of them).
Some more information about this can be found in this presentation at the Tracker Phase-2 simulation,modeling and performance meeting .
I profit of this PR to make two other light fixes:
PixelCPEClusterRepair::fill2DTemplIDs()
method (72cee37)MagneticField::nominalValue()
as suggested here (59ee713)PR validation:
Code proposes passes all tests of:
if this PR is a backport please specify the original PR:
This is not a backport.
cc:
@tsusa, @pmaksim1, @OzAmram, @cmantill, @emiglior