Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DD4hep
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
eic_tools
DD4hep
Commits
29ea2c16
Commit
29ea2c16
authored
7 years ago
by
Markus Frank
Committed by
MarkusFrankATcernch
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Move from DD4hep.py to dd4hep.py
parent
e0d08576
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
COPYING
+12
-0
12 additions, 0 deletions
COPYING
DDRec/python/DDRec.py
+1
-1
1 addition, 1 deletion
DDRec/python/DDRec.py
DDRec/python/dumpDetectorData.py
+3
-3
3 additions, 3 deletions
DDRec/python/dumpDetectorData.py
with
16 additions
and
4 deletions
COPYING
0 → 100644
+
12
−
0
View file @
29ea2c16
//==========================================================================
// AIDA Detector description implementation (DD4hep)
//--------------------------------------------------------------------------
// Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
// All rights reserved.
//
// For the licensing terms see $DD4hepINSTALL/LICENSE.
// For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
//
// Author : M.Frank et al.
//
//==========================================================================
This diff is collapsed.
Click to expand it.
DDRec/python/DDRec.py
+
1
−
1
View file @
29ea2c16
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
#
#
#==========================================================================
#==========================================================================
import
logging
import
logging
import
DD
4hep
as
core
import
dd
4hep
as
core
def
loadDDRec
():
def
loadDDRec
():
from
ROOT
import
gSystem
from
ROOT
import
gSystem
...
...
This diff is collapsed.
Click to expand it.
DDRec/python/dumpDetectorData.py
+
3
−
3
View file @
29ea2c16
...
@@ -73,7 +73,7 @@ except ImportError,X:
...
@@ -73,7 +73,7 @@ except ImportError,X:
sys
.
exit
(
errno
.
ENOENT
)
sys
.
exit
(
errno
.
ENOENT
)
try
:
try
:
import
DD
4hep
import
dd
4hep
except
ImportError
,
X
:
except
ImportError
,
X
:
logging
.
error
(
'
dd4hep python interface not accessible: %s
'
,
str
(
X
))
logging
.
error
(
'
dd4hep python interface not accessible: %s
'
,
str
(
X
))
logging
.
error
(
"
%s
"
,
parser
.
format_help
())
logging
.
error
(
"
%s
"
,
parser
.
format_help
())
...
@@ -87,12 +87,12 @@ except ImportError,X:
...
@@ -87,12 +87,12 @@ except ImportError,X:
sys
.
exit
(
errno
.
ENOENT
)
sys
.
exit
(
errno
.
ENOENT
)
#
#
DD
4hep
.
setPrintLevel
(
DD
4hep
.
OutputLevel
.
ERROR
)
dd
4hep
.
setPrintLevel
(
dd
4hep
.
OutputLevel
.
ERROR
)
logging
.
info
(
'
+++%s
\n
+++ Loading compact geometry:%s
\n
+++%s
'
,
120
*
'
=
'
,
opts
.
compact
,
120
*
'
=
'
)
logging
.
info
(
'
+++%s
\n
+++ Loading compact geometry:%s
\n
+++%s
'
,
120
*
'
=
'
,
opts
.
compact
,
120
*
'
=
'
)
description
=
DD
4hep
.
Detector
.
getInstance
()
description
=
dd
4hep
.
Detector
.
getInstance
()
description
.
fromXML
(
opts
.
compact
)
description
.
fromXML
(
opts
.
compact
)
...
...
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