From 8ff2418a9b855ba7d4d1cc4b83eb6f169cb903f3 Mon Sep 17 00:00:00 2001 From: Andre Sailer Date: Wed, 18 Dec 2024 13:51:30 +0100 Subject: [PATCH] ReadEDM4hep: do not treat colorflow, since it will be gone soon --- DDG4/edm4hep/EDM4hepFileReader.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/DDG4/edm4hep/EDM4hepFileReader.cpp b/DDG4/edm4hep/EDM4hepFileReader.cpp index 1613f14bd..cf81ac8c7 100644 --- a/DDG4/edm4hep/EDM4hepFileReader.cpp +++ b/DDG4/edm4hep/EDM4hepFileReader.cpp @@ -232,7 +232,6 @@ namespace dd4hep::sim { const auto vsx = mcp.getVertex(); const auto vex = mcp.getEndpoint(); const auto spin = mcp.getSpin(); - const auto color = mcp.getColorFlow(); const int pdg = mcp.getPDG(); p->pdgID = pdg; p->charge = int(mcp.getCharge()*3.0); @@ -251,8 +250,8 @@ namespace dd4hep::sim { p->spin[0] = spin[0]; p->spin[1] = spin[1]; p->spin[2] = spin[2]; - p->colorFlow[0] = color[0]; - p->colorFlow[1] = color[1]; + p->colorFlow[0] = 0; + p->colorFlow[1] = 0; p->mass = mcp.getMass()*CLHEP::GeV; const auto par = mcp.getParents(), &dau=mcp.getDaughters(); for(int num=dau.size(),k=0; k