Skip to content

Commit

Permalink
Hadronizer fragments for Pythia8
Browse files Browse the repository at this point in the history
  • Loading branch information
vciulli committed Sep 5, 2013
1 parent f1bc1bb commit 22bb1b9
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import FWCore.ParameterSet.Config as cms

generator = cms.EDFilter("Pythia8HadronizerFilter",
maxEventsToPrint = cms.untracked.int32(1),
pythiaPylistVerbosity = cms.untracked.int32(1),
filterEfficiency = cms.untracked.double(1.0),
pythiaHepMCVerbosity = cms.untracked.bool(False),
comEnergy = cms.double(8000.),
jetMatching = cms.untracked.PSet(
scheme = cms.string("Madgraph"),
mode = cms.string("auto"),# soup, or "inclusive" / "exclusive"
MEMAIN_etaclmax = cms.double(-1),
MEMAIN_qcut = cms.double(-1),
MEMAIN_minjets = cms.int32(-1),
MEMAIN_maxjets = cms.int32(-1),
MEMAIN_showerkt = cms.double(0), # 0=MLM matching / 1=alternative matching (only for pt-ordered showers)
MEMAIN_nqmatch = cms.int32(5), #PID of the flavor until which the QCD radiation are kept in the matching procedure;
# if nqmatch=4, then all showered partons from b's are NOT taken into account
MEMAIN_excres = cms.string(""),
outTree_flag = cms.int32(0) # 1=yes, write out the tree for future sanity check
),
PythiaParameters = cms.PSet(
processParameters = cms.vstring(
'Main:timesAllowErrors = 10000',
'ParticleDecays:limitTau0 = on',
'ParticleDecays:tauMax = 10',
'Tune:ee 3',
'Tune:pp 5'),
parameterSets = cms.vstring('processParameters')
)
)
18 changes: 18 additions & 0 deletions python/EightTeV/Hadronizer_Tune4C_8TeV_generic_LHE_pythia8_cff.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import FWCore.ParameterSet.Config as cms

generator = cms.EDFilter("Pythia8HadronizerFilter",
maxEventsToPrint = cms.untracked.int32(1),
pythiaPylistVerbosity = cms.untracked.int32(1),
filterEfficiency = cms.untracked.double(1.0),
pythiaHepMCVerbosity = cms.untracked.bool(False),
comEnergy = cms.double(8000.),
PythiaParameters = cms.PSet(
processParameters = cms.vstring(
'Main:timesAllowErrors = 10000',
'ParticleDecays:limitTau0 = on',
'ParticleDecays:tauMax = 10',
'Tune:ee 3',
'Tune:pp 5'),
parameterSets = cms.vstring('processParameters')
)
)

0 comments on commit 22bb1b9

Please sign in to comment.