CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/FastSimulation/Configuration/python/PythiaTauGun_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 source = cms.Source("EmptySource")
00004 
00005 generator = cms.EDProducer("Pythia6PtGun",
00006     pythiaVerbosity = cms.untracked.bool(False),
00007     PGunParameters = cms.PSet(
00008         ParticleID = cms.vint32(-15),
00009         AddAntiParticle = cms.bool(True),
00010         MinPt = cms.double(20.0),
00011         MaxPt = cms.double(420.0),
00012 #        MinE = cms.double(10.0),
00013 #        MaxE = cms.double(10.0),
00014         MinEta = cms.double(-2.4),
00015         MaxEta = cms.double(2.4),
00016         MinPhi = cms.double(-3.1415926535897931),
00017         MaxPhi = cms.double(3.1415926535897931)
00018     ),
00019     PythiaParameters = cms.PSet(
00020         # This is a vector of ParameterSet names to be read, in this order
00021         parameterSets = cms.vstring(
00022             'pythiaTauJets'
00023         ),
00024 
00025         # Tau jets only
00026         pythiaTauJets = cms.vstring(
00027             'MDME(89,1)=0      ! no tau->electron', 
00028             'MDME(90,1)=0      ! no tau->muon'
00029         )
00030     )
00031 )
00032 
00033 ProductionFilterSequence = cms.Sequence(generator)