Commit db25a529 authored by Scott Snyder's avatar Scott Snyder Committed by Graeme Stewart
Browse files

'Set the store pointer in the link, if needed. Remove #define private.'...

'Set the store pointer in the link, if needed.  Remove #define private.' (GeneratorObjectsTPCnv-00-06-11)

	* Tagging GeneratorObjectsTPCnv-00-06-11
	* src/HepMcParticleLinkCnv_p1.cxx: Set the store pointer in the
	link, if needed.
	* GeneratorObjectsTPCnv/McEventCollectionCnv_p1.h: Remove #define
	private.
parent 4158b891
......@@ -18,11 +18,7 @@
#include "AthenaPoolCnvSvc/T_AthenaPoolTPConverter.h"
// GeneratorObjects includes
#define private public
#define protected public
#include "GeneratorObjects/HepMcParticleLink.h"
#undef private
#undef protected
// GeneratorObjectsAthenaPool includes
#include "GeneratorObjectsTPCnv/HepMcParticleLink_p1.h"
......
......@@ -32,6 +32,8 @@ void HepMcParticleLinkCnv_p1::persToTrans( const HepMcParticleLink_p1* persObj,
{
// msg << MSG::DEBUG << "Loading HepMcParticleLink from persistent state..."
// << endreq;
if (transObj->m_ptrs.m_dict == nullptr)
transObj->init_dict();
transObj->m_extBarcode =
HepMcParticleLink::ExtendedBarCode( persObj->m_barcode,
persObj->m_mcEvtIndex );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment