CMS 3D CMS Logo

SingleGammaFlatPt10To100_pythia8_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 generator = cms.EDFilter("Pythia8PtGun",
3  PGunParameters = cms.PSet(
4  MaxPt = cms.double(100.),
5  MinPt = cms.double(10.),
6  ParticleID = cms.vint32(22),
7  AddAntiParticle = cms.bool(True), # false in pythia6 version but photons are their own anti-particle
8  MaxEta = cms.double(2.5),
9  MaxPhi = cms.double(3.14159265359),
10  MinEta = cms.double(-2.5),
11  MinPhi = cms.double(-3.14159265359)
12  ),
13  Verbosity = cms.untracked.int32(0),
14  psethack = cms.string('single gamma pt 10 to 100'),
15  firstRun = cms.untracked.uint32(1),
16  PythiaParameters = cms.PSet(parameterSets = cms.vstring())
17  )