Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 10:49:01

0001 import FWCore.ParameterSet.Config as cms
0002 from Configuration.Generator.Pythia8CommonSettings_cfi import *
0003 
0004 generator = cms.EDFilter("Pythia8PtGun",
0005                          pythia8CommonSettingsBlock,
0006                          PGunParameters = cms.PSet(
0007         ParticleID = cms.vint32(-15),
0008         AddAntiParticle = cms.bool(False),
0009         MinPhi = cms.double(-3.14159265359),
0010         MaxPhi = cms.double(3.14159265359),
0011         MinPt = cms.double(2.0),
0012         MaxPt = cms.double(150.000),
0013         MinEta = cms.double(-3.1),
0014         MaxEta = cms.double(3.1)
0015         ),
0016                          pythiaTauJets = cms.vstring(
0017         'ParticleDecays:sophisticatedTau = 2',
0018         'ParticleDecays:tauPolarization = 0',
0019         "15:onMode = off",
0020         "15:onIfAny = 211 -211 321 -321" # turn on if there is a charged k or pi in the decay products 
0021         ),
0022                          parameterSets = cms.vstring(
0023         'pythia8CommonSettings',
0024         'pythiaTauJets'
0025         ),
0026                          PythiaParameters = cms.PSet(parameterSets = cms.vstring())
0027                          )