00001 import FWCore.ParameterSet.Config as cms 00002 00003 from Configuration.Generator.PythiaUESettings_cfi import * 00004 source = cms.Source("PythiaSource", 00005 pythiaHepMCVerbosity = cms.untracked.bool(False), 00006 pythiaPylistVerbosity = cms.untracked.int32(0), 00007 comEnergy = cms.untracked.double(10000.0), 00008 filterEfficiency = cms.untracked.double(1.0), 00009 maxEventsToPrint = cms.untracked.int32(0), 00010 PythiaParameters = cms.PSet( 00011 pythiaUESettingsBlock, 00012 processParameters = cms.vstring( 00013 'MSEL=1 ! QCD hight pT processes', 00014 'CKIN(3)=15. ! minimum pt hat for hard interactions', 00015 'CKIN(4)=3000. ! maximum pt hat for hard interactions', 00016 'MSTP(142)=2 ! Turns on the PYWEVT Pt reweighting routine' 00017 ), 00018 CSAParameters = cms.vstring( 00019 'CSAMODE = 7 ! towards a "flat" QCD spectrum', 00020 'PTPOWER = 4.5 ! reweighting of the pt spectrum' 00021 ), 00022 parameterSets = cms.vstring( 00023 'pythiaUESettings', 00024 'processParameters', 00025 'CSAParameters' 00026 ) 00027 ) 00028 )