import FWCore.ParameterSet.Config as cms from Configuration.Generator.Pythia8CommonSettings_cfi import * from Configuration.Generator.Pythia8PowhegEmissionVetoSettings_cfi import * generator = cms.EDFilter("Pythia8HadronizerFilter", maxEventsToPrint = cms.untracked.int32(1), pythiaPylistVerbosity = cms.untracked.int32(1), filterEfficiency = cms.untracked.double(1.0), pythiaHepMCVerbosity = cms.untracked.bool(False), comEnergy = cms.double(13000.), PythiaParameters = cms.PSet( pythia8CommonSettingsBlock, pythia8PowhegEmissionVetoSettingsBlock, pythia8CUETP8M1UpVariationSettings = cms.vstring( 'Tune:pp 14', 'Tune:ee 7', 'MultipartonInteractions:pT0Ref=1.8238e+00', 'MultipartonInteractions:ecmPow=2.5208e-01', 'MultipartonInteractions:expPow=3.230749e+00', 'ColourReconnection:range=7.600778e+00', ), processParameters = cms.vstring( 'POWHEG:nFinal = 2', ## Number of final state particles ## (BEFORE THE DECAYS) in the LHE ## other than emitted extra parton ), parameterSets = cms.vstring('pythia8CommonSettings', 'pythia8CUETP8M1UpVariationSettings', 'pythia8PowhegEmissionVetoSettings', 'processParameters' ) ) ) ProductionFilterSequence = cms.Sequence(generator) #https://github.com/cms-sw/genproductions/blob/f7132f542361522467a058f90719d1980699bbd7/bin/Powheg/production/WWTo2L2Nu_NNPDF30_13TeV/WWTo2L2Nu_NNPDF30_13TeV.input