import FWCore.ParameterSet.Config as cms source = cms.Source("PythiaSource", PythiaParameters = cms.PSet( # # Default cards for minimum bias events (unfiltered) # Name of the set is "pythiaMinBias" #include "IOMC/GeneratorInterface/test/pythiaMinBias.cfg" # # User cards - name is "myParameters" # Pythia's random generator initialization myParameters = cms.vstring('MSEL=0 ! Users defined processes', 'MSUB(1)=1 ! Define Z0/gamma production', 'MSTP(43)=2 ! Only Z0', 'PMAS(23,1)=91.1876 ! Z mass', 'MDME(174,1)=0 ! Switch off Z decay to d dbar', 'MDME(175,1)=0 ! Switch off Z decay to u ubar', 'MDME(176,1)=0 ! Switch off Z decay to s sbar', 'MDME(177,1)=0 ! Switch off Z decay to c cbar', 'MDME(178,1)=0 ! Switch off Z decay to b bbar', 'MDME(179,1)=0 ! Switch off Z decay to t tbar', 'MDME(180,1)=0 ! Switch off Z decay to b` b`bar', 'MDME(181,1)=0 ! Switch off Z decay to t` t`bar', 'MDME(182,1)=0 ! Switch off Z decay to e e+', 'MDME(183,1)=0 ! Switch off Z decay to nu_e nu_ebar', 'MDME(184,1)=1 ! Z -> mu+mu- switched on', 'MDME(185,1)=0 ! Switch off Z decay to nu_mu nu_mubar', 'MDME(186,1)=0 ! Switch off Z decay to tau taubar', 'MDME(187,1)=0 ! Switch off Z decay to nu_tau nu_taubar', 'MSTJ(22)=2 ! Do not decay unstable particles'), # This is a vector of ParameterSet names to be read, in this order # The first two are in the include files below # The last one are simply my additional parameters parameterSets = cms.vstring('myParameters') ) )