Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:52:41

0001 import FWCore.ParameterSet.Config as cms
0002 generator = cms.EDFilter("Pythia8PtGun",
0003                          PGunParameters = cms.PSet(
0004         MaxPt = cms.double(100.),
0005         MinPt = cms.double(10.),
0006         ParticleID = cms.vint32(22),
0007         AddAntiParticle = cms.bool(True), # false in pythia6 version but photons are their own anti-particle
0008         MaxEta = cms.double(2.5),
0009         MaxPhi = cms.double(3.14159265359),
0010         MinEta = cms.double(-2.5),
0011         MinPhi = cms.double(-3.14159265359) ## in radians
0012         ),
0013                          Verbosity = cms.untracked.int32(0), ## set to 1 (or greater)  for printouts
0014                          psethack = cms.string('single gamma pt 10 to 100'),
0015                          firstRun = cms.untracked.uint32(1),
0016                          PythiaParameters = cms.PSet(parameterSets = cms.vstring())
0017                          )