001 ## herwig_top.tcl for simple validation of Herwig
002
003 ## cdfGen herwig_top.tcl > herwig_top.log
004
005 #############################
006 path enable AllPath
007
008 module input GenInputManager
009 mod enable herwig
010 mod enable QQModule
011 ###mod enable TauolaModule ** if want tauola
012
013 talk RandomGenManager
014 RandomNumberMenu
015 RandomSeedHERWIG1 set 2222222
016 RandomSeedHERWIG2 set 3333333
017 show
018 exit
019 exit
020
021
022 talk herwig
023 # 1706 is t.tbar with underlying event
024 Process set 1706
025 Beam
026 Pbeam1 set 980.
027 Pbeam2 set 980.
028 exit
029
030 Masses
031 top set 175
032 exit
033 # Structure functions, default is MRST 1998 LO in Herwig 6_4
034 # Struc_Function
035 # Autpdf set MRS
036 # Modpdf set 41
037 # exit
038 # default Clpow leads to no B-Baryons
039 Hadronization
040 Clpow set 1.26
041 exit
042 # Print 1 event
043 Prints
044 maxpr set 1
045 prvtx set 0
046 exit
047 exit
048
049 # note default is to NOT call qq, but BEWARE if you do not use qq
050 talk QQModule
051 Decay_Bc set 1
052 Decay_Upsilon set 1
053 Decay_B_Baryons set 1
054 Decay_prompt_charm set 1
055 # show
056 exit
057
058 # if want output
059 ##module talk DHOutput
060 ## output create myout herwig_top.out
061 ## output enable myout
062 ## output path myout AllPath
063 ## output keepList myout EVCL_StorableBank LRIH_StorableBank HEPG_StorableBank
064 ## output list
065 ##exit
066
067
068
069 begin -nev 10
070 exit
071
Send problems or questions to cdfcode@fnal.gov