From 004f942b8a6bbf4e7fc89769f094fae7ae9c13e7 Mon Sep 17 00:00:00 2001 From: jmcarcell Date: Fri, 3 Jan 2025 19:49:28 +0100 Subject: [PATCH] Do not set or read the colo flow for MCParticles from EDM4hep needed after https://github.com/key4hep/EDM4hep/pull/389 --- DDDigi/io/DigiIO.cpp | 2 -- DDG4/edm4hep/Geant4Output2EDM4hep.cpp | 1 - 2 files changed, 3 deletions(-) diff --git a/DDDigi/io/DigiIO.cpp b/DDDigi/io/DigiIO.cpp index 1d8ccf374..1ded76349 100644 --- a/DDDigi/io/DigiIO.cpp +++ b/DDDigi/io/DigiIO.cpp @@ -202,7 +202,6 @@ namespace dd4hep { mcp.setGeneratorStatus( p.getGeneratorStatus() ); mcp.setSimulatorStatus( p.getSimulatorStatus() ); mcp.setSpin(p.getSpin()); - mcp.setColorFlow(p.getColorFlow()); } template <> template <> @@ -588,7 +587,6 @@ namespace dd4hep { mcp.setGeneratorStatus( 0 ); mcp.setSpin(p.spin); - mcp.setColorFlow(p.colorFlow); } template <> template <> diff --git a/DDG4/edm4hep/Geant4Output2EDM4hep.cpp b/DDG4/edm4hep/Geant4Output2EDM4hep.cpp index 1ceb1e00c..b0d97f34e 100644 --- a/DDG4/edm4hep/Geant4Output2EDM4hep.cpp +++ b/DDG4/edm4hep/Geant4Output2EDM4hep.cpp @@ -394,7 +394,6 @@ void Geant4Output2EDM4hep::saveParticles(Geant4ParticleMap* particles) { mcp.setGeneratorStatus( 0 ) ; mcp.setSpin(p->spin); - mcp.setColorFlow(p->colorFlow); p_ids[id] = cnt++; p_part.push_back(p);