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
391d0e8a
Commit
391d0e8a
authored
7 years ago
by
Andre Sailer
Browse files
Options
Downloads
Patches
Plain Diff
DDSim::Physics: remove duplicate implementation of pdgfile property
parent
448cf69f
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/Helper/Physics.py
+0
-14
0 additions, 14 deletions
DDSim/Helper/Physics.py
with
0 additions
and
14 deletions
DDSim/Helper/Physics.py
+
0
−
14
View file @
391d0e8a
...
@@ -55,20 +55,6 @@ class Physics( ConfigHelper ):
...
@@ -55,20 +55,6 @@ class Physics( ConfigHelper ):
self
.
_pdgfile
=
os
.
path
.
abspath
(
val
)
self
.
_pdgfile
=
os
.
path
.
abspath
(
val
)
@property
def
pdgfile
(
self
):
"""
location of particle.tbl file containing extra particles and their lifetime information
"""
return
self
.
_pdgfile
@pdgfile.setter
def
pdgfile
(
self
,
val
):
if
not
val
:
self
.
_pdgfile
=
None
return
if
not
os
.
path
.
exists
(
val
):
raise
RuntimeError
(
"
PDGFile: %s not found
"
%
os
.
path
.
abspath
(
val
)
)
self
.
_pdgfile
=
os
.
path
.
abspath
(
val
)
def
setupPhysics
(
self
,
kernel
,
name
=
None
):
def
setupPhysics
(
self
,
kernel
,
name
=
None
):
seq
=
kernel
.
physicsList
()
seq
=
kernel
.
physicsList
()
seq
.
extends
=
name
if
name
is
not
None
else
self
.
list
seq
.
extends
=
name
if
name
is
not
None
else
self
.
list
...
...
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