Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 # Using VINCIA plugin
0002 
0003 import FWCore.ParameterSet.Config as cms
0004 
0005 process = cms.Process("PROD")
0006 
0007 process.load("Configuration.StandardSequences.SimulationRandomNumberGeneratorSeeds_cff")
0008 
0009 process.source = cms.Source("EmptySource")
0010 
0011 process.generator = cms.EDFilter("Pythia8GeneratorFilter",
0012     maxEventsToPrint = cms.untracked.int32(1),
0013     pythiaPylistVerbosity = cms.untracked.int32(1),
0014     filterEfficiency = cms.untracked.double(1.0),
0015     pythiaHepMCVerbosity = cms.untracked.bool(False),
0016     comEnergy = cms.double(91.188),
0017     ElectronPositronInitialState = cms.PSet(),
0018     PythiaParameters = cms.PSet(
0019         pythia8_example13 = cms.vstring('WeakSingleBoson:ffbar2gmZ = on',
0020                                         '23:onMode = off',
0021                                         '23:onIfAny = 1 2 3 4 5',
0022                                         'PDF:lepton = off',
0023                                         'SpaceShower:QEDshowerByL = off',
0024                                         'HadronLevel:all = on',
0025                                         'PartonShowers:model = 2',
0026                                         'Vincia:verbose = 2'),
0027         parameterSets = cms.vstring('pythia8_example13')
0028     )
0029 )
0030 
0031 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0032 process.MessageLogger = cms.Service("MessageLogger",
0033     cerr = cms.untracked.PSet(
0034         enable = cms.untracked.bool(False)
0035     ),
0036     cout = cms.untracked.PSet(
0037         default = cms.untracked.PSet(
0038             limit = cms.untracked.int32(2)
0039         ),
0040         enable = cms.untracked.bool(True)
0041     )
0042 )
0043 
0044 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
0045     generator = cms.PSet(
0046         initialSeed = cms.untracked.uint32(123456789),
0047     )
0048 )
0049 
0050 process.maxEvents = cms.untracked.PSet(
0051     input = cms.untracked.int32(100)
0052 )
0053 
0054 process.GEN = cms.OutputModule("PoolOutputModule",
0055     fileName = cms.untracked.string('pythia8ex13.root')
0056 )
0057 
0058 process.p = cms.Path(process.generator)
0059 process.outpath = cms.EndPath(process.GEN)
0060 
0061 process.schedule = cms.Schedule(process.p, process.outpath)