Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:03:37

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