File indexing completed on 2024-04-06 12:13:59
0001
0002
0003
0004
0005 import FWCore.ParameterSet.Config as cms
0006
0007 process = cms.Process("PROD")
0008
0009 process.load("Configuration.StandardSequences.SimulationRandomNumberGeneratorSeeds_cff")
0010
0011 process.source = cms.Source("EmptySource")
0012
0013 process.generator = cms.EDFilter("Pythia8GeneratorFilter",
0014 maxEventsToPrint = cms.untracked.int32(1),
0015 pythiaPylistVerbosity = cms.untracked.int32(1),
0016 filterEfficiency = cms.untracked.double(1.0),
0017 pythiaHepMCVerbosity = cms.untracked.bool(False),
0018 comEnergy = cms.double(7000.),
0019 PythiaParameters = cms.PSet(
0020 pythia8_example04 = cms.vstring('LeftRightSymmmetry:ffbar2WR = on',
0021 '9900024:m0 = 1500',
0022 '9900012:m0 = 100000',
0023 '9900014:m0 = 100000',
0024 '9900016:m0 = 100000',
0025 '9900012:m0 = 600',
0026 '9900024:onMode = off',
0027 '9900024:onIfAny = 9900012 9900014 9900016' ),
0028 parameterSets = cms.vstring('pythia8_example04')
0029 )
0030 )
0031
0032 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0033 process.MessageLogger = cms.Service("MessageLogger",
0034 cerr = cms.untracked.PSet(
0035 enable = cms.untracked.bool(False)
0036 ),
0037 cout = cms.untracked.PSet(
0038 default = cms.untracked.PSet(
0039 limit = cms.untracked.int32(2)
0040 ),
0041 enable = cms.untracked.bool(True)
0042 )
0043 )
0044
0045 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
0046 generator = cms.PSet(
0047 initialSeed = cms.untracked.uint32(123456789),
0048 )
0049 )
0050
0051 process.maxEvents = cms.untracked.PSet(
0052 input = cms.untracked.int32(10)
0053 )
0054
0055 process.GEN = cms.OutputModule("PoolOutputModule",
0056 fileName = cms.untracked.string('pythia8ex4.root')
0057 )
0058
0059 process.p = cms.Path(process.generator)
0060 process.outpath = cms.EndPath(process.GEN)
0061
0062 process.schedule = cms.Schedule(process.p, process.outpath)
0063