CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SingleGammaFlatPt8To150_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 generator = cms.EDFilter("Pythia8PtGun",
4  PGunParameters = cms.PSet(
5  MaxPt = cms.double(150.),
6  MinPt = cms.double(8.),
7  ParticleID = cms.vint32(22),
8  AddAntiParticle = cms.bool(True), # false in pythia6 version but photons are their own anti-particle
9  MaxEta = cms.double(3.1),
10  MaxPhi = cms.double(3.14159265359),
11  MinEta = cms.double(-3.1),
12  MinPhi = cms.double(-3.14159265359) ## in radians
13  ),
14  Verbosity = cms.untracked.int32(0), ## set to 1 (or greater) for printouts
15  psethack = cms.string('single gamma pt 8 to 150'),
16  firstRun = cms.untracked.uint32(1),
17  PythiaParameters = cms.PSet(parameterSets = cms.vstring())
18  )