File indexing completed on 2024-04-06 12:03:36
0001 import FWCore.ParameterSet.Config as cms
0002
0003 from Configuration.Generator.Pythia8CommonSettings_cfi import *
0004 from Configuration.Generator.MCTunes2017.PythiaCP5Settings_cfi import *
0005
0006 generator = cms.EDFilter("Pythia8PtExpGun",
0007
0008 maxEventsToPrint = cms.untracked.int32(1),
0009 pythiaPylistVerbosity = cms.untracked.int32(1),
0010 pythiaHepMCVerbosity = cms.untracked.bool(True),
0011
0012 PGunParameters = cms.PSet(
0013 ParticleID = cms.vint32(221),
0014 AddAntiParticle = cms.bool(False),
0015 MinPhi = cms.double(-3.14159265359),
0016 MaxPhi = cms.double(3.14159265359),
0017
0018 MinPt = cms.double(10.0),
0019
0020
0021 MaxPt = cms.double(65.0),
0022 MinEta = cms.double(-2.4),
0023 MaxEta = cms.double(2.4)
0024 ),
0025
0026 PythiaParameters = cms.PSet(
0027 pythia8CommonSettingsBlock,
0028 pythia8CP5SettingsBlock,
0029 processParameters = cms.vstring(
0030
0031
0032
0033 'SLHA:allowUserOverride = on',
0034 'RHadrons:allow = on',
0035 'RHadrons:allowDecay = on',
0036
0037 '221:mayDecay = true',
0038
0039 '221:oneChannel = 1 1.0 0 13 -13 22'
0040 ),
0041 parameterSets = cms.vstring(
0042 'pythia8CommonSettings',
0043 'pythia8CP5Settings',
0044 'processParameters',
0045 )
0046 )
0047 )