Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 09:38:25

0001 # Copied from https://github.com/cms-sw/genproductions for RelVal June 5, 2014
0002 import FWCore.ParameterSet.Config as cms
0003 
0004 from Configuration.Generator.Pythia8CommonSettings_cfi import *
0005 from Configuration.Generator.Pythia8CUEP8M1Settings_cfi import *
0006 
0007 generator = cms.EDFilter("Pythia8HadronizerFilter",
0008                          ExternalDecays = cms.PSet(
0009     EvtGen = cms.untracked.PSet(
0010     use_default_decay = cms.untracked.bool(True),
0011     decay_table = cms.FileInPath('GeneratorInterface/ExternalDecays/data/DECAY_NOLONGLIFE.DEC'),
0012     particle_property_file = cms.FileInPath('GeneratorInterface/ExternalDecays/data/evt.pdl'),
0013     user_decay_file = cms.FileInPath('GeneratorInterface/ExternalDecays/data/Validation.dec'),
0014     list_forced_decays = cms.vstring(),
0015     operates_on_particles = cms.vint32(0)
0016     ),
0017     parameterSets = cms.vstring('EvtGen')
0018     ),
0019                          UseExternalGenerators = cms.untracked.bool(True),
0020                          maxEventsToPrint = cms.untracked.int32(1),
0021                          pythiaPylistVerbosity = cms.untracked.int32(1),
0022                          filterEfficiency = cms.untracked.double(1.0),
0023                          pythiaHepMCVerbosity = cms.untracked.bool(False),
0024                          comEnergy = cms.double(13000.),
0025                          jetMatching = cms.untracked.PSet(
0026     scheme = cms.string("Madgraph"),
0027     mode = cms.string("auto"),# soup, or "inclusive" / "exclusive"
0028     MEMAIN_etaclmax = cms.double(-1),
0029     MEMAIN_qcut = cms.double(-1),
0030     MEMAIN_minjets = cms.int32(-1),
0031     MEMAIN_maxjets = cms.int32(-1),
0032     MEMAIN_showerkt = cms.double(0), # use 1=yes only for pt-ordered showers !
0033     MEMAIN_nqmatch = cms.int32(5), #PID of the flavor until which the QCD radiation are kept in the matching procedure;
0034     # if nqmatch=4, then all showered partons from b's are NOT taken into account
0035     # Note (JY): I think the default should be 5 (b); anyway, don't try -1 as it'll result in a throw...
0036     MEMAIN_excres = cms.string(""),
0037     outTree_flag = cms.int32(0) # 1=yes, write out the tree for future sanity check
0038     ),
0039                          PythiaParameters = cms.PSet(
0040         pythia8CommonSettingsBlock,
0041         pythia8CUEP8M1SettingsBlock,
0042         parameterSets = cms.vstring('pythia8CommonSettings',
0043                                     'pythia8CUEP8M1Settings',
0044                                     )
0045         )
0046                          )
0047 
0048 ProductionFilterSequence = cms.Sequence(generator)