diff --git a/DDSim/DD4hepSimulation.py b/DDSim/DD4hepSimulation.py index 86a1f01a14f2a80fc2c0aa6a48916ce13e9e52e6..164d323b4e1bc5610eca7c6ce59558ae1fce1b5c 100644 --- a/DDSim/DD4hepSimulation.py +++ b/DDSim/DD4hepSimulation.py @@ -335,7 +335,7 @@ class DD4hepSimulation(object): gen = DDG4.GeneratorAction(kernel,"LCIOInputAction/STDHEP%d" % index) gen.Input="LCIOStdHepReader|"+inputFile elif inputFile.endswith(".HEPEvt"): - gen = DDG4.GeneratorAction(kernel,"LCIOInputAction/HEPEvt%d" % index) + gen = DDG4.GeneratorAction(kernel,"Geant4InputAction/HEPEvt%d" % index) gen.Input="Geant4EventReaderHepEvtShort|"+inputFile elif inputFile.endswith(".hepevt"): gen = DDG4.GeneratorAction(kernel,"Geant4InputAction/hepevt%d" % index)