Skip to content

Commit

Permalink
ReadEDM4hep: do not treat colorflow, since it will be gone soon
Browse files Browse the repository at this point in the history
  • Loading branch information
andresailer committed Dec 18, 2024
1 parent 818d1f6 commit 8ff2418
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions DDG4/edm4hep/EDM4hepFileReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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<num; ++k) {
Expand Down

0 comments on commit 8ff2418

Please sign in to comment.