Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:13:55

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TEST")
0004 process.load("FWCore.Framework.test.cmsExceptionsFatal_cff")
0005 process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi")
0006 #process.load("SimGeneral.HepPDTESSource.pdt_cfi")
0007 
0008 
0009 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
0010     generator = cms.PSet(
0011         initialSeed = cms.untracked.uint32(123456789),
0012         engineName = cms.untracked.string('HepJamesRandom')
0013     )
0014 )
0015 
0016 
0017 # The following three lines reduce the clutter of repeated printouts
0018 # of the same exception message.
0019 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0020 
0021 
0022 
0023 
0024 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(1))
0025 
0026 process.source = cms.Source("EmptySource")
0027 
0028 from Configuration.Generator.PythiaUESettings_cfi import *
0029 
0030 process.generator = cms.EDFilter("Pythia6GeneratorFilter",
0031     pythiaHepMCVerbosity = cms.untracked.bool(True),
0032     maxEventsToPrint = cms.untracked.int32(2),
0033     pythiaPylistVerbosity = cms.untracked.int32(1),
0034     comEnergy = cms.double(10000.0),
0035     PythiaParameters = cms.PSet(
0036         pythiaUESettingsBlock,
0037         processParameters = cms.vstring(
0038         'MSEL=39                  ! All SUSY processes ',
0039         'IMSS(1) = 11             ! Spectrum from external SLHA file',
0040         'IMSS(21) = 33            ! LUN number for SLHA File (must be 33) ',
0041         'IMSS(22) = 33            ! Read-in SLHA decay table '),
0042         SLHAParameters = cms.vstring(
0043        'SLHAFILE = Configuration/Generator/data/CSA07SUSYBSM_LM9p_sftsdkpyt_slha.out'),
0044         parameterSets = cms.vstring('pythiaUESettings', 
0045             'processParameters','SLHAParameters')
0046     )
0047 )
0048 
0049 process.GEN = cms.OutputModule("PoolOutputModule",
0050     fileName = cms.untracked.string('TestHZZ4tau.root')
0051 )
0052 
0053 process.p = cms.Path(process.generator)
0054 process.outpath = cms.EndPath(process.GEN)
0055 
0056 process.schedule = cms.Schedule(process.p, process.outpath)