From bddfd6053fc26c001c10d973d9525a1aa981aa30 Mon Sep 17 00:00:00 2001 From: Julia Yarba Date: Thu, 12 Nov 2009 16:45:02 +0000 Subject: [PATCH] --- yaml --- r: 77787 b: "refs/heads/CMSSW_7_1_X" c: b69f3716c6673c1fa6cdf7706eb5ca26ef93977f h: "refs/heads/CMSSW_7_1_X" i: 77785: 907e52e1e677a6c4896fe2d6cc08a786202cad53 77783: a1e4f938c5d0904860828427853d9f33cc40f297 v: v3 --- [refs] | 2 +- .../Generator/python/Pythia_H0_pyupda_cfi.py | 50 +++++++++++++++++++ 2 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 trunk/Configuration/Generator/python/Pythia_H0_pyupda_cfi.py diff --git a/[refs] b/[refs] index 62b73c9985f07..d98cb779db003 100644 --- a/[refs] +++ b/[refs] @@ -1,3 +1,3 @@ --- refs/heads/gh-pages: 09c786f70121f131b3715aaf3464996502bbeb7e -"refs/heads/CMSSW_7_1_X": 9de397adc65bd3ac11abcf647415f45a8669448c +"refs/heads/CMSSW_7_1_X": b69f3716c6673c1fa6cdf7706eb5ca26ef93977f diff --git a/trunk/Configuration/Generator/python/Pythia_H0_pyupda_cfi.py b/trunk/Configuration/Generator/python/Pythia_H0_pyupda_cfi.py new file mode 100644 index 0000000000000..ae4bb5145a696 --- /dev/null +++ b/trunk/Configuration/Generator/python/Pythia_H0_pyupda_cfi.py @@ -0,0 +1,50 @@ +import FWCore.ParameterSet.Config as cms + +from Configuration.Generator.PythiaUESettings_cfi import * + +generator = cms.EDFilter("Pythia6GeneratorFilter", + pythiaHepMCVerbosity = cms.untracked.bool(True), + maxEventsToPrint = cms.untracked.int32(10), + # Print event + pythiaPylistVerbosity = cms.untracked.int32(3), + # Print decay tables +# pythiaPylistVerbosity = cms.untracked.int32(12), + filterEfficiency = cms.untracked.double(1.0), + comEnergy = cms.double(10000.0), +# crossSection = cms.untracked.double(55000000000.), + UseExternalGenerators = cms.untracked.bool(False), +# + PythiaParameters = cms.PSet( + pythiaUESettingsBlock, + pythiaMyParameters = cms.vstring( +# This is needed if you are introducing long-lived exotic particles. + 'MSTJ(22)=1 ! Decay ALL unstable particles', + + 'MSEL=0', +# Request gg -> H0 production + 'MSUB(152)=1', + 'MWID(35)=2 ! Let me set H0 properties' + ), +# + PYUPDAParameters = cms.vstring( +# Read my parameters + "PYUPDAFILE = 'Configuration/Generator/data/Pythia_H0_pyupda.in'" +# Optionally call PYUPDA after PYINIT. This doesn't seem to be necessary. +# "PYUPDApostPYINIT" +# Write current parameters +# "PYUPDAFILE = \'pyupda.out\'" +# "PYUPDAWRITE" + ), +# + # This is a vector of ParameterSet names to be read, in this order + parameterSets = cms.vstring('pythiaUESettings', + 'pythiaMyParameters', + 'PYUPDAParameters') + ) +) + +# this needs to get in somehow... +# +# genParticles.abortOnUnknownPDGCode = cms.untracked.bool(False) + +