Atlfast_RunPythia.py

Go to the documentation of this file.
00001 include( "PartPropSvc/PartPropSvc.py" )
00002 theApp.Dlls += [ "TruthExamples", "Pythia_i" ]
00003 theApp.ExtSvc += ["AtRndmGenSvc" ]
00004 
00005 AtRndmGenSvc = Service( "AtRndmGenSvc" )
00006 AtRndmGenSvc.Seeds = [ "PYTHIA 85909879 9707499", "PYTHIA_INIT 87928165 11160529" ]
00007 
00008 #theApp.TopAlg += ["Pythia"]
00009 
00010 
00011 #======================================
00012 #
00013 #  Define the physics process
00014 #  Pass Pythia configuration options
00015 #  through Pythia.PythiaCommand
00016 #
00017 #======================================
00018 
00019 Pythia = Algorithm( "Pythia" )
00020 
00021 # Switch off all processes
00022 Pythia.PythiaCommand += [ "pysubs msel 0" ]
00023 
00024 # Turn on Z0 production
00025 Pythia.PythiaCommand += [ "pysubs msub 1 1" ]
00026 
00027 # Turn off Z0/gamma* interference
00028 Pythia.PythiaCommand += [ "pypars mstp 43 2" ]
00029 
00030 # Switch off all Z0 decay modes except electrons
00031 Pythia.PythiaCommand += [ "pydat3 mdme 174 1 0", "pydat3 mdme 175 1 0",
00032                           "pydat3 mdme 176 1 0", "pydat3 mdme 177 1 0",
00033                           "pydat3 mdme 178 1 0", "pydat3 mdme 179 1 0",
00034                           "pydat3 mdme 180 1 0", "pydat3 mdme 181 1 0",
00035                           "pydat3 mdme 182 1 1", "pydat3 mdme 183 1 0",
00036                           "pydat3 mdme 184 1 0", "pydat3 mdme 185 1 0",
00037                           "pydat3 mdme 186 1 0", "pydat3 mdme 187 1 0" ]
00038 
00039 topSequence += Pythia

Generated on Mon Sep 24 14:19:11 2007 for AtlfastAlgs by  doxygen 1.5.1