Skip to content
Snippets Groups Projects
Commit 9537fad6 authored by Peter Van Gemmeren's avatar Peter Van Gemmeren Committed by Graeme Stewart
Browse files

DataHeaderCnv_p5 contains DataHeaderForm by pointer (PersistentDataModelAthenaPool-00-02-04)

	* DataHeaderCnv_p5 contain DataHeaderForm by pointer
	* tag PersistentDataModelAthenaPool-00-02-04


Former-commit-id: f8d87c65
parent 6b56da60
8 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45405updated ART test cron job,!42417Draft: DIRE and VINCIA Base Fragments for Pythia 8.3,!28528Revert 63f845ae,!27054Atr20369 210,!26342Monopole: Handle fractionally charged particles
......@@ -61,10 +61,10 @@ StatusCode DataHeaderCnv::DataObjectToPool(DataObject* pObj, const std::string&
}
m_persObjList.push_back(persObj);
this->setPlacementWithType("DataHeaderForm", tname);
const Token* dhf_token = m_athenaPoolCnvSvc->registerForWrite(m_placement, &persObj->dhForm(), m_mapClassDesc);
const Token* dhf_token = m_athenaPoolCnvSvc->registerForWrite(m_placement, persObj->dhForm(), m_mapClassDesc);
if (dhf_token == 0) {
MsgStream log(messageService(), "DataHeaderCnv");
log << MSG::FATAL << "Failed to write DataHeaderForm" << endreq;
log << MSG::FATAL << "Failed to write DataHeaderForm = " << persObj->dhForm() << endreq;
return(StatusCode::FAILURE);
}
this->setPlacementWithType("DataHeader", tname);
......@@ -139,7 +139,7 @@ DataHeader_p5* DataHeaderCnv::poolReadObject_p5() {
throw std::runtime_error("Failed to cast object for token = " + mapToken.toString());
}
}
pObj->setDhForm(*m_dhForm);
pObj->setDhForm(m_dhForm);
}
return(pObj);
}
......
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