001 ### for cdfGen executable
002 # ( adapted from /herwig_i/examples/herwig_test.tcl for cdfGen )
003
004
005 path enable AllPath
006
007 module input GenInputManager
008 module talk GenInputManager
009 # default run number
010 run_number set 151435
011 exit
012
013 #-->--> H e r w i g p a r t
014
015 mod enable herwig
016 mod talk herwig
017 # 1453 is qq' -> W -> tau.nutau
018 # 2300 is SM Higgs + jet prodn.
019 # 2100 is W + jet production
020 # 1500 is QCD 2 -> 2 hard parton scattering
021 Process set 1453
022 # Following gets 1 line on screen per 100 events
023 # report set 100
024 # seeds for herwig - note there may be TWO random number schemes ***
025 Randseed1 set 2222222
026 Randseed2 set 44445444
027 #
028 Beam
029 # Default Beam energies are 900. 900.
030 Pbeam1 set 900.
031 Pbeam2 set 900.
032 exit
033 Masses
034 top set 175
035 exit
036 #
037 # Structure functions, default is MRS 41 (cdf v6_202)
038 # Struc_Function
039 # Autpdf set MRS
040 # Modpdf set 41
041 # exit
042 # note default is to NOT call qq, but BEWARE if you do not use qq
043 # qq is in the separate module QQModule
044
045 # Following 6 lines lead to a print (internal to herwig) of 1 event,
046 # 1 line per entity (so ~500 lines for ttbar), each line has width
047 # ~120 characters. If use prvtx set 0 then VHEP info is not printed
048 # and width is ~80.
049 # Default is no event printing (maxpr = 0).
050 Prints
051 help
052 maxpr set 2
053 prvtx set 0
054 show
055 exit
056 #
057 # Decays
058 # help
059 # Following line sets pizero as stable, so get no pizero-to-gamma.gamma
060 # decays. Default is pizero decays.
061 # Pizstable set 1
062 # See manual (Herwig 6 sect 3.4 p 14) for Modbos info - inoperative on ttbar
063 # Modbos1 set 4
064 # Modbos2 set 4
065 # show
066 # exit
067 #
068 # default Clpow leads to no B-Baryons
069 Hadronization
070 Clpow set 1.26
071 exit
072 #
073 show
074 exit
075
076 #-->--> Decayer (EvtGen is the CDF default)
077
078 module enable EvtGen
079 module talk EvtGen
080 DecayPromptCharm set true
081 DecayBMeson set true
082 DecayBBaryon set true
083 show
084 exit
085
086
087 exec rm -f run_herwig_test.root
088 module enable HepRootManager
089 mod talk HepRootManager
090 verbose set true
091 histfile set run_herwig_test.root
092 createHistoFile set f
093 exit
094
095 #-->--> Write o u t p u t
096
097 module talk FileOutput
098 output create myout herwig_test.out
099 output path myout AllPath
100 output keepList myout EVCL_StorableBank LRIH_StorableBank HEPG_StorableBank
101 output list
102 exit
103
104 begin -nev 10
105
106 exit
107
Send problems or questions to cdfcode@fnal.gov