CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PythiaTauGun_cfi.py
Go to the documentation of this file.
2 
3 source = cms.Source("EmptySource")
4 
5 generator = cms.EDProducer("Pythia6PtGun",
6  pythiaVerbosity = cms.untracked.bool(False),
7  PGunParameters = cms.PSet(
8  ParticleID = cms.vint32(-15),
9  AddAntiParticle = cms.bool(True),
10  MinPt = cms.double(20.0),
11  MaxPt = cms.double(420.0),
12 # MinE = cms.double(10.0),
13 # MaxE = cms.double(10.0),
14  MinEta = cms.double(-2.4),
15  MaxEta = cms.double(2.4),
16  MinPhi = cms.double(-3.1415926535897931),
17  MaxPhi = cms.double(3.1415926535897931)
18  ),
19  PythiaParameters = cms.PSet(
20  # This is a vector of ParameterSet names to be read, in this order
21  parameterSets = cms.vstring(
22  'pythiaTauJets'
23  ),
24 
25  # Tau jets only
26  pythiaTauJets = cms.vstring(
27  'MDME(89,1)=0 ! no tau->electron',
28  'MDME(90,1)=0 ! no tau->muon'
29  )
30  )
31 )
32 
33 ProductionFilterSequence = cms.Sequence(generator)