From c532581bc637fcedb32e1ecb71b6390328772f3b 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 4866929c6..3478dbdd5 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);