001 # Z production (on shell only) decaying to e+e-
002 mod talk Pythia
003 PythiaMenu
004 msel set 0
005 commonMenu
006 for {set i 1} {$i<100} {incr i} {
007 set_msub -index=$i -value=0
008 }
009 # Produce Zs only
010 set_msub -index=15 -value=1
011 set_msub -index=19 -value=0
012 set_msub -index=30 -value=0
013 show_msub
014 # Only on shell Z produced (no gamma*)
015 set_mstp -index=43 -value=2
016 show_mstp
017 # limit Z decays to Z->ee only
018 for {set i 174} {$i<190} {incr i} {
019 set_mdme -channelIndex=$i -decayType=0
020 }
021 set_mdme -channelIndex=182 -decayType=1
022 # show_mdme
023 exit
024 exit
025 exit
Send problems or questions to cdfcode@fnal.gov