Skip to content

Commit

Permalink
Merge pull request #41721 from francescobrivio/alca-2023_MC_beamspot_…
Browse files Browse the repository at this point in the history
…13_0_X

[13_0_X] Add VertexSmearing scenario for 2023 MC
  • Loading branch information
cmsbuild authored May 21, 2023
2 parents 8b3917e + 1d26483 commit be67bac
Show file tree
Hide file tree
Showing 3 changed files with 39 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',
'Realistic25ns13p6TeVEOY2022Collision' : 'IOMC.EventVertexGenerators.VtxSmearedRealistic25ns13p6TeVEOY2022Collision_cfi',
'Realistic25ns13p6TeVEarly2023Collision' : 'IOMC.EventVertexGenerators.VtxSmearedRealistic25ns13p6TeVEarly2023Collision_cfi',
'Nominal2022PbPbCollision' : 'IOMC.EventVertexGenerators.VtxSmearedNominal2022PbPbCollision_cfi',
'Realistic2022PbPbCollision' : 'IOMC.EventVertexGenerators.VtxSmearedRealistic2022PbPbCollision_cfi',
}
Expand Down
31 changes: 31 additions & 0 deletions IOMC/EventVertexGenerators/python/VtxSmearedParameters_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -843,6 +843,37 @@
Z0 = cms.double(0.101756)
)

# BS parameters extracted averaging Fills 8728-8750 (2023C):
# X0 = 0.117154 [cm]
# Y0 = -0.186556 [cm]
# Z0 = -0.431777 [cm]
# sigmaZ0 = 3.599 cm [cm]
# BeamWidthX = 0.0007333 [cm]
# BeamWidthY = 0.0008046 [cm]
#
# set SigmaZ0 = 3.6 [cm]
# set BeamWidthX = BeamWidthY = 7.7 [um]
# set beta* = 30 cm
# energy = 13.6 TeV
# From LHC calculator, emittance is 3.931e-8 cm
# https://lpc.web.cern.ch/lumiCalc.html
#
# BPIX absolute position (from Runs 367094-367589):
# X = 0.0713008 cm
# Y = -0.169590 cm
# Z = -0.356785 cm
Realistic25ns13p6TeVEarly2023CollisionVtxSmearingParameters = cms.PSet(
Phi = cms.double(0.0),
BetaStar = cms.double(30.0),
Emittance = cms.double(3.931e-8),
Alpha = cms.double(0.0),
SigmaZ = cms.double(3.6),
TimeOffset = cms.double(0.0),
X0 = cms.double(0.0458532),
Y0 = cms.double(-0.016966),
Z0 = cms.double(-0.074992)
)

# Test HF offset
ShiftedCollision2015VtxSmearingParameters = cms.PSet(
Phi = cms.double(0.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 Realistic25ns13p6TeVEarly2023CollisionVtxSmearingParameters,VtxSmearedCommon
VtxSmeared = cms.EDProducer("BetafuncEvtVtxGenerator",
Realistic25ns13p6TeVEarly2023CollisionVtxSmearingParameters,
VtxSmearedCommon
)

0 comments on commit be67bac

Please sign in to comment.