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 process.generator = cms.EDFilter("Pythia8HadronizerFilter",
0019 maxEventsToPrint = cms.untracked.int32(1),
0020 pythiaPylistVerbosity = cms.untracked.int32(1),
0021 filterEfficiency = cms.untracked.double(1.0),
0022 pythiaHepMCVerbosity = cms.untracked.bool(False),
0023 comEnergy = cms.double(7000.),
0024 jetMatching = cms.untracked.PSet(
0025 scheme = cms.string("MadgraphFastJet"),
0026 mode = cms.string("auto"),
0027
0028
0029
0030
0031
0032
0033
0034 MEMAIN_etaclmax = cms.double(5.),
0035 MEMAIN_qcut = cms.double(30.),
0036 MEMAIN_minjets = cms.int32(-1),
0037 MEMAIN_maxjets = cms.int32(-1),
0038 MEMAIN_showerkt = cms.double(0),
0039 MEMAIN_nqmatch = cms.int32(5),
0040
0041
0042 MEMAIN_excres = cms.string(""),
0043 outTree_flag = cms.int32(1)
0044 ),
0045 PythiaParameters = cms.PSet(
0046 pythia8_mg = cms.vstring(''),
0047
0048 processParameters = cms.vstring(
0049 'Main:timesAllowErrors = 10000',
0050 'ParticleDecays:limitTau0 = on',
0051 'ParticleDecays:tauMax = 10',
0052
0053 'Tune:ee 3',
0054 'Tune:pp 5',
0055 'ParticleDecays:sophisticatedTau = 0' ),
0056 parameterSets = cms.vstring('processParameters')
0057 )
0058 )
0059
0060 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0061 process.MessageLogger = cms.Service("MessageLogger",
0062 cerr = cms.untracked.PSet(
0063 enable = cms.untracked.bool(False)
0064 ),
0065 cout = cms.untracked.PSet(
0066 default = cms.untracked.PSet(
0067 limit = cms.untracked.int32(2)
0068 ),
0069 enable = cms.untracked.bool(True)
0070 )
0071 )
0072
0073 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
0074 generator = cms.PSet(
0075 initialSeed = cms.untracked.uint32(123456789),
0076 )
0077 )
0078
0079 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(10000) )
0080
0081 process.GEN = cms.OutputModule("PoolOutputModule",
0082 fileName = cms.untracked.string('Py8Had_mgmatching.root')
0083 )
0084
0085 process.p = cms.Path(process.generator)
0086 process.outpath = cms.EndPath(process.GEN)
0087
0088
0089 process.schedule = cms.Schedule(process.p)
0090