26 const PfoList *pPfoList =
nullptr;
28 PANDORA_RETURN_RESULT_IF(STATUS_CODE_SUCCESS, !=, PandoraContentApi::CreateTemporaryListAndSetCurrent(*
this, pPfoList, pfoListName));
32 const ClusterList *pClusterListU =
nullptr;
33 PANDORA_RETURN_RESULT_IF(STATUS_CODE_SUCCESS, !=, PandoraContentApi::GetList(*
this,
m_inputClusterListNameU, pClusterListU));
36 PANDORA_RETURN_RESULT_IF(STATUS_CODE_SUCCESS, !=, this->
CreatePFOs(pClusterListU));
41 const ClusterList *pClusterListV =
nullptr;
42 PANDORA_RETURN_RESULT_IF(STATUS_CODE_SUCCESS, !=, PandoraContentApi::GetList(*
this,
m_inputClusterListNameV, pClusterListV));
45 PANDORA_RETURN_RESULT_IF(STATUS_CODE_SUCCESS, !=, this->
CreatePFOs(pClusterListV));
50 const ClusterList *pClusterListW =
nullptr;
51 PANDORA_RETURN_RESULT_IF(STATUS_CODE_SUCCESS, !=, PandoraContentApi::GetList(*
this,
m_inputClusterListNameW, pClusterListW));
54 PANDORA_RETURN_RESULT_IF(STATUS_CODE_SUCCESS, !=, this->
CreatePFOs(pClusterListW));
57 if (!pPfoList->empty())
59 PANDORA_RETURN_RESULT_IF(STATUS_CODE_SUCCESS, !=, PandoraContentApi::SaveList<Pfo>(*
this,
m_outputPfoListName));
60 PANDORA_RETURN_RESULT_IF(STATUS_CODE_SUCCESS, !=, PandoraContentApi::ReplaceCurrentList<Pfo>(*
this,
m_outputPfoListName));
63 return STATUS_CODE_SUCCESS;
std::string m_inputClusterListNameW
The input cluster list name for the W view.
pandora::StatusCode CreatePFOs(const pandora::ClusterList *const pClusterList) const
Create pfos for provided clusters.
std::string m_inputClusterListNameU
The input cluster list name for the U view.
std::string m_inputClusterListNameV
The input cluster list name for the V view.
std::string m_outputPfoListName
The output pfo list name.