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
b874b411
Commit
b874b411
authored
6 years ago
by
Andre Sailer
Committed by
Marko Petric
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
ddsim: fix bug when using a UserParticleHandler
parent
5d93a281
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
DDG4/python/DDSim/DD4hepSimulation.py
+1
-1
1 addition, 1 deletion
DDG4/python/DDSim/DD4hepSimulation.py
DDG4/python/DDSim/Helper/ParticleHandler.py
+1
-1
1 addition, 1 deletion
DDG4/python/DDSim/Helper/ParticleHandler.py
with
2 additions
and
2 deletions
DDG4/python/DDSim/DD4hepSimulation.py
+
1
−
1
View file @
b874b411
...
...
@@ -418,7 +418,7 @@ class DD4hepSimulation(object):
if
self
.
part
.
enableDetailedHitsAndParticleInfo
:
self
.
part
.
setDumpDetailedParticleInfo
(
kernel
,
DDG4
)
self
.
part
.
setupUserParticleHandler
(
part
)
self
.
part
.
setupUserParticleHandler
(
part
,
kernel
,
DDG4
)
#=================================================================================
...
...
This diff is collapsed.
Click to expand it.
DDG4/python/DDSim/Helper/ParticleHandler.py
+
1
−
1
View file @
b874b411
...
...
@@ -102,7 +102,7 @@ class ParticleHandler( ConfigHelper ):
kernel
.
eventAction
().
adopt
(
evt
)
evt
.
enableUI
()
def
setupUserParticleHandler
(
self
,
part
):
def
setupUserParticleHandler
(
self
,
part
,
kernel
,
DDG4
):
"""
Create the UserParticleHandler and configure it.
FIXME: this is not extensible at the moment
...
...
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