Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:52:38

0001 import FWCore.ParameterSet.Config as cms
0002 from Configuration.Generator.Pythia8CommonSettings_cfi import *
0003 from Configuration.Generator.MCTunes2017.PythiaCP5Settings_cfi import *
0004 from Configuration.Generator.Pythia8PowhegEmissionVetoSettings_cfi import *
0005 from Configuration.Generator.PSweightsPythia.PythiaPSweightsSettings_cfi import *
0006 
0007 generator = cms.EDFilter("Pythia8ConcurrentHadronizerFilter",
0008                          maxEventsToPrint = cms.untracked.int32(1),
0009                          pythiaPylistVerbosity = cms.untracked.int32(1),
0010                          filterEfficiency = cms.untracked.double(1.0),
0011                          pythiaHepMCVerbosity = cms.untracked.bool(False),
0012                          comEnergy = cms.double(13000.),
0013                          PythiaParameters = cms.PSet(
0014              pythia8CommonSettingsBlock,
0015              pythia8CP5SettingsBlock,
0016              pythia8PSweightsSettingsBlock,
0017              pythia8PowhegEmissionVetoSettingsBlock,
0018              processParameters = cms.vstring(
0019                 'POWHEG:nFinal = 2', ## Number of final state particles
0020                                      ## (BEFORE THE DECAYS) in the LHE
0021                                      ## other than emitted extra parton
0022                 'TimeShower:mMaxGamma = 1.0'
0023               ),
0024              parameterSets = cms.vstring('pythia8CommonSettings',
0025                                          'pythia8CP5Settings',
0026                                          'pythia8PSweightsSettings',
0027                                          'pythia8PowhegEmissionVetoSettings',
0028                                          'processParameters'
0029                                          )
0030              )
0031                             )
0032 ProductionFilterSequence = cms.Sequence(generator)