File indexing completed on 2023-03-17 11:04:36
0001
0002 import FWCore.ParameterSet.Config as cms
0003
0004
0005
0006
0007 process = cms.Process("TEST")
0008 process.load("FWCore.Framework.test.cmsExceptionsFatal_cff")
0009
0010 process.load("Configuration.StandardSequences.Services_cff")
0011
0012 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
0013 generator = cms.PSet(initialSeed = cms.untracked.uint32(123456789),
0014 engineName = cms.untracked.string('HepJamesRandom') ))
0015
0016
0017
0018 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0019
0020
0021
0022
0023
0024
0025 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(10))
0026
0027 process.source = cms.Source("LHESource",
0028 fileNames = cms.untracked.vstring('file:')
0029 )
0030
0031 import FWCore.ParameterSet.Config as cms
0032
0033 process.generator = cms.EDFilter("Pythia8HadronizerFilter",
0034 maxEventsToPrint = cms.untracked.int32(0),
0035 pythiaPylistVerbosity = cms.untracked.int32(2),
0036 filterEfficiency = cms.untracked.double(1.0),
0037 pythiaHepMCVerbosity = cms.untracked.bool(True),
0038 comEnergy = cms.double(13000.),
0039 PythiaParameters = cms.PSet(
0040 processParameters = cms.vstring(
0041 'Main:timesAllowErrors = 10000',
0042 'ParticleDecays:limitTau0 = on',
0043 'ParticleDecays:tauMax = 10',
0044 'Tune:ee 3',
0045 'Tune:pp 5'
0046 ),
0047 parameterSets = cms.vstring('processParameters')
0048 )
0049 )
0050
0051 process.selection = cms.EDFilter("ComphepSingletopFilterPy8",
0052 pTSep = cms.double(99999999),
0053 )
0054
0055
0056 process.GEN = cms.OutputModule("PoolOutputModule",
0057 fileName = cms.untracked.string('matching_comphep_singletop.root'),
0058 SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('p')),
0059
0060 )
0061
0062 process.p = cms.Path(process.generator * process.selection)
0063 process.outpath = cms.EndPath(process.GEN)
0064
0065 process.schedule = cms.Schedule(process.p, process.outpath)