ATLAS Offline Software
Herwig7_QED_EvtGen_Common.py
Go to the documentation of this file.
1 # JobOption fragment for Herwig >=7.0.4
2 
3 # Common job option for gamma gamma processes in Herwig7
4 # Contact: Oldrich Kepka
5 
6 assert hasattr(genSeq, "Herwig7")
7 
8 Herwig7Config.add_commands(Herwig7Config.pdf_gammagamma_cmds())
9 
10 
11 cmds = """
12 set /Herwig/Partons/QCDExtractor:FirstPDF /Herwig/Partons/BudnevPDF
13 set /Herwig/Partons/QCDExtractor:SecondPDF /Herwig/Partons/BudnevPDF
14 set /Herwig/Partons/BudnevPDF:Q2Max 4.
15 
16 create ThePEG::O1AlphaS /Herwig/AlphaQCD_O1 O1AlphaS.so
17 set /Herwig/Generators/LHCGenerator:StandardModelParameters:QCD/RunningAlphaS /Herwig/AlphaQCD_O1
18 
19 # Cuts
20 cd /Herwig/Cuts
21 set QCDCuts:ScaleMin 0.0*MeV
22 set QCDCuts:X1Min 0
23 set QCDCuts:X2Min 0
24 set QCDCuts:X1Max 1.
25 set QCDCuts:X2Max 1.
26 erase QCDCuts:MultiCuts 0
27 """
28 Herwig7Config.add_commands(cmds)
29 del cmds
30 
31 # To avoid warning from displaced vertices, bugfix needed in herwig++
32 testSeq.TestHepMC.MaxTransVtxDisp = 1000000
33 testSeq.TestHepMC.MaxVtxDisp = 1000000000