CMS 3D CMS Logo

Py8Eta2MuGammaPtExpGun_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
5 
6 generator = cms.EDFilter("Pythia8PtExpGun",
7 
8  maxEventsToPrint = cms.untracked.int32(1),
9  pythiaPylistVerbosity = cms.untracked.int32(1),
10  pythiaHepMCVerbosity = cms.untracked.bool(True),
11 
12  PGunParameters = cms.PSet(
13  ParticleID = cms.vint32(221),
14  AddAntiParticle = cms.bool(False),
15  MinPhi = cms.double(-3.14159265359),
16  MaxPhi = cms.double(3.14159265359),
17  #MinPt = cms.double(5.0),
18  MinPt = cms.double(10.0),
19  #MaxPt = cms.double(65.0),
20  #MaxPt = cms.double(25.0),
21  MaxPt = cms.double(65.0),
22  MinEta = cms.double(-2.4),
23  MaxEta = cms.double(2.4)
24  ),
25 
26  PythiaParameters = cms.PSet(
27  pythia8CommonSettingsBlock,
28  pythia8CP5SettingsBlock,
29  processParameters = cms.vstring(
30  #'SLHA:keepSM = on',
31  #'SLHA:minMassSM = 10.',
32  # Very important to enable override!
33  'SLHA:allowUserOverride = on',
34  'RHadrons:allow = on',
35  'RHadrons:allowDecay = on',
36  #'32:mayDecay = true',
37  '221:mayDecay = true',
38  # Set decay channels of eta (mumugamma)
39  '221:oneChannel = 1 1.0 0 13 -13 22'
40  ),
41  parameterSets = cms.vstring(
42  'pythia8CommonSettings',
43  'pythia8CP5Settings',
44  'processParameters',
45  )
46  )
47 )