diff --git a/DDG4/python/DDSim/DD4hepSimulation.py b/DDG4/python/DDSim/DD4hepSimulation.py index 0548a71f409651f8ea9945b84de746730e9d600c..5a8c7d7520eb7137f4e337090f478585d02c6a2c 100644 --- a/DDG4/python/DDSim/DD4hepSimulation.py +++ b/DDG4/python/DDSim/DD4hepSimulation.py @@ -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) #================================================================================= diff --git a/DDG4/python/DDSim/Helper/ParticleHandler.py b/DDG4/python/DDSim/Helper/ParticleHandler.py index aaabea68f171e1cec447ab42ac0d45a76dce9e90..5b0ee9a7c97bf795a8b19f5baae85cfd45e23473 100644 --- a/DDG4/python/DDSim/Helper/ParticleHandler.py +++ b/DDG4/python/DDSim/Helper/ParticleHandler.py @@ -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