CMS 3D CMS Logo

SingleTauFlatPt2To150_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
3 
4 generator = cms.EDFilter("Pythia8PtGun",
5  pythia8CommonSettingsBlock,
6  PGunParameters = cms.PSet(
7  ParticleID = cms.vint32(-15),
8  AddAntiParticle = cms.bool(False),
9  MinPhi = cms.double(-3.14159265359),
10  MaxPhi = cms.double(3.14159265359),
11  MinPt = cms.double(2.0),
12  MaxPt = cms.double(150.000),
13  MinEta = cms.double(-3.1),
14  MaxEta = cms.double(3.1)
15  ),
16  pythiaTauJets = cms.vstring(
17  'ParticleDecays:sophisticatedTau = 2',
18  'ParticleDecays:tauPolarization = 0',
19  "15:onMode = off",
20  "15:onIfAny = 211 -211 321 -321" # turn on if there is a charged k or pi in the decay products
21  ),
22  parameterSets = cms.vstring(
23  'pythia8CommonSettings',
24  'pythiaTauJets'
25  ),
26  PythiaParameters = cms.PSet(parameterSets = cms.vstring())
27  )