Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002 from Configuration.Generator.PythiaUESettings_cfi import *
00003
00004 Generator = cms.EDFilter("Pythia6GeneratorFilter",
00005 pythiaHepMCVerbosity = cms.untracked.bool(False),
00006 maxEventsToPrint = cms.untracked.int32(0),
00007 pythiaPylistVerbosity = cms.untracked.int32(1),
00008 filterEfficiency = cms.untracked.double(0.002305),
00009 comEnergy = cms.double(7000.0),
00010 crossSection = cms.untracked.double(51560000000.),
00011 PythiaParameters = cms.PSet(
00012 pythiaUESettingsBlock,
00013 processParameters = cms.vstring(
00014 'MSEL=1 ! User defined processes',
00015 'MSTJ(22)=4 ! Decay unstable particles in a cylinder',
00016 'PARJ(73)=1500. ! max. radius for MSTJ(22)=4',
00017 'PARJ(74)=3000. ! max. Z for MSTJ(22)=4',
00018 'MDCY(C130,1)=1 ! decay k0-longs',
00019 'MDCY(C211,1)=1 ! decay pions',
00020 'MDCY(C321,1)=1 ! decay kaons'),
00021
00022
00023 parameterSets = cms.vstring('pythiaUESettings',
00024 'processParameters')
00025 )
00026 )
00027
00028 mugenfilter = cms.EDFilter("MCSmartSingleParticleFilter",
00029 MinPt = cms.untracked.vdouble(2.5,2.5),
00030 MinEta = cms.untracked.vdouble(-2.5,-2.5),
00031 MaxEta = cms.untracked.vdouble(2.5,2.5),
00032 ParticleID = cms.untracked.vint32(13,-13),
00033 Status = cms.untracked.vint32(1,1),
00034
00035 MaxDecayRadius = cms.untracked.vdouble(1500.,1500.),
00036 MinDecayZ = cms.untracked.vdouble(-3000.,-3000.),
00037 MaxDecayZ = cms.untracked.vdouble(3000.,3000.)
00038 )
00039
00040 ProductionFilterSequence = cms.Sequence(Generator*mugenfilter)