Skip to content
Snippets Groups Projects
Commit b874b411 authored by Andre Sailer's avatar Andre Sailer Committed by Marko Petric
Browse files

ddsim: fix bug when using a UserParticleHandler

parent 5d93a281
No related branches found
No related tags found
No related merge requests found
......@@ -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)
#=================================================================================
......
......@@ -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
......
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