Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:07:27

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("PROD")
0004 
0005 process.load("Configuration.StandardSequences.SimulationRandomNumberGeneratorSeeds_cff")
0006 
0007 process.source = cms.Source("EmptySource")
0008 
0009 process.generator = cms.EDFilter("Pythia8GeneratorFilter",
0010     maxEventsToPrint = cms.untracked.int32(1),
0011     pythiaPylistVerbosity = cms.untracked.int32(1),
0012     filterEfficiency = cms.untracked.double(1.0),
0013     pythiaHepMCVerbosity = cms.untracked.bool(False),
0014     comEnergy = cms.double(14000.),
0015     PythiaParameters = cms.PSet(
0016         pythia8_test1 = cms.vstring('WeakBosonAndParton:qqbar2gmZg = on',
0017                                         'WeakBosonAndParton:qg2gmZq = on',
0018                                         'PhaseSpace:pTHatMin = 20.',
0019                                         '23:onMode = off',
0020                                         '23:onIfAny = 11 13 15'),
0021         parameterSets = cms.vstring('pythia8_test1')
0022     )
0023 )
0024 
0025 process.MessageLogger = cms.Service("MessageLogger",
0026     cerr = cms.untracked.PSet(
0027         enable = cms.untracked.bool(False)
0028     ),
0029     cout = cms.untracked.PSet(
0030         default = cms.untracked.PSet(
0031             limit = cms.untracked.int32(0)
0032         ),
0033         enable = cms.untracked.bool(True)
0034     )
0035 )
0036 
0037 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
0038     generator = cms.PSet(
0039         initialSeed = cms.untracked.uint32(123456789),
0040     )
0041 )
0042 
0043 process.maxEvents = cms.untracked.PSet(
0044     input = cms.untracked.int32(1000)
0045 )
0046 
0047 process.GEN = cms.OutputModule("PoolOutputModule",
0048     fileName = cms.untracked.string('p8test1step1.root')
0049 )
0050 
0051 process.p = cms.Path(process.generator)
0052 process.outpath = cms.EndPath(process.GEN)
0053 
0054 process.schedule = cms.Schedule(process.p, process.outpath)
0055