Skip to content
Snippets Groups Projects
Commit d356c23b authored by John Chapman's avatar John Chapman
Browse files

Add basic version of HepMcParticleLinkCnv_p2::transToPers

parent 955f8e83
No related branches found
No related tags found
No related merge requests found
......@@ -37,11 +37,14 @@ void HepMcParticleLinkCnv_p2::persToTrans( const HepMcParticleLink_p2* persObj,
return;
}
void HepMcParticleLinkCnv_p2::transToPers( const HepMcParticleLink*,
HepMcParticleLink_p2*,
void HepMcParticleLinkCnv_p2::transToPers( const HepMcParticleLink* transObj,
HepMcParticleLink_p2* persObj,
MsgStream &/*msg*/ )
{
throw std::runtime_error("HepMcParticleLinkCnv_p2::transToPers is not supported in this release!");
persObj->m_mcEvtIndex = transObj->eventIndex();
persObj->m_barcode = transObj->m_extBarcode.barcode();
persObj->m_evtColl = 'a'; // hard-coded until we change the transient class implementation
return;
}
///////////////////////////////////////////////////////////////////
......
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