Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DD4hep
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cepc
externals
mirroring
DD4hep
Commits
3cee95d4
Commit
3cee95d4
authored
9 years ago
by
Andre Sailer
Browse files
Options
Downloads
Patches
Plain Diff
DDSim: runheader: Add ILCSOFT and lcgeo path to runheader
parent
f248ab84
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
DDSim/DD4hepSimulation.py
+4
-0
4 additions, 0 deletions
DDSim/DD4hepSimulation.py
with
4 additions
and
0 deletions
DDSim/DD4hepSimulation.py
+
4
−
0
View file @
3cee95d4
...
...
@@ -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
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment