File indexing completed on 2024-04-06 12:13:59
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("PROD")
0004
0005 process.load("Configuration.StandardSequences.SimulationRandomNumberGeneratorSeeds_cff")
0006
0007
0008 process.source = cms.Source("LHESource",
0009 fileNames = cms.untracked.vstring('file:powheg-hvq.lhe')
0010 )
0011
0012
0013 process.generator = cms.EDFilter("Pythia8HadronizerFilter",
0014 maxEventsToPrint = cms.untracked.int32(1),
0015 pythiaPylistVerbosity = cms.untracked.int32(1),
0016 filterEfficiency = cms.untracked.double(1.0),
0017 pythiaHepMCVerbosity = cms.untracked.bool(False),
0018 comEnergy = cms.double(7000.),
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035
0036 emissionVeto1 = cms.untracked.PSet(),
0037 EV1_nFinal = cms.int32(2),
0038 EV1_vetoOn = cms.bool(True),
0039 EV1_maxVetoCount = cms.int32(10000),
0040 EV1_pThardMode = cms.int32(1),
0041 EV1_pTempMode = cms.int32(0),
0042 EV1_emittedMode = cms.int32(0),
0043 EV1_pTdefMode = cms.int32(1),
0044 EV1_MPIvetoOn = cms.bool(False),
0045
0046 PythiaParameters = cms.PSet(
0047 pythia8_example07 = cms.vstring('SpaceShower:pTmaxMatch = 2',
0048 'TimeShower:pTmaxMatch = 2'),
0049 parameterSets = cms.vstring('pythia8_example07')
0050 )
0051
0052 )
0053
0054
0055
0056 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0057 process.MessageLogger = cms.Service("MessageLogger",
0058 cerr = cms.untracked.PSet(
0059 enable = cms.untracked.bool(False)
0060 ),
0061 cout = cms.untracked.PSet(
0062 default = cms.untracked.PSet(
0063 limit = cms.untracked.int32(2)
0064 ),
0065 enable = cms.untracked.bool(True)
0066 )
0067 )
0068
0069 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
0070 generator = cms.PSet(
0071 initialSeed = cms.untracked.uint32(123456789),
0072 )
0073 )
0074
0075 process.maxEvents = cms.untracked.PSet(
0076 input = cms.untracked.int32(100)
0077 )
0078
0079 process.GEN = cms.OutputModule("PoolOutputModule",
0080 fileName = cms.untracked.string('pythia8ex7.root')
0081 )
0082
0083 process.p = cms.Path(process.generator)
0084 process.outpath = cms.EndPath(process.GEN)
0085
0086 process.schedule = cms.Schedule(process.p, process.outpath)