text: import FWCore.ParameterSet.Config as cms
  from Configuration.Generator.Pythia8CommonSettings_cfi import *
  from Configuration.Generator.MCTunes2017.PythiaCP5Settings_cfi import *
  
  generator = cms.EDFilter("Pythia8ConcurrentGeneratorFilter",
                           pythiaHepMCVerbosity = cms.untracked.bool(False),
                           maxEventsToPrint = cms.untracked.int32(0),
                           pythiaPylistVerbosity = cms.untracked.int32(0),
                           filterEfficiency = cms.untracked.double(1.0),
                           comEnergy = cms.double(14000.0),
                           PythiaParameters = cms.PSet(
          pythia8CommonSettingsBlock,
          pythia8CP5SettingsBlock,
          processParameters = cms.vstring(
              'PromptPhoton:all = on',
              'PhaseSpace:pTHatMin = 10.',
              ),
          parameterSets = cms.vstring('pythia8CommonSettings',
                                      'pythia8CP5Settings',
                                      'processParameters',
                                      )
          )
                           )
  