Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:13:59

0001 # Different initial state: electron - positron collider
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(7000.),
0017     #PPbarInitialState  = cms.PSet(),
0018     ElectronPositronInitialState  = cms.PSet(),
0019     PythiaParameters = cms.PSet(
0020         pythia8_example06 = cms.vstring('WeakSingleBoson:ffbar2gmZ = on'),
0021         parameterSets = cms.vstring('pythia8_example06')
0022     )
0023 )
0024 
0025 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0026 process.MessageLogger = cms.Service("MessageLogger",
0027     cerr = cms.untracked.PSet(
0028         enable = cms.untracked.bool(False)
0029     ),
0030     cout = cms.untracked.PSet(
0031         default = cms.untracked.PSet(
0032             limit = cms.untracked.int32(2)
0033         ),
0034         enable = cms.untracked.bool(True)
0035     )
0036 )
0037 
0038 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
0039     generator = cms.PSet(
0040         initialSeed = cms.untracked.uint32(123456789),
0041     )
0042 )
0043 
0044 process.maxEvents = cms.untracked.PSet(
0045     input = cms.untracked.int32(10)
0046 )
0047 
0048 process.GEN = cms.OutputModule("PoolOutputModule",
0049     fileName = cms.untracked.string('pythia8ex6.root')
0050 )
0051 
0052 process.p = cms.Path(process.generator)
0053 process.outpath = cms.EndPath(process.GEN)
0054 
0055 process.schedule = cms.Schedule(process.p, process.outpath)
0056