File indexing completed on 2024-04-06 12:13:31
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("TEST")
0004
0005 process.load("FWCore.Framework.test.cmsExceptionsFatal_cff")
0006 process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi")
0007
0008 process.source = cms.Source("EmptySource")
0009
0010 process.generator = cms.EDFilter("Pythia8GeneratorFilter",
0011 maxEventsToPrint = cms.untracked.int32(3),
0012 pythiaPylistVerbosity = cms.untracked.int32(1),
0013 filterEfficiency = cms.untracked.double(1.0),
0014 pythiaHepMCVerbosity = cms.untracked.bool(True),
0015 comEnergy = cms.double(7000.),
0016
0017 ExternalDecays = cms.PSet(
0018 EvtGen1 = cms.untracked.PSet(
0019 decay_table = cms.string('GeneratorInterface/EvtGenInterface/data/DECAY_2010.DEC'),
0020 particle_property_file = cms.FileInPath('GeneratorInterface/EvtGenInterface/data/evt.pdl'),
0021
0022 user_decay_file = cms.vstring('GeneratorInterface/ExternalDecays/data/Onia_mumu.dec'),
0023 list_forced_decays = cms.vstring('MyUpsilon(2S)'),
0024 operates_on_particles = cms.vint32(0)
0025 ),
0026 parameterSets = cms.vstring('EvtGen1')
0027 ),
0028
0029 PythiaParameters = cms.PSet(
0030
0031 py8UESettings = cms.vstring( 'StringZ:usePetersonB = on',
0032 'StringZ:usePetersonC = on',
0033 'ParticleDecays:limitTau0 = on',
0034 'ParticleDecays:tau0Max = 10.',
0035
0036
0037 'SigmaProcess:alphaSorder=1',
0038 'SigmaProcess:Kfactor=1.',
0039
0040
0041
0042 'PartonLevel:MPI = off',
0043
0044
0045
0046
0047
0048
0049
0050
0051
0052 'BeamRemnants:primordialKT=on',
0053 'BeamRemnants:primordialKThard=2.1',
0054 'BeamRemnants:primordialKTremnant=15.',
0055 'SpaceShower:pTmin=1.25',
0056
0057 'SpaceShower:pTmaxFudge=2.'
0058
0059
0060 ),
0061 py8ProcessSettings = cms.vstring( 'Bottomonium:all = on'
0062
0063 ),
0064 parameterSets = cms.vstring('py8UESettings','py8ProcessSettings')
0065 )
0066 )
0067
0068
0069
0070 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0071
0072 process.MessageLogger.cerr.enableStatistics = False
0073
0074
0075 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
0076 generator = cms.PSet(
0077 initialSeed = cms.untracked.uint32(123456789),
0078 engineName = cms.untracked.string('HepJamesRandom')
0079 )
0080 )
0081
0082 process.maxEvents = cms.untracked.PSet(
0083 input = cms.untracked.int32(10)
0084 )
0085
0086 process.GEN = cms.OutputModule("PoolOutputModule",
0087 fileName = cms.untracked.string('Py8Onia_EvtGen.root')
0088 )
0089
0090 process.p = cms.Path(process.generator)
0091 process.outpath = cms.EndPath(process.GEN)
0092
0093 process.schedule = cms.Schedule(process.p, process.outpath)
0094