From e9ff067cf704684cf4e163dc17441d190846629a Mon Sep 17 00:00:00 2001 From: boundino Date: Thu, 12 Jan 2023 17:59:22 +0100 Subject: [PATCH] add vertex smearing key: Realistic2022PbPbCollision --- .../StandardSequences/python/VtxSmeared.py | 1 + .../python/VtxSmearedParameters_cfi.py | 13 +++++++++++++ .../VtxSmearedRealistic2022PbPbCollision_cfi.py | 7 +++++++ 3 files changed, 21 insertions(+) create mode 100644 IOMC/EventVertexGenerators/python/VtxSmearedRealistic2022PbPbCollision_cfi.py diff --git a/Configuration/StandardSequences/python/VtxSmeared.py b/Configuration/StandardSequences/python/VtxSmeared.py index b2354d564ac48..8b40cb43f17a9 100644 --- a/Configuration/StandardSequences/python/VtxSmeared.py +++ b/Configuration/StandardSequences/python/VtxSmeared.py @@ -68,6 +68,7 @@ 'Realistic25ns900GeV2021Collision' : 'IOMC.EventVertexGenerators.VtxSmearedRealistic25ns900GeV2021Collision_cfi', 'Realistic25ns13p6TeVEarly2022Collision' : 'IOMC.EventVertexGenerators.VtxSmearedRealistic25ns13p6TeVEarly2022Collision_cfi', 'Nominal2022PbPbCollision' : 'IOMC.EventVertexGenerators.VtxSmearedNominal2022PbPbCollision_cfi', + 'Realistic2022PbPbCollision' : 'IOMC.EventVertexGenerators.VtxSmearedRealistic2022PbPbCollision_cfi', } VtxSmearedDefaultKey='Realistic50ns13TeVCollision' VtxSmearedHIDefaultKey='RealisticPbPbCollision2018' diff --git a/IOMC/EventVertexGenerators/python/VtxSmearedParameters_cfi.py b/IOMC/EventVertexGenerators/python/VtxSmearedParameters_cfi.py index 4a8da925b1c98..ec8807ac99803 100644 --- a/IOMC/EventVertexGenerators/python/VtxSmearedParameters_cfi.py +++ b/IOMC/EventVertexGenerators/python/VtxSmearedParameters_cfi.py @@ -983,6 +983,19 @@ Z0 = cms.double(1.298155) ) +# From 2022 PbPb test data 362294 +Realistic2022PbPbCollisionVtxSmearingParameters = cms.PSet( + Phi = cms.double(0.0), + BetaStar = cms.double(50), + Emittance = cms.double(3.36e-08), + Alpha = cms.double(0.0), + SigmaZ = cms.double(5.01265), + TimeOffset = cms.double(0.0), + X0 = cms.double(0.1017599), + Y0 = cms.double(-0.015602), + Z0 = cms.double(0.131175) +) + # Parameters for HL-LHC operation at 13TeV HLLHCVtxSmearingParameters = cms.PSet( MeanXIncm = cms.double(0.), diff --git a/IOMC/EventVertexGenerators/python/VtxSmearedRealistic2022PbPbCollision_cfi.py b/IOMC/EventVertexGenerators/python/VtxSmearedRealistic2022PbPbCollision_cfi.py new file mode 100644 index 0000000000000..4087a9d36f263 --- /dev/null +++ b/IOMC/EventVertexGenerators/python/VtxSmearedRealistic2022PbPbCollision_cfi.py @@ -0,0 +1,7 @@ +import FWCore.ParameterSet.Config as cms + +from IOMC.EventVertexGenerators.VtxSmearedParameters_cfi import Realistic2022PbPbCollisionVtxSmearingParameters,VtxSmearedCommon +VtxSmeared = cms.EDProducer("BetafuncEvtVtxGenerator", + Realistic2022PbPbCollisionVtxSmearingParameters, + VtxSmearedCommon +)