Skip to content
Snippets Groups Projects
Commit fd1469cd authored by Tadej Novak's avatar Tadej Novak
Browse files

Merge branch 'cherry-pick-5c99a242-21.9' into '21.9'

Sweeping !46581 from master to 21.9.
GeneratorObjectsTPCnv: Clear flow information when reading.

See merge request atlas/athena!46613
parents 3c214c2c bd3c5eaf
No related branches found
No related tags found
No related merge requests found
......@@ -245,6 +245,7 @@ McEventCollectionCnv_p2::createGenParticle( const GenParticle_p2& persPart,
// fillin' the flow
const unsigned int nFlow = persPart.m_flow.size();
p->m_flow.clear();
for ( unsigned int iFlow= 0; iFlow != nFlow; ++iFlow ) {
p->m_flow.set_icode( persPart.m_flow[iFlow].first,
persPart.m_flow[iFlow].second );
......
......@@ -277,6 +277,7 @@ McEventCollectionCnv_p3::createGenParticle( const GenParticle_p3& persPart,
// setup flow
const unsigned int nFlow = persPart.m_flow.size();
p->m_flow.clear();
for ( unsigned int iFlow= 0; iFlow != nFlow; ++iFlow ) {
p->m_flow.set_icode( persPart.m_flow[iFlow].first,
persPart.m_flow[iFlow].second );
......
......@@ -403,6 +403,7 @@ McEventCollectionCnv_p4::createGenParticle( const GenParticle_p4& persPart,
// setup flow
const unsigned int nFlow = persPart.m_flow.size();
p->m_flow.clear();
for ( unsigned int iFlow= 0; iFlow != nFlow; ++iFlow )
{
p->m_flow.set_icode( persPart.m_flow[iFlow].first,
......
File mode changed from 100644 to 100755
File mode changed from 100755 to 100644
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment