import FWCore.ParameterSet.Config as cms #Link to datacards: #https://github.com/cms-sw/genproductions/tree/421fdb3d061157fb31029fee52d00676d36d893c/bin/MadGraph5_aMCatNLO/cards/production/2017/13TeV/TTTT_5f_NLO import FWCore.ParameterSet.Config as cms from Configuration.Generator.Pythia8CommonSettings_cfi import * from Configuration.Generator.MCTunes2017.PythiaCP5Settings_cfi import * from Configuration.Generator.Pythia8aMCatNLOSettings_cfi import * from Configuration.Generator.PSweightsPythia.PythiaPSweightsSettings_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, pythia8CP5SettingsBlock, pythia8aMCatNLOSettingsBlock, pythia8PSweightsSettingsBlock, processParameters = cms.vstring( 'TimeShower:nPartonsInBorn = 2', #number of coloured particles (before resonance decays) in born matrix element ), parameterSets = cms.vstring('pythia8CommonSettings', 'pythia8CP5Settings', 'pythia8aMCatNLOSettings', 'pythia8PSweightsSettings', 'processParameters' ) ) ) ProductionFilterSequence = cms.Sequence(generator)