slicPandora/src
diff -u -r1.6 -r1.7
--- PfoConstructionAlgorithm.cpp 24 Nov 2010 16:44:08 -0000 1.6
+++ PfoConstructionAlgorithm.cpp 13 Aug 2014 19:02:12 -0000 1.7
@@ -10,7 +10,7 @@
{
// Algorithm code here
const ClusterList *pClusterList = NULL;
- PANDORA_RETURN_RESULT_IF(pandora::STATUS_CODE_SUCCESS, !=, PandoraContentApi::GetCurrentClusterList(*this, pClusterList));
+ PANDORA_RETURN_RESULT_IF(pandora::STATUS_CODE_SUCCESS, !=, PandoraContentApi::GetCurrentList(*this, pClusterList));
for (ClusterList::const_iterator iter = pClusterList->begin(), iterEnd = pClusterList->end(); iter != iterEnd; ++iter)
{
@@ -28,7 +28,8 @@
// Make a new pfo for every cluster.
particleFlowObjectParameters.m_clusterList.insert(pCluster);
- PANDORA_RETURN_RESULT_IF(pandora::STATUS_CODE_SUCCESS, !=, PandoraContentApi::ParticleFlowObject::Create(*this, particleFlowObjectParameters));
+ ParticleFlowObject *pParticleFlowObject(NULL);
+ PANDORA_RETURN_RESULT_IF(pandora::STATUS_CODE_SUCCESS, !=, PandoraContentApi::ParticleFlowObject::Create(*this, particleFlowObjectParameters, pParticleFlowObject));
}
return pandora::STATUS_CODE_SUCCESS;