File indexing completed on 2024-04-06 12:13:58
0001
0002
0003 import FWCore.ParameterSet.Config as cms
0004
0005 process = cms.Process("TEST")
0006
0007 process.load("FWCore.Framework.test.cmsExceptionsFatal_cff")
0008 process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi")
0009
0010 process.source = cms.Source("EmptySource",
0011 firstLuminosityBlock = cms.untracked.uint32(1),
0012 numberEventsInLuminosityBlock = cms.untracked.uint32(200),
0013 firstEvent = cms.untracked.uint32(1),
0014 firstRun = cms.untracked.uint32(1),
0015 numberEventsInRun = cms.untracked.uint32(1000)
0016
0017 )
0018
0019 process.generator = cms.EDFilter("Pythia8GeneratorFilter",
0020 maxEventsToPrint = cms.untracked.int32(1),
0021 pythiaPylistVerbosity = cms.untracked.int32(1),
0022 filterEfficiency = cms.untracked.double(1.0),
0023 pythiaHepMCVerbosity = cms.untracked.bool(True),
0024 comEnergy = cms.double(10000.),
0025
0026 PythiaParameters = cms.PSet(
0027 py8UESettings = cms.vstring( 'ParticleDecays:limitTau0 = on',
0028 'ParticleDecays:tau0Max = 10.',
0029 'HadronLevel:Hadronize = on',
0030 'PartonLevel:MPI = on'
0031 ),
0032 py8ProcessSettings = cms.vstring( 'WeakSingleBoson:ffbar2gmZ = on'
0033 ),
0034 py8ZDecaySettings = cms.vstring( '23:onMode = off',
0035
0036 '23:onIfAny = 15'
0037
0038 ),
0039 py8TauDecaySettings = cms.vstring('15:onMode = off',
0040 '15:onIfAny = 11',
0041 '15:onIfAny = 13'
0042 ),
0043 parameterSets = cms.vstring( 'py8UESettings',
0044 'py8ProcessSettings',
0045 'py8ZDecaySettings')
0046 )
0047 )
0048
0049
0050
0051 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0052 process.MessageLogger = cms.Service("MessageLogger",
0053 cerr = cms.untracked.PSet(
0054 enable = cms.untracked.bool(False)
0055 ),
0056 cout = cms.untracked.PSet(
0057 default = cms.untracked.PSet(
0058 limit = cms.untracked.int32(2)
0059 ),
0060 enable = cms.untracked.bool(True)
0061 )
0062 )
0063
0064 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
0065 generator = cms.PSet(
0066 initialSeed = cms.untracked.uint32(123456789),
0067 engineName = cms.untracked.string('HepJamesRandom')
0068 )
0069 )
0070
0071 process.maxEvents = cms.untracked.PSet(
0072 input = cms.untracked.int32(1000)
0073 )
0074
0075 process.GEN = cms.OutputModule("PoolOutputModule",
0076 fileName = cms.untracked.string('Py8_Z2tautau.root')
0077 )
0078
0079
0080
0081
0082
0083
0084
0085
0086
0087
0088
0089
0090
0091
0092
0093 process.p = cms.Path(process.generator)
0094 process.outpath = cms.EndPath(process.GEN)
0095
0096 process.schedule = cms.Schedule(process.p, process.outpath)
0097