Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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