001 #-----------------------------------------------------------------------------
002 # generate Z->tautau with Pythia ... From Pasha Murat
003 # simulate the events in the detector with cdfSim
004 # this talk-to originates from cdfSim 3.16.0 talk-to
005 #-----------------------------------------------------------------------------
006 path enable AllPath
007 mod disable HepgFilter
008 mod disable herwig
009 mod disable Isajet
010 mod disable Bgenerator
011 mod disable FAKE_EVENT
012
013 module input GenInputManager
014 talk GenInputManager
015 report set 100
016 exit
017
018 mod enable Pythia
019 talk Pythia
020 #-----------------------------------------------------------------------
021 # first select f + fbar ----> Z/gamma production (0-th order),
022 # then leave only Z production
023 #-----------------------------------------------------------------------
024 PythiaMenu
025 msel set 0
026 commonMenu
027 set_msub -index=1 -value=1
028 set_mstp -index=43 -value=2
029 #-----------------------------------------------------------------------
030 # turn off all decays: it's for decay table 6.129
031 # and turn on only decay Z ----> tau+ + tau-
032 #-----------------------------------------------------------------------
033 for {set i 174} {$i<190} {incr i} {
034 set_mdme -channelIndex=$i -decayType=0
035 }
036 set_mdme -channelIndex=186 -decayType=1
037 #-----------------------------------------------------------------------
038 # pdf function MRSG (group 3 set 41)
039 #-----------------------------------------------------------------------
040 set_mstp -index=51 -value=3041
041 set_mstp -index=52 -value=2
042 exit
043 exit
044 exit
045
046 mod enable TauolaModule
047 mod talk TauolaModule
048 Display_max_taudecays set 1
049 Display_tauola_output set 3
050 exit
051
052 module output FileOutput
053 exec rm -f tauola_pythia_ztata.sim
054 talk FileOutput
055 output create test_stream tauola_pythia_ztata.sim
056 output path test_stream AllPath
057 output keepList test_stream LRIH_StorableBank EVCL_StorableBank HEPG_StorableBank
058 exit
059
060 begin -nev 10
061
062 show timer
063
064 exit
Send problems or questions to cdfcode@fnal.gov