File indexing completed on 2024-04-06 12:13:59
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("Gen")
0004
0005 process.load("Configuration.StandardSequences.SimulationRandomNumberGeneratorSeeds_cff")
0006
0007 process.source = cms.Source("LHESource",
0008 fileNames = cms.untracked.vstring('file:../../Pythia6Interface/test/ttbar_5flavours_xqcut20_10TeV.lhe')
0009
0010
0011
0012
0013
0014 )
0015
0016
0017
0018
0019 process.generator = cms.EDFilter("Pythia8HadronizerFilter",
0020 maxEventsToPrint = cms.untracked.int32(1),
0021 pythiaPylistVerbosity = cms.untracked.int32(1),
0022 filterEfficiency = cms.untracked.double(1.0),
0023 pythiaHepMCVerbosity = cms.untracked.bool(False),
0024 comEnergy = cms.double(7000.),
0025 jetMatching = cms.untracked.PSet(
0026 scheme = cms.string("Madgraph"),
0027 mode = cms.string("auto"),
0028
0029
0030
0031
0032
0033
0034
0035 MEMAIN_etaclmax = cms.double(5.),
0036 MEMAIN_qcut = cms.double(30.),
0037 MEMAIN_minjets = cms.int32(-1),
0038 MEMAIN_maxjets = cms.int32(-1),
0039 MEMAIN_showerkt = cms.double(0),
0040 MEMAIN_nqmatch = cms.int32(5),
0041
0042
0043 MEMAIN_excres = cms.string(""),
0044 outTree_flag = cms.int32(0)
0045 ),
0046 PythiaParameters = cms.PSet(
0047 pythia8_mg = cms.vstring(''),
0048
0049 processParameters = cms.vstring(
0050 'Main:timesAllowErrors = 10000',
0051 'ParticleDecays:limitTau0 = on',
0052 'ParticleDecays:tauMax = 10',
0053
0054 'Tune:ee 3',
0055 'Tune:pp 5',
0056 'ParticleDecays:sophisticatedTau = 0' ),
0057 parameterSets = cms.vstring('processParameters')
0058 )
0059 )
0060
0061 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0062 process.MessageLogger = cms.Service("MessageLogger",
0063 cerr = cms.untracked.PSet(
0064 enable = cms.untracked.bool(False)
0065 ),
0066 cout = cms.untracked.PSet(
0067 default = cms.untracked.PSet(
0068 limit = cms.untracked.int32(2)
0069 ),
0070 enable = cms.untracked.bool(True)
0071 )
0072 )
0073
0074 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
0075 generator = cms.PSet(
0076 initialSeed = cms.untracked.uint32(123456789),
0077 )
0078 )
0079
0080 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1000) )
0081
0082 process.GEN = cms.OutputModule("PoolOutputModule",
0083 fileName = cms.untracked.string('Py8Had_mgmatching.root')
0084 )
0085
0086 process.p = cms.Path(process.generator)
0087 process.outpath = cms.EndPath(process.GEN)
0088
0089
0090 process.schedule = cms.Schedule(process.p)
0091