1 import FWCore.ParameterSet.Config
as cms
4 generator = cms.EDFilter(
"Pythia6GeneratorFilter",
5 pythiaHepMCVerbosity = cms.untracked.bool(
False),
6 maxEventsToPrint = cms.untracked.int32(0),
7 pythiaPylistVerbosity = cms.untracked.int32(1),
8 filterEfficiency = cms.untracked.double(0.002305),
9 comEnergy = cms.double(8000.0),
10 crossSection = cms.untracked.double(51560000000.),
11 PythiaParameters = cms.PSet(
12 pythiaUESettingsBlock,
13 processParameters = cms.vstring(
14 'MSEL=1 ! User defined processes',
15 'MSTJ(22)=4 ! Decay unstable particles in a cylinder',
16 'PARJ(73)=1500. ! max. radius for MSTJ(22)=4',
17 'PARJ(74)=3000. ! max. Z for MSTJ(22)=4',
18 'MDCY(C130,1)=1 ! decay k0-longs',
19 'MDCY(C211,1)=1 ! decay pions',
20 'MDCY(C321,1)=1 ! decay kaons'),
23 parameterSets = cms.vstring(
'pythiaUESettings',
28 mugenfilter = cms.EDFilter(
"MCSmartSingleParticleFilter",
29 MinPt = cms.untracked.vdouble(2.5,2.5),
30 MinEta = cms.untracked.vdouble(-2.5,-2.5),
31 MaxEta = cms.untracked.vdouble(2.5,2.5),
32 ParticleID = cms.untracked.vint32(13,-13),
33 Status = cms.untracked.vint32(1,1),
35 MaxDecayRadius = cms.untracked.vdouble(1500.,1500.),
36 MinDecayZ = cms.untracked.vdouble(-3000.,-3000.),
37 MaxDecayZ = cms.untracked.vdouble(3000.,3000.)
40 ProductionFilterSequence = cms.Sequence(generator*mugenfilter)