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/powheg/V2/TT_hvq/TT_hdamp_NNPDF31_NNLO_inclusive.tgz'),
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.Herwig7LHECommonSettings_cfi import *
0012 from Configuration.Generator.Herwig7Settings.Herwig7StableParticlesForDetector_cfi import *
0013 from Configuration.Generator.Herwig7Settings.Herwig7CH3TuneSettings_cfi import *
0014 from Configuration.Generator.Herwig7Settings.Herwig7LHEPowhegSettings_cfi import *
0015 from Configuration.Generator.Herwig7Settings.Herwig7PSWeightsSettings_cfi import *
0016 
0017 
0018 generator = cms.EDFilter("Herwig7GeneratorFilter",
0019     herwig7LHECommonSettingsBlock,
0020     herwig7LHEPowhegSettingsBlock,
0021     herwig7PSWeightsSettingsBlock,
0022     herwig7StableParticlesForDetectorBlock,
0023     herwig7CH3SettingsBlock,
0024     configFiles = cms.vstring(),
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     hw_user_settings = cms.vstring(
0031         'cd /Herwig/EventHandlers',
0032         'set EventHandler:LuminosityFunction:Energy 13000*GeV',
0033         'cd /',
0034         'set /Herwig/Particles/h0:NominalMass 125.0'
0035     ),     
0036     parameterSets = cms.vstring(
0037         'hw_lhe_common_settings',
0038         'hw_lhe_Powheg_settings',
0039         'herwig7CH3PDF', 
0040         'herwig7CH3AlphaS', 
0041         'herwig7CH3MPISettings', 
0042         'herwig7StableParticlesForDetector',
0043         'hw_PSWeights_settings',
0044         'hw_user_settings'
0045     ),
0046     repository = cms.string('${HERWIGPATH}/HerwigDefaults.rpo'),
0047     run = cms.string('InterfaceMatchboxTest'),
0048     runModeList = cms.untracked.string('read,run'),
0049 )