Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:03:34

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.Generator.Herwig7Settings.Herwig7CH3TuneSettings_cfi import *
0004 from Configuration.Generator.Herwig7Settings.Herwig7StableParticlesForDetector_cfi import *
0005 from Configuration.Generator.Herwig7Settings.Herwig7MGMergingSettings_cfi import *
0006 
0007 
0008 generator = cms.EDFilter("Herwig7HadronizerFilter",
0009     herwig7CH3SettingsBlock,
0010     herwig7StableParticlesForDetectorBlock,
0011     herwig7MGMergingSettingsBlock,
0012     configFiles = cms.vstring(),
0013     hw_user_settings = cms.vstring(
0014         'set FxFxHandler:MergeMode FxFx',
0015         'set FxFxHandler:njetsmax 2'
0016     ),
0017     parameterSets = cms.vstring(
0018         'herwig7CH3PDF',
0019         'herwig7CH3AlphaS',
0020         'herwig7CH3MPISettings',
0021         'herwig7StableParticlesForDetector',
0022         'hw_mg_merging_settings',
0023         'hw_user_settings'
0024         ),
0025     crossSection = cms.untracked.double(-1),
0026     dataLocation = cms.string('${HERWIGPATH:-6}'),
0027     eventHandlers = cms.string('/Herwig/EventHandlers'),
0028     filterEfficiency = cms.untracked.double(1.0),
0029     generatorModule = cms.string('/Herwig/Generators/EventGenerator'),
0030     repository = cms.string('${HERWIGPATH}/HerwigDefaults.rpo'),
0031     run = cms.string('InterfaceMatchboxTest'),
0032     runModeList = cms.untracked.string("read,run"),
0033     seed = cms.untracked.int32(12345)
0034 )
0035 
0036 externalLHEProducer = cms.EDProducer("ExternalLHEProducer",
0037     args = cms.vstring('/cvmfs/cms.cern.ch/phys_generator/gridpacks/2017/13TeV/madgraph/V5_2.6.1/DYellell012j_5f_NLO_FXFX/dyellell012j_5f_NLO_FXFX_slc7_amd64_gcc700_CMSSW_10_6_4_tarball.tar.xz'),
0038     nEvents = cms.untracked.uint32(5000),
0039     numberOfParameters = cms.uint32(1),
0040     outputFile = cms.string('cmsgrid_final.lhe'),
0041     scriptName = cms.FileInPath('GeneratorInterface/LHEInterface/data/run_generic_tarball_cvmfs.sh'),
0042     generateConcurrently = cms.untracked.bool(True),
0043     postGenerationCommand = cms.untracked.vstring('mergeLHE.py', '-n', '-i', 'thread*/cmsgrid_final.lhe', '-o', 'cmsgrid_final.lhe')
0044 )
0045 
0046 
0047 ProductionFilterSequence = cms.Sequence(generator)