import FWCore.ParameterSet.Config as cms from Configuration.Generator.PythiaUEZ2starSettings_cfi import * generator = cms.EDFilter("Pythia6GeneratorFilter", pythiaPylistVerbosity = cms.untracked.int32(0), filterEfficiency = cms.untracked.double(1.0), pythiaHepMCVerbosity = cms.untracked.bool(False), comEnergy = cms.double(13000.0), maxEventsToPrint = cms.untracked.int32(0), PythiaParameters = cms.PSet( pythiaUESettingsBlock, processParameters = cms.vstring('MSEL=0 ! User defined process', 'MSUB(81)=1 ! qq->QQ massive', 'MSUB(82)=1 ! gg->QQ massive', 'MSTP(7)=4 ! 4 for CC_bar', 'CKIN(3)=15. ! minimum pt hat for hard interactions', 'CKIN(4)=3000. ! maximum pt hat for hard interactions', 'MSTP(142)=2 ! Turns on the PYWEVT Pt reweighting routine'), parameterSets = cms.vstring('pythiaUESettings', 'processParameters', 'CSAParameters'), CSAParameters = cms.vstring('CSAMODE = 7 ! towards a "flat" QCD spectrum', 'PTPOWER = 4.5 ! reweighting of the pt spectrum') ) )