ListDeletionAlgorithm class.
More...
#include "ListDeletionAlgorithm.h"
|
pandora::StatusCode | Run () |
|
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
|
StatusCode lar_content::ListDeletionAlgorithm::ReadSettings |
( |
const pandora::TiXmlHandle |
xmlHandle | ) |
|
|
private |
Definition at line 61 of file ListDeletionAlgorithm.cc.
63 PANDORA_RETURN_RESULT_IF_AND_IF(
64 STATUS_CODE_SUCCESS, STATUS_CODE_NOT_FOUND, !=, XmlHelper::ReadVectorOfValues(xmlHandle,
"PfoListNames",
m_pfoListNames));
66 PANDORA_RETURN_RESULT_IF_AND_IF(
67 STATUS_CODE_SUCCESS, STATUS_CODE_NOT_FOUND, !=, XmlHelper::ReadVectorOfValues(xmlHandle,
"ClusterListNames",
m_clusterListNames));
69 PANDORA_RETURN_RESULT_IF_AND_IF(
70 STATUS_CODE_SUCCESS, STATUS_CODE_NOT_FOUND, !=, XmlHelper::ReadVectorOfValues(xmlHandle,
"VertexListNames",
m_vertexListNames));
72 return STATUS_CODE_SUCCESS;
pandora::StringVector m_vertexListNames
The list of vertex list names.
pandora::StringVector m_pfoListNames
The list of pfo list names.
pandora::StringVector m_clusterListNames
The list of cluster list names.
StatusCode lar_content::ListDeletionAlgorithm::Run |
( |
| ) |
|
|
private |
Definition at line 18 of file ListDeletionAlgorithm.cc.
22 const PfoList *pList(
nullptr);
23 PANDORA_RETURN_RESULT_IF_AND_IF(STATUS_CODE_SUCCESS, STATUS_CODE_NOT_INITIALIZED, !=, PandoraContentApi::GetList(*
this, listName, pList));
25 if (pList && !pList->empty())
27 const PfoList listCopy(*pList);
28 PANDORA_RETURN_RESULT_IF(STATUS_CODE_SUCCESS, !=, PandoraContentApi::Delete(*
this, &listCopy, listName));
34 const ClusterList *pList(
nullptr);
35 PANDORA_RETURN_RESULT_IF_AND_IF(STATUS_CODE_SUCCESS, STATUS_CODE_NOT_INITIALIZED, !=, PandoraContentApi::GetList(*
this, listName, pList));
37 if (pList && !pList->empty())
39 const ClusterList listCopy(*pList);
40 PANDORA_RETURN_RESULT_IF(STATUS_CODE_SUCCESS, !=, PandoraContentApi::Delete(*
this, &listCopy, listName));
47 PANDORA_RETURN_RESULT_IF_AND_IF(STATUS_CODE_SUCCESS, STATUS_CODE_NOT_INITIALIZED, !=, PandoraContentApi::GetList(*
this, listName, pList));
49 if (pList && !pList->empty())
52 PANDORA_RETURN_RESULT_IF(STATUS_CODE_SUCCESS, !=, PandoraContentApi::Delete(*
this, &listCopy, listName));
56 return STATUS_CODE_SUCCESS;
pandora::StringVector m_vertexListNames
The list of vertex list names.
pandora::StringVector m_pfoListNames
The list of pfo list names.
std::list< Vertex > VertexList
pandora::StringVector m_clusterListNames
The list of cluster list names.
pandora::StringVector lar_content::ListDeletionAlgorithm::m_clusterListNames |
|
private |
pandora::StringVector lar_content::ListDeletionAlgorithm::m_pfoListNames |
|
private |
pandora::StringVector lar_content::ListDeletionAlgorithm::m_vertexListNames |
|
private |
The documentation for this class was generated from the following files: