Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 externalLHEProducer = cms.EDProducer("ExternalLHEProducer",
0004     args = cms.vstring('/cvmfs/cms.cern.ch/phys_generator/gridpacks/2017/13TeV/madgraph/V5_2.4.2/DYJetsToQQ_HT180toInf/v1/DYJetsToQQ_HT180toInf_slc6_amd64_gcc481_CMSSW_7_1_30_tarball.tar.xz'),
0005     nEvents = cms.untracked.uint32(5000),
0006     numberOfParameters = cms.uint32(1),
0007     outputFile = cms.string('cmsgrid_final.lhe'),
0008     scriptName = cms.FileInPath('GeneratorInterface/LHEInterface/data/run_generic_tarball_cvmfs.sh')
0009 )
0010 
0011 from Configuration.Generator.Herwig7Settings.Herwig7StableParticlesForDetector_cfi import *
0012 from Configuration.Generator.Herwig7Settings.Herwig7CH3TuneSettings_cfi import *
0013 from Configuration.Generator.Herwig7Settings.Herwig7CommonMergingSettings_cfi import *
0014 
0015 generator = cms.EDFilter("Herwig7GeneratorFilter",
0016     herwig7CommonMergingSettingsBlock,
0017     herwig7StableParticlesForDetectorBlock,
0018     herwig7CH3SettingsBlock,
0019     configFiles = cms.vstring(),
0020     crossSection = cms.untracked.double(-1),
0021     dataLocation = cms.string('${HERWIGPATH:-6}'),
0022     eventHandlers = cms.string('/Herwig/EventHandlers'),
0023     filterEfficiency = cms.untracked.double(1.0),
0024     generatorModule = cms.string('/Herwig/Generators/EventGenerator'),    
0025     hw_user_settings = cms.vstring(
0026         'cd /Herwig/EventHandlers',
0027         'set EventHandler:LuminosityFunction:Energy 13000*GeV',
0028         'cd /',
0029         'set /Herwig/Particles/h0:NominalMass 125.0',
0030         'set /Herwig/Shower/FxFxHandler:njetsmax    4',
0031         'set /Herwig/Shower/FxFxHandler:RClus 1.0',
0032         'set /Herwig/Shower/FxFxHandler:ETClus 20*GeV'
0033     ),     
0034     parameterSets = cms.vstring(
0035         'hw_common_merging_settings',
0036         'herwig7CH3PDF', 
0037         'herwig7CH3AlphaS', 
0038         'herwig7CH3MPISettings', 
0039         'herwig7StableParticlesForDetector',
0040         'hw_user_settings'
0041     ),
0042     repository = cms.string('${HERWIGPATH}/HerwigDefaults.rpo'),
0043     run = cms.string('Merging'),
0044     runModeList = cms.untracked.string('read,run'),
0045 )