From f5d5bcab456e286ca45fa53df135dd9dc6f91493 Mon Sep 17 00:00:00 2001 From: Jan Strube <jan.strube@gmail.com> Date: Mon, 14 Aug 2017 10:11:47 -0700 Subject: [PATCH] Update DD4hepSimulation.py --- DDSim/DD4hepSimulation.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/DDSim/DD4hepSimulation.py b/DDSim/DD4hepSimulation.py index ce1c52e7a..877d7747c 100644 --- a/DDSim/DD4hepSimulation.py +++ b/DDSim/DD4hepSimulation.py @@ -43,7 +43,7 @@ from DDSim.Helper.Random import Random from DDSim.Helper.Filter import Filter from DDSim.Helper.Physics import Physics from DDSim.Helper.GuineaPig import GuineaPig -from DDSim.Helper.LCIO import MCParticles +from DDSim.Helper.LCIO import LCIO import os import sys @@ -86,7 +86,7 @@ class DD4hepSimulation(object): self.field = MagneticField() self.action = Action() self.guineapig = GuineaPig() - self.mcparticles = MCParticles() + self.lcio = LCIO() self.filter = Filter() self.physics = Physics() @@ -364,7 +364,7 @@ class DD4hepSimulation(object): for index,inputFile in enumerate(self.inputFiles, start=4): if inputFile.endswith(".slcio"): gen = DDG4.GeneratorAction(kernel,"LCIOInputAction/LCIO%d" % index) - gen.Parameters = self.mcParticles.getParameters() + gen.Parameters = self.lcio.getParameters() gen.Input="LCIOFileReader|"+inputFile elif inputFile.endswith(".stdhep"): gen = DDG4.GeneratorAction(kernel,"LCIOInputAction/STDHEP%d" % index) -- GitLab