Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-08-04 22:45:30

0001 import FWCore.ParameterSet.Config as cms
0002 from CalibPPS.ESProducers.ctppsBeamParametersFromLHCInfoESSource_cfi import ctppsBeamParametersFromLHCInfoESSource as _esLHCinfo
0003 from SimPPS.DirectSimProducer.ppsDirectProtonSimulation_cfi import ppsDirectProtonSimulation as _dirProtonSim
0004 from IOMC.EventVertexGenerators.beamDivergenceVtxGenerator_cfi import beamDivergenceVtxGenerator as _vtxGen
0005 
0006 # vertex smearing
0007 beamDivergenceVtxGenerator = _vtxGen.clone()
0008 
0009 # beam parameters as determined by PPS
0010 ctppsBeamParametersFromLHCInfoESSource = _esLHCinfo.clone(
0011     lhcInfoLabel = "",
0012     # beam divergence (rad)
0013     beamDivX45 = 30.e-6,
0014     beamDivX56 = 30.e-6,
0015     beamDivY45 = 30.e-6,
0016     beamDivY56 = 30.e-6,
0017     # vertex offset (cm)
0018     vtxOffsetX45 = 0.,
0019     vtxOffsetX56 = 0.,
0020     vtxOffsetY45 = 0.,
0021     vtxOffsetY56 = 0.,
0022     vtxOffsetZ45 = 0.,
0023     vtxOffsetZ56 = 0.,
0024     # vertex sigma (cm)
0025     vtxStddevX = 1.e-3,
0026     vtxStddevY = 1.e-3,
0027     vtxStddevZ = 5.
0028 )
0029 
0030 # direct simulation
0031 ppsDirectProtonSimulation = _dirProtonSim.clone(
0032     hepMCTag = 'beamDivergenceVtxGenerator',
0033     pitchStrips = 66.e-3 * 12 / 19,  # effective value to reproduce real RP resolution
0034     pitchPixelsHor = 50.e-3,
0035     pitchPixelsVer = 80.e-3,
0036     produceScoringPlaneHits = False,
0037 )