Skip to content
Snippets Groups Projects
Commit 5dbce9f5 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.


Former-commit-id: beaacc7c328170499a633681907c7964b32a219c
parent f30b80a4
No related branches found
No related tags found
No related merge requests found
...@@ -18,11 +18,7 @@ ...@@ -18,11 +18,7 @@
#include "AthenaPoolCnvSvc/T_AthenaPoolTPConverter.h" #include "AthenaPoolCnvSvc/T_AthenaPoolTPConverter.h"
// GeneratorObjects includes // GeneratorObjects includes
#define private public
#define protected public
#include "GeneratorObjects/HepMcParticleLink.h" #include "GeneratorObjects/HepMcParticleLink.h"
#undef private
#undef protected
// GeneratorObjectsAthenaPool includes // GeneratorObjectsAthenaPool includes
#include "GeneratorObjectsTPCnv/HepMcParticleLink_p1.h" #include "GeneratorObjectsTPCnv/HepMcParticleLink_p1.h"
......
...@@ -32,6 +32,8 @@ void HepMcParticleLinkCnv_p1::persToTrans( const HepMcParticleLink_p1* persObj, ...@@ -32,6 +32,8 @@ void HepMcParticleLinkCnv_p1::persToTrans( const HepMcParticleLink_p1* persObj,
{ {
// msg << MSG::DEBUG << "Loading HepMcParticleLink from persistent state..." // msg << MSG::DEBUG << "Loading HepMcParticleLink from persistent state..."
// << endreq; // << endreq;
if (transObj->m_ptrs.m_dict == nullptr)
transObj->init_dict();
transObj->m_extBarcode = transObj->m_extBarcode =
HepMcParticleLink::ExtendedBarCode( persObj->m_barcode, HepMcParticleLink::ExtendedBarCode( persObj->m_barcode,
persObj->m_mcEvtIndex ); persObj->m_mcEvtIndex );
......
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