-
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
Read VertexSmearing from GT in Run-1/2/3 MC #43242
Read VertexSmearing from GT in Run-1/2/3 MC #43242
Conversation
@cms-sw/pdmv-l2 please advise if I should update also some other configuration(s), I only changed Also, I noticed that here: cmssw/Configuration/PyReleaseValidation/python/upgradeWorkflowComponents.py Lines 2557 to 2563 in 95c6900
we are missing the 'BeamSpot' key, is that expected?
|
test parameters:
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-43242/37599
|
A new Pull Request was created by @francescobrivio for master. It involves the following packages:
@civanch, @miquork, @mdhildreth, @AdrianoDee, @antoniovilela, @cmsbuild, @rappoccio, @fabiocos, @sunilUIET, @srimanob, @davidlange6 can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@cmsbuild please test
|
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-567a75/35736/summary.html Comparison SummarySummary:
|
I have to admit that when I originally thought about this, I had in mind something more like the mechanism from which we fetch the geometry, in which we specify in the cmssw/Configuration/Applications/python/ConfigBuilder.py Lines 1168 to 1180 in 95c6900
such that a single GlobalTag can cater different vertex smearing scenarios. On the other hand having two different |
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.
VtxSmearedCommon
is a simple enough PSet to be used directly instead of being imported IMHO. Unfortunately we can't loose the cms type specification as neither GaussEvtVtxGenerator
nor BetafuncEvtVtxGenerator
implement fillDescription
methods.
In 1a98ef1 I:
|
I'll wait comments/feedback, especially from @cms-sw/pdmv-l2, before squashing and retesting. |
+1 |
+1 |
+Upgrade |
@cms-sw/orp-l2 this is now basically fully signed and only waiting on your signature. |
+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. |
Hi, I understand this approach is usable also for HI and I was looking at these: cmssw/Configuration/PyReleaseValidation/python/relval_steps.py Lines 38 to 43 in 8e27618
Seems to me we could also update it there to (@cms-sw/alca-l2 ) |
cms-bot internal usage |
I think so: #45346 |
PR description:
Following the inclusion of the
SimBeamSpotObject
tags in all Run-1/2/3 MC GTs in #43197, this PR aims at modifying the corresponding MC workflows to actually consume it.This has several advantages:
--beamspot
cmsdriver argument for each different campaign (MC production and relvals)Following the conservation law, of course the burden is now completely moved onto @cms-sw/alca-l2 and BeamSpot experts! 😉
Two new VtxSmearingParameters configs are defined:
IOMC.EventVertexGenerators.VtxSmearedDesign_cfi
which uses the GaussEvtVtxGeneratorIOMC.EventVertexGenerators.VtxSmearedRealistic_cfi
which uses the BetafuncEvtVtxGeneratorThe new configs are used in
Configuration/StandardSequences/python/VtxSmeared.py
by defining two new keys:DBdesign
for the MC productions in ideal conditions (GaussSmearing)DBrealistic
for the MC production in realistic conditions (BetafuncSmearing)PR validation:
Successfully tested wf
12434.0
which shows as (updated) step1 driver:Given the
SimBeamSpot
tags introduced in the GTs mimic exactly the previously used parameters, we don't expect any difference in the test comparisons.Backport:
Not a backport, but a 13_3_X backport will be provided.