File indexing completed on 2024-04-06 12:13:31
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("TEST")
0004
0005 process.load("FWCore.Framework.test.cmsExceptionsFatal_cff")
0006 process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi")
0007
0008 process.source = cms.Source("EmptySource")
0009
0010 process.generator = cms.EDFilter("Pythia8GeneratorFilter",
0011 maxEventsToPrint = cms.untracked.int32(0),
0012 pythiaPylistVerbosity = cms.untracked.int32(1),
0013 filterEfficiency = cms.untracked.double(1.0),
0014 pythiaHepMCVerbosity = cms.untracked.bool(True),
0015 comEnergy = cms.double(7000.),
0016
0017 ExternalDecays = cms.PSet(
0018 Tauola = cms.untracked.PSet(
0019 UseTauolaPolarization = cms.bool(True),
0020 InputCards = cms.PSet
0021 (
0022 pjak1 = cms.int32(1),
0023 pjak2 = cms.int32(2),
0024 mdtau = cms.int32(0)
0025 )
0026 ),
0027 parameterSets = cms.vstring('Tauola')
0028 ),
0029
0030 PythiaParameters = cms.PSet(
0031 py8GeneralSettings = cms.vstring( 'Main:timesAllowErrors = 10000',
0032 'ParticleDecays:limitTau0 = on',
0033 'ParticleDecays:tauMax = 10'
0034 ),
0035 py8UESettings = cms.vstring( 'Tune:pp 2',
0036 'Tune:ee 3'
0037 ),
0038 py8SpecialSettings = cms.vstring('HadronLevel:Hadronize = off',
0039
0040
0041 'PartonLevel:ISR = off',
0042 'PartonLevel:FSR = off',
0043 'PartonLevel:MPI = off'
0044
0045
0046 'TimeShower:QEDshowerByL = off',
0047 'TimeShower:QEDshowerByQ = off',
0048 'SpaceShower:QEDshowerByL = off',
0049 'SpaceShower:QEDshowerByQ = off',
0050 'PhaseSpace:pTHatMin = 5.',
0051 'PhaseSpace:pTHatMax = 150.',
0052 'StringZ:usePetersonB = on',
0053 'StringZ:usePetersonC = on'
0054 ),
0055 py8ProcessSettings = cms.vstring(
0056
0057
0058
0059 'WeakSingleBoson:ffbar2gmZ = on'
0060 ),
0061 py8ZDecaySettings = cms.vstring(
0062
0063 '23:onMode = off',
0064
0065 '23:onIfAny = 15'
0066 ),
0067 parameterSets = cms.vstring('py8GeneralSettings',
0068 'py8UESettings',
0069 'py8ProcessSettings',
0070 'py8ZDecaySettings'
0071 )
0072 )
0073 )
0074
0075
0076
0077 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0078
0079 process.MessageLogger.cerr.enableStatistics = False
0080
0081
0082 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
0083 generator = cms.PSet(
0084 initialSeed = cms.untracked.uint32(123456789),
0085 engineName = cms.untracked.string('HepJamesRandom')
0086 )
0087 )
0088
0089 process.maxEvents = cms.untracked.PSet(
0090 input = cms.untracked.int32(20)
0091 )
0092
0093 process.GEN = cms.OutputModule("PoolOutputModule",
0094 fileName = cms.untracked.string('Py8_Z2tautau.root')
0095 )
0096
0097 process.p = cms.Path(process.generator)
0098 process.outpath = cms.EndPath(process.GEN)
0099
0100 process.schedule = cms.Schedule(process.p, process.outpath)
0101
0102