ATLAS Offline Software
Generators
Herwig7_i
share
common
Herwig7_TheP8I.py
Go to the documentation of this file.
1
2
assert
hasattr(genSeq,
"Herwig7"
)
3
4
#The path is hardcoded, exactly in a way that is done for OpenLoops
5
try
:
6
# This should be a prefix
7
TheP8I_path=os.environ[
'THEP8I_PATH'
]
8
except
KeyError:
9
raise
RuntimeError(
"THEP8I_PATH environment variable not set"
)
10
os.environ[
"LD_LIBRARY_PATH"
]=TheP8I_path+
"/lib64/ThePEG"
+
":"
+TheP8I_path+
"/lib/ThePEG"
+
":"
+os.environ[
"LD_LIBRARY_PATH"
]
11
12
try
:
13
TheP8I_PYTHIA8DATA=os.environ[
'PYTHIA8DATA'
]
14
except
KeyError:
15
raise
RuntimeError(
"PYTHIA8DATA environment variable not set"
)
16
os.environ[
'PYTHIA8DATA'
]=TheP8I_PYTHIA8DATA
17
18
19
20
Herwig7Config.add_commands(
"""
21
mkdir /TheP8I
22
create TheP8I::StringFragmentation /TheP8I/Handlers/StringFrag/StringFragmenter libTheP8I.so
23
create TheP8I::TheP8IStrategy /TheP8I/StdStrategy libTheP8I.so
24
cd /Herwig/Generators
25
set EventGenerator:EventHandler:HadronizationHandler /TheP8I/Handlers/StringFrag/StringFragmenter
26
set EventGenerator:Strategy /TheP8I/StdStrategy
27
"""
)
Generated on Thu Nov 7 2024 21:16:09 for ATLAS Offline Software by
1.8.18