-
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
Run3-gex115 Tune CaloGeometryBuilder for changing configuration #36814
Conversation
@cmsbuild Please test |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36814/27970
|
A new Pull Request was created by @bsunanda (Sunanda Banerjee) for master. It involves the following packages:
@civanch, @Dr15Jones, @makortel, @cvuosalo, @ianna, @mdhildreth can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-fc9967/22030/summary.html Comparison SummarySummary:
|
+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, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
This PR fixes part of issue #36806. |
Hi @bsunanda please submit a backport to 12_2_X as well, thanks! |
from Configuration.Eras.Modifier_phase2_common_cff import phase2_common | ||
phase2_common.toModify(CaloGeometryBuilder, | ||
SelectedCalos = ['HCAL', 'ZDC', 'EcalBarrel', 'TOWER', 'HGCalEESensitive', 'HGCalHESiliconSensitive', 'HGCalHEScintillatorSensitive'] | ||
) |
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.
I'm not sure I understand the change related to Phase-2. Could you please clarify?
The CaloGeometryPhaseII_cff.py
calls CaloGeometryBuilderPhaseII_cfi
where the change is applied. However, this PR also introduce Phase-2 modifier which seems to do the same. But who will call this? Or should we change the way to call, e.g. call CaloGeometryBuilder_cfi.py
directly, so that we can remove CaloGeometryPhaseII_cff.py
?
I assume no change is expected for Run-3 as CASTOR is not there. What is the effect of the change on Phase-2 when HGCAL is added to the configuration? |
Castor is not in Run3 nor in PhaseII. This PR protects against accessing geometry from DB. Phase2 geometries at this moment do not use any of CaloGeometryBuilder..._cfi.py. They are corrected in view of using them in the future. |
@bsunanda let me check if I understood correctly your answer to the question of @srimanob : are you meaning that the configurations collected in CaloGeometryPhaseII_cff.py are at the moment just listed there, and kept sincronized, because at some point that file will be linked directly for Phase2, instead of using the modifiers? |
type bugfix
|
@bsunanda could you maybe include in the title of the PR that what it does is to remove Castor from Run3? Thanks |
Run3-gex115A Tune CaloGeometryBuilder for changing CMS configuration - backport #36814
+1
|
PR description:
Tune CaloGeometryBuilder for changing configuration
PR validation:
Use runTheMatrix test workflows
if this PR is a backport please specify the original PR and why you need to backport that PR:
Nothing special