CMS 3D CMS Logo

ppsDirectProtonSimulation_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from CalibPPS.ESProducers.ctppsBeamParametersFromLHCInfoESSource_cfi import ctppsBeamParametersFromLHCInfoESSource as _esLHCinfo
3 from SimPPS.DirectSimProducer.ppsDirectProtonSimulation_cfi import ppsDirectProtonSimulation as _dirProtonSim
4 from IOMC.EventVertexGenerators.beamDivergenceVtxGenerator_cfi import beamDivergenceVtxGenerator as _vtxGen
5 
6 # vertex smearing
7 beamDivergenceVtxGenerator = _vtxGen.clone()
8 
9 # beam parameters as determined by PPS
10 ctppsBeamParametersFromLHCInfoESSource = _esLHCinfo.clone(
11  lhcInfoLabel = "",
12  # beam divergence (rad)
13  beamDivX45 = 30.e-6,
14  beamDivX56 = 30.e-6,
15  beamDivY45 = 30.e-6,
16  beamDivY56 = 30.e-6,
17  # vertex offset (cm)
18  vtxOffsetX45 = 0.,
19  vtxOffsetX56 = 0.,
20  vtxOffsetY45 = 0.,
21  vtxOffsetY56 = 0.,
22  vtxOffsetZ45 = 0.,
23  vtxOffsetZ56 = 0.,
24  # vertex sigma (cm)
25  vtxStddevX = 1.e-3,
26  vtxStddevY = 1.e-3,
27  vtxStddevZ = 5.
28 )
29 
30 # direct simulation
31 ppsDirectProtonSimulation = _dirProtonSim.clone(
32  hepMCTag = 'beamDivergenceVtxGenerator',
33  pitchStrips = 66.e-3 * 12 / 19, # effective value to reproduce real RP resolution
34  pitchPixelsHor = 50.e-3,
35  pitchPixelsVer = 80.e-3,
36  produceScoringPlaneHits = False,
37 )