Skip to content

Commit

Permalink
Do not set or read the colo flow for MCParticles from EDM4hep
Browse files Browse the repository at this point in the history
needed after key4hep/EDM4hep#389
  • Loading branch information
jmcarcell committed Jan 3, 2025
1 parent abb85cb commit 004f942
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions DDDigi/io/DigiIO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ namespace dd4hep {
mcp.setGeneratorStatus( p.getGeneratorStatus() );
mcp.setSimulatorStatus( p.getSimulatorStatus() );
mcp.setSpin(p.getSpin());
mcp.setColorFlow(p.getColorFlow());
}

template <> template <>
Expand Down Expand Up @@ -588,7 +587,6 @@ namespace dd4hep {
mcp.setGeneratorStatus( 0 );

mcp.setSpin(p.spin);
mcp.setColorFlow(p.colorFlow);
}

template <> template <>
Expand Down
1 change: 0 additions & 1 deletion DDG4/edm4hep/Geant4Output2EDM4hep.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 004f942

Please sign in to comment.