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
HCAL: configurable option to use actual Run3 HF ShowerLibrary for Run2 MC #40357
HCAL: configurable option to use actual Run3 HF ShowerLibrary for Run2 MC #40357
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-40357/33451
|
A new Pull Request was created by @abdoulline (Salavat Abdullin) for master. It involves the following packages:
@perrotta, @rappoccio, @Dr15Jones, @makortel, @ianna, @mdhildreth, @cmsbuild, @bsunanda, @civanch, @fabiocos, @davidlange6 can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-16a119/29677/summary.html Comparison SummarySummary:
|
+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 be automatically merged. |
# | ||
#--- Alternative: to use Run3 library with applyHFLibraryFix modifier | ||
(applyHFLibraryFix & run2_common).toModify( HFLibraryFileBlock, FileName = 'SimG4CMS/Calo/data/HFShowerLibrary_run3_v6.root', FileVersion = 2 ) | ||
(applyHFLibraryFix & run2_common).toModify( HFShowerBlock, EqualizeTimeShift = True ) |
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.
Sorry to stir the pot after merging, but I just want to point out that in this file the impact of applyHFLibraryFix
and run3_HFSL
modifiers is the same (except applyHFLibraryFix
gets applied only if run2_common
is enabled as well, whereas run3_HFSL
acts independently).
hf2 = dict( samplingFactor = 0.37, | ||
timePhase = 8.0 | ||
) | ||
) |
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.
On the other hand, in here these customizations made with applyHFLibraryFix
are also done as part of customizations made with run3_common
modifier further below.
While this arrangement works technically, I'm concerned at some point this "duplication" would cause confusion. An alternative would be to make the necessary customizations only with run3_HFSL
modifier. In this way the fix could be enabled with cmsDriver.py
's --eras
parameter along--eras Run2_2018,run3_HFSL
. A downside is that the purpose of using run3_HFSL
in this way would be less clear without additional documentation.
Hi @makortel thanks for the comments. |
PR description:
Follow up on the issue #40218
After discussion in Simulation meeting on Friday, Dec.16
https://indico.cern.ch/event/1230771/
-> https://indico.cern.ch/event/1230771/contributions/5185071/attachments/2568386/4428907/Run2_HFShowerLibrary_SIM_Dec12_2022.pdf
The decision has been taken: to have a configurable option to use actual Run3 HFSHowerLibrary file for Run2 simulation.
@Dr15Jones and @makortel suggested to use modifier for enabling the option:
(1 ) with cmsDriver this option can be enabled with
--procModifiers applyHFLibraryFix
(2) In the job config may look (specifically for Run2_2018 era in the example below) like this:
PR validation:
(1) without option activation (default) : runTheMatrix.py -l limited
(2) with activation : using wf 10824.0_TTbar_13+2018
If this PR is a backport
No