Skip to content

Commit

Permalink
Merge pull request #40496 from boundino/vtxsmear
Browse files Browse the repository at this point in the history
Vertex smearing for PbPb MC based on 2022 PbPb data
  • Loading branch information
cmsbuild authored Jan 14, 2023
2 parents 0eb9237 + e9ff067 commit af4b7ab
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions Configuration/StandardSequences/python/VtxSmeared.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
13 changes: 13 additions & 0 deletions IOMC/EventVertexGenerators/python/VtxSmearedParameters_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.),
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import FWCore.ParameterSet.Config as cms

from IOMC.EventVertexGenerators.VtxSmearedParameters_cfi import Realistic2022PbPbCollisionVtxSmearingParameters,VtxSmearedCommon
VtxSmeared = cms.EDProducer("BetafuncEvtVtxGenerator",
Realistic2022PbPbCollisionVtxSmearingParameters,
VtxSmearedCommon
)

0 comments on commit af4b7ab

Please sign in to comment.