Skip to content
Snippets Groups Projects
Commit 3cee95d4 authored by Andre Sailer's avatar Andre Sailer
Browse files

DDSim: runheader: Add ILCSOFT and lcgeo path to runheader

parent f248ab84
No related branches found
No related tags found
No related merge requests found
......@@ -563,6 +563,10 @@ class DD4hepSimulation(object):
### add current working directory (where we call from)
runHeader["WorkingDirectory"] = os.getcwd()
### ILCSoft, LCGEo location from environment variables, names from init_ilcsoft.sh
runHeader["ILCSoft_location"] = os.environ.get("ILCSOFT", "Unknown")
runHeader["lcgeo_location"] = os.environ.get("lcgeo_DIR", "Unknown")
### add date
runHeader["DateUTC"] = str(datetime.datetime.utcnow())+" UTC"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment