diff --git a/Configuration/PyReleaseValidation/python/relval_steps.py b/Configuration/PyReleaseValidation/python/relval_steps.py index fc2a04bf72cf8..3c6bd56721c47 100644 --- a/Configuration/PyReleaseValidation/python/relval_steps.py +++ b/Configuration/PyReleaseValidation/python/relval_steps.py @@ -3356,6 +3356,15 @@ def gen2021HiMix(fragment,howMuch): '--geometry' : geom } + upgradeStepDict['GenSimHLBeamSpotHGCALCloseBy'][k]= {'-s' : 'GEN,SIM', + '-n' : 10, + '--conditions' : gt, + '--beamspot' : 'HGCALCloseBy', + '--datatier' : 'GEN-SIM', + '--eventcontent': 'FEVTDEBUG', + '--geometry' : geom + } + upgradeStepDict['Digi'][k] = {'-s':'DIGI:pdigi_valid,L1,DIGI2RAW,HLT:%s'%(hltversion), '--conditions':gt, '--datatier':'GEN-SIM-DIGI-RAW', diff --git a/Configuration/PyReleaseValidation/python/relval_upgrade.py b/Configuration/PyReleaseValidation/python/relval_upgrade.py index d25ad0787661b..574bb2cff83a9 100644 --- a/Configuration/PyReleaseValidation/python/relval_upgrade.py +++ b/Configuration/PyReleaseValidation/python/relval_upgrade.py @@ -31,8 +31,11 @@ def makeStepName(key,frag,step,suffix): for step in upgradeProperties[year][key]['ScenToRun']: stepMaker = makeStepName if 'Sim' in step: - if 'HLBeamSpot' in step and '14TeV' in frag: - step = 'GenSimHLBeamSpot14' + if 'HLBeamSpot' in step: + if '14TeV' in frag: + step = 'GenSimHLBeamSpot14' + if 'CloseByParticle' in frag or 'CE_E' in frag or 'CE_H' in frag: + step = 'GenSimHLBeamSpotHGCALCloseBy' stepMaker = makeStepNameSim if 'HARVEST' in step: hasHarvest = True diff --git a/Configuration/PyReleaseValidation/python/upgradeWorkflowComponents.py b/Configuration/PyReleaseValidation/python/upgradeWorkflowComponents.py index a77ed03c611c7..bd2a20d5e2471 100644 --- a/Configuration/PyReleaseValidation/python/upgradeWorkflowComponents.py +++ b/Configuration/PyReleaseValidation/python/upgradeWorkflowComponents.py @@ -159,6 +159,7 @@ def condition(self, fragment, stepList, key, hasHarvest): 'GenSim', 'GenSimHLBeamSpot', 'GenSimHLBeamSpot14', + 'GenSimHLBeamSpotHGCALCloseBy', 'Digi', 'DigiTrigger', 'RecoLocal', diff --git a/Configuration/StandardSequences/python/VtxSmeared.py b/Configuration/StandardSequences/python/VtxSmeared.py index a5d1677bfb55e..7e1747948cf79 100644 --- a/Configuration/StandardSequences/python/VtxSmeared.py +++ b/Configuration/StandardSequences/python/VtxSmeared.py @@ -37,6 +37,7 @@ 'RealisticPbPBoost5TeV2016Collision': 'GeneratorInterface.HiGenCommon.VtxSmearedPbP5TeVBoost_cff', 'RealisticPPbBoost8TeV2016Collision': 'GeneratorInterface.HiGenCommon.VtxSmearedPPb8TeVBoost_cff', 'RealisticPbPBoost8TeV2016Collision': 'GeneratorInterface.HiGenCommon.VtxSmearedPbP8TeVBoost_cff', + 'HGCALCloseBy' : 'IOMC.EventVertexGenerators.VtxSmearedHGCALCloseBy_cfi', 'HLLHC' : 'IOMC.EventVertexGenerators.VtxSmearedHLLHC_cfi', 'HLLHC14TeV' : 'IOMC.EventVertexGenerators.VtxSmearedHLLHC14TeV_cfi', 'HLLHC_CK' : 'IOMC.EventVertexGenerators.VtxSmearedHLLHCCrabKissing_cfi', diff --git a/IOMC/EventVertexGenerators/python/VtxSmearedHGCALCloseBy_cfi.py b/IOMC/EventVertexGenerators/python/VtxSmearedHGCALCloseBy_cfi.py new file mode 100644 index 0000000000000..a4029b1877f96 --- /dev/null +++ b/IOMC/EventVertexGenerators/python/VtxSmearedHGCALCloseBy_cfi.py @@ -0,0 +1,10 @@ +import FWCore.ParameterSet.Config as cms + +from IOMC.EventVertexGenerators.VtxSmearedParameters_cfi import * +VtxSmeared = cms.EDProducer("GaussEvtVtxGenerator", + GaussVtxSmearingParameters, + VtxSmearedCommon +) +VtxSmeared.SigmaX = cms.double(0) +VtxSmeared.SigmaY = cms.double(0) +VtxSmeared.SigmaZ = cms.double(0)